schema.switching.AbstractConfigPort.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"abstractConfigPort": {
"description": "A Port following the convention of http://microformats.org/wiki/hcard",
"type": "object",
"extends": {
"$ref": "../common/AbstractPort.json#/definitions/abstractPort"
},
"properties": {
"pcfg": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/definitions/pcfgType"
}
}
}
},
"pcfgKeyType": {
"description": "A pcfg type following the convention of http://microformats.org/wiki/hcard",
"type": "string",
"enum": [
"LevelPortOn",
"LevelPortOff",
"DimmUp",
"DimmDown",
"OutputMap",
"ServoAdjL",
"ServoAdjH",
"ServoSpeed",
"Ticks",
"SwitchCtrl",
"InputCtrl",
"DimmUp_8_8",
"DimmDown_8_8",
"Rgb",
"Reconfig",
"LoadType",
"TransitionTime"
],
"javaEnums": [
{
"name": "LEVEL_PORT_ON"
}, {
"name": "LEVEL_PORT_OFF"
}, {
"name": "DIMM_UP"
}, {
"name": "DIMM_DOWN"
}, {
"name": "OUTPUT_MAP"
}, {
"name": "SERVO_ADJ_L"
}, {
"name": "SERVO_ADJ_H"
}, {
"name": "SERVO_SPEED"
}, {
"name": "TICKS"
}, {
"name": "SWITCH_CTRL"
}, {
"name": "INPUT_CTRL"
}, {
"name": "DIMM_UP_8_8"
}, {
"name": "DIMM_DOWN_8_8"
}, {
"name": "RGB"
}, {
"name": "RECONFIG"
}, {
"name": "LOAD_TYPE"
}, {
"name": "TRANSITION_TIME"
}
]
},
"pcfgType": {
"description": "A pcfg type following the convention of http://microformats.org/wiki/hcard",
"type": "object",
"additionalProperties": false,
"properties": {
"key": {
"$ref": "#/definitions/pcfgKeyType"
},
"value": {
"type": "integer"
}
}
}
}
}