add initial protocol docs and schemas
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"title": "AI Ball Call Script Schema",
|
||||
"type": "object",
|
||||
"required": ["content_id", "title", "duration_ms", "actions"],
|
||||
"properties": {
|
||||
"content_id": { "type": "string" },
|
||||
"title": { "type": "string" },
|
||||
"duration_ms": { "type": "integer" },
|
||||
"actions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["time_ms", "type", "value"],
|
||||
"properties": {
|
||||
"time_ms": { "type": "integer" },
|
||||
"type": { "type": "string" },
|
||||
"value": { "type": "string" },
|
||||
"duration_ms": { "type": "integer" },
|
||||
"intensity": { "type": "number" },
|
||||
"silent_alt": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"title": "AI Ball Resource Pack Schema",
|
||||
"type": "object",
|
||||
"required": ["pack_id", "version", "resources"],
|
||||
"properties": {
|
||||
"pack_id": { "type": "string" },
|
||||
"version": { "type": "string" },
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "type", "path"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"type": { "type": "string" },
|
||||
"path": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user