snapcast/doc/json_rpc_api/stream.schema.json
2016-05-28 12:25:49 +02:00

72 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"uri": {
"type": "object",
"properties": {
"fragment": {
"type": "string"
},
"host": {
"type": "string"
},
"path": {
"type": "string"
},
"query": {
"type": "object",
"properties": {
"buffer_ms": {
"type": "string"
},
"codec": {
"type": "string"
},
"mode": {
"type": "string"
},
"name": {
"type": "string"
},
"sampleformat": {
"type": "string"
}
},
"required": [
"buffer_ms",
"codec",
"mode",
"name",
"sampleformat"
]
},
"raw": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"required": [
"fragment",
"host",
"path",
"query",
"raw",
"scheme"
]
}
},
"required": [
"id",
"status",
"uri"
]
}