schema.booster.BoosterState.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-api Show documentation
Show all versions of bidibwizard-api Show documentation
jBiDiB BiDiB Wizard API POM
The newest version!
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A BoosterState following the convention of http://microformats.org/wiki/hcard",
"type": "object",
"extends" : {
"$ref" : "../NodeAwareState.json"
},
"properties": {
"booster": { "$ref": "BoosterState.json#/definitions/boosterStateType" },
"dcc": { "$ref": "#/definitions/commandStationStateType" },
"watchdog": { "$ref": "#/definitions/watchdogStateType" }
},
"required": ["connectionId", "node"],
"definitions": {
"boosterStateType": {
"description": "The state of the booster in the bidib system.",
"type": "string",
"enum": [
"OFF", "OFF_SHORT", "OFF_HOT", "OFF_NOPOWER", "OFF_GO_REQ", "OFF_HERE", "OFF_NO_DCC",
"ON", "ON_LIMIT", "ON_HOT", "ON_STOP_REQ", "ON_HERE"
]
},
"commandStationStateType": {
"description": "The state of the commandStation in the bidib system.",
"type": "string",
"enum": [
"OFF", "STOP", "SOFTSTOP", "GO", "PROG", "PROGBUSY", "BUSY", "QUERY", "GO_IGN_WD"
]
},
"watchdogStateType": {
"description": "The state of the watchdog in the bidib system.",
"type": "string",
"enum": [
"OFF", "ON"
]
}
}
}