Skip to content

Commit

Permalink
Updated input controller schema capabilities and properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jsetton committed May 5, 2019
1 parent 240eaae commit 84fe2bf
Showing 1 changed file with 77 additions and 34 deletions.
111 changes: 77 additions & 34 deletions validation_schemas/alexa_smart_home_message_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,69 @@
]
},
"input": {
"type": "string",
"minLength": 1
"enum": [
"AUX 1",
"AUX 2",
"AUX 3",
"AUX 4",
"AUX 5",
"AUX 6",
"AUX 7",
"BLURAY",
"CABLE",
"CD",
"COAX 1",
"COAX 2",
"COMPOSITE 1",
"DVD",
"GAME",
"HD RADIO",
"HDMI 1",
"HDMI 2",
"HDMI 3",
"HDMI 4",
"HDMI 5",
"HDMI 6",
"HDMI 7",
"HDMI 8",
"HDMI 9",
"HDMI 10",
"HDMI ARC",
"INPUT 1",
"INPUT 2",
"INPUT 3",
"INPUT 4",
"INPUT 5",
"INPUT 6",
"INPUT 7",
"INPUT 8",
"INPUT 9",
"INPUT 10",
"IPOD",
"LINE 1",
"LINE 2",
"LINE 3",
"LINE 4",
"LINE 5",
"LINE 6",
"LINE 7",
"MEDIA PLAYER",
"OPTICAL 1",
"OPTICAL 2",
"PHONO",
"PLAYSTATION",
"PLAYSTATION 3",
"PLAYSTATION 4",
"SATELLITE",
"SMARTCAST",
"TUNER",
"TV",
"USB DAC",
"VIDEO 1",
"VIDEO 2",
"VIDEO 3",
"XBOX"
]
},
"volume": {
"type": "integer",
Expand Down Expand Up @@ -1709,7 +1770,8 @@
"required": [
"type",
"interface",
"version"
"version",
"inputs"
],
"additionalProperties": false,
"properties": {
Expand All @@ -1726,38 +1788,19 @@
"version": {
"$ref": "#/definitions/common.properties/version"
},
"properties": {
"type": "object",
"required": [
"supported",
"proactivelyReported",
"retrievable"
],
"additionalProperties": false,
"properties": {
"supported": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"required": [
"name"
],
"additionalProperties": false,
"properties": {
"name": {
"enum": [
"input"
]
}
}
"inputs": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"required": [
"name"
],
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/common.properties/input"
}
},
"proactivelyReported": {
"type": "boolean"
},
"retrievable": {
"type": "boolean"
}
}
}
Expand Down

0 comments on commit 84fe2bf

Please sign in to comment.