Adds titles and removes uncessary properties

This commit is contained in:
Neil Dorin
2020-01-22 11:33:40 -07:00
parent ca6d2340d5
commit 6c46976cea

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"type": "object", "type": "object",
"title": "ControlPropertiesConfig", "title": "Control Properties",
"$ref": "#/definitions/ControlPropertiesConfig", "$ref": "#/definitions/ControlPropertiesConfig",
"definitions": { "definitions": {
"ControlPropertiesConfig": { "ControlPropertiesConfig": {
@@ -32,6 +32,7 @@
"comParams": { "comParams": {
"title":"Com Port parameters", "title":"Com Port parameters",
"description": "The parameters to configure the COM port", "description": "The parameters to configure the COM port",
"type":"object",
"protocol":{ "protocol":{
"title":"Protocol", "title":"Protocol",
"type":"string", "type":"string",
@@ -135,6 +136,7 @@
}, },
"controlPortNumber": { "controlPortNumber": {
"type": "integer", "type": "integer",
"title": "Port Number",
"description": "Control Port Number on the device referenced by controlPortDevKey", "description": "Control Port Number on the device referenced by controlPortDevKey",
"examples": [ "examples": [
1 1
@@ -142,6 +144,7 @@
}, },
"controlPortName": { "controlPortName": {
"type": "string", "type": "string",
"title": "Port Name",
"description": "Control Port Name on the device referenced by controlPortDevKey", "description": "Control Port Name on the device referenced by controlPortDevKey",
"examples": [ "examples": [
"hdmi1" "hdmi1"
@@ -159,7 +162,7 @@
}, },
"ipid": { "ipid": {
"type": "string", "type": "string",
"title": "IPID of the device", "title": "IPID",
"default": "", "default": "",
"examples": [ "examples": [
"13", "13",
@@ -168,30 +171,6 @@
"F1" "F1"
], ],
"pattern": "^(?!00|01|02|FF)[0-9,A-F,a-f][0-9,A-F,a-f]$" "pattern": "^(?!00|01|02|FF)[0-9,A-F,a-f][0-9,A-F,a-f]$"
},
"endOfLineChar": {
"type": "string",
"title": "End of Line Character",
"default": "",
"examples": [
"\\x0d"
]
},
"endOfLineString": {
"type": "string",
"title": "End of Line String",
"default": "",
"examples": [
"\\n"
]
},
"deviceReadyResponsePattern": {
"type": "string",
"title": "Response Pattern that indicates the device is ready to communicate",
"default": "",
"examples": [
".*>"
]
} }
}, },
"required": [ "required": [