All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.booster.BoosterState.json Maven / Gradle / Ivy

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" 
		    ]
		}
		
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy