flymotion / plan.schema.json
Tromset's picture
Publish FlyMotion from GitHub
4a96f23 verified
Raw History Blame Contribute Delete
1.26 kB
{
"type": "object",
"properties": {
"safe": {
"type": "boolean"
},
"steps": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"kick_left",
"kick_right",
"roulade",
"ground_pick",
"sit_toggle",
"polite-bow"
]
}
},
"required": [
"action"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"walk",
"turn",
"circle",
"look",
"wait",
"stop"
]
},
"direction": {
"type": "string",
"enum": [
"forward",
"backward",
"left",
"right",
"ahead",
"up",
"down",
"up-left",
"up-right",
"down-left",
"down-right"
]
},
"value": {
"type": "number"
}
},
"required": [
"action"
]
}
]
}
},
"repeat": {
"type": "integer"
}
},
"required": [
"safe",
"steps",
"repeat"
]
}