{ "$defs": { "Clip": { "additionalProperties": false, "properties": { "status": { "enum": [ "available", "unavailable" ], "title": "Status", "type": "string" }, "reason_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Reason Code" }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Url" }, "content_type": { "const": "video/mp4", "default": "video/mp4", "title": "Content Type", "type": "string" }, "duration_s": { "anyOf": [ { "exclusiveMinimum": 0, "type": "number" }, { "type": "null" } ], "default": null, "title": "Duration S" }, "frame_count": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": null, "title": "Frame Count" }, "width": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": null, "title": "Width" }, "height": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": null, "title": "Height" }, "has_audio": { "const": false, "default": false, "title": "Has Audio", "type": "boolean" }, "overlay": { "default": false, "title": "Overlay", "type": "boolean" }, "size_bytes": { "anyOf": [ { "exclusiveMinimum": 0, "type": "integer" }, { "type": "null" } ], "default": null, "title": "Size Bytes" }, "sha256": { "anyOf": [ { "pattern": "^[a-f0-9]{64}$", "type": "string" }, { "type": "null" } ], "default": null, "title": "Sha256" } }, "required": [ "status" ], "title": "Clip", "type": "object" }, "Swing": { "additionalProperties": false, "properties": { "rep": { "minimum": 1, "title": "Rep", "type": "integer" }, "start_frame": { "minimum": 0, "title": "Start Frame", "type": "integer" }, "end_frame": { "minimum": 0, "title": "End Frame", "type": "integer" }, "boundary_method": { "title": "Boundary Method", "type": "string" }, "boundary_accuracy_validated": { "const": false, "default": false, "title": "Boundary Accuracy Validated", "type": "boolean" }, "source_start_playback_s": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Source Start Playback S" }, "source_end_playback_s": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Source End Playback S" }, "clip": { "$ref": "#/$defs/Clip" } }, "required": [ "rep", "start_frame", "end_frame", "boundary_method", "source_start_playback_s", "source_end_playback_s", "clip" ], "title": "Swing", "type": "object" } }, "additionalProperties": false, "properties": { "schema_version": { "const": "1.0", "default": "1.0", "title": "Schema Version", "type": "string" }, "session_id": { "title": "Session Id", "type": "string" }, "swings": { "items": { "$ref": "#/$defs/Swing" }, "maxItems": 100, "title": "Swings", "type": "array" }, "notice": { "default": "Swing boundaries are detection candidates or supplied ranges, not validated labels. Clips preserve recorded playback timing, are upright, resized to at most 1280 pixels on the longest side, and have no audio. New clips include the Colab body/foot overlay and estimated event labels; a body contact proxy is not confirmed ball contact.", "title": "Notice", "type": "string" } }, "required": [ "session_id", "swings" ], "title": "SwingsManifest", "type": "object" }