{ "$defs": { "Coverage": { "additionalProperties": false, "properties": { "name": { "const": "Measurement coverage", "default": "Measurement coverage", "title": "Name", "type": "string" }, "basis": { "const": "available_requested_measurements", "default": "available_requested_measurements", "title": "Basis", "type": "string" }, "definition_version": { "const": "objective-details-v1", "default": "objective-details-v1", "title": "Definition Version", "type": "string" }, "value": { "anyOf": [ { "maximum": 100, "minimum": 0, "type": "integer" }, { "type": "null" } ], "title": "Value" }, "unit": { "const": "%", "default": "%", "title": "Unit", "type": "string" }, "available_count": { "minimum": 0, "title": "Available Count", "type": "integer" }, "applicable_count": { "minimum": 0, "title": "Applicable Count", "type": "integer" }, "requested_count": { "minimum": 0, "title": "Requested Count", "type": "integer" }, "not_applicable_count": { "minimum": 0, "title": "Not Applicable Count", "type": "integer" }, "unavailable_count": { "minimum": 0, "title": "Unavailable Count", "type": "integer" }, "explanation": { "title": "Explanation", "type": "string" }, "meaning": { "default": "Measurement availability only. This does not rate the swing or establish measurement accuracy.", "title": "Meaning", "type": "string" } }, "required": [ "value", "available_count", "applicable_count", "requested_count", "not_applicable_count", "unavailable_count", "explanation" ], "title": "Coverage", "type": "object" }, "Detail": { "additionalProperties": false, "properties": { "key": { "title": "Key", "type": "string" }, "label": { "title": "Label", "type": "string" }, "value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Value" }, "unit": { "title": "Unit", "type": "string" }, "status": { "enum": [ "estimated", "unavailable", "not_applicable" ], "title": "Status", "type": "string" }, "display": { "title": "Display", "type": "string" }, "explanation": { "title": "Explanation", "type": "string" }, "basis": { "title": "Basis", "type": "string" }, "method": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Method" }, "evidence_frame_ids": { "items": { "type": "integer" }, "title": "Evidence Frame Ids", "type": "array" }, "interval": { "anyOf": [ { "items": { "type": "number" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Interval" }, "interval_kind": { "default": "unknown", "title": "Interval Kind", "type": "string" }, "accuracy_validated": { "const": false, "default": false, "title": "Accuracy Validated", "type": "boolean" }, "judgment_eligible": { "const": false, "default": false, "title": "Judgment Eligible", "type": "boolean" }, "reason_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Reason Code" } }, "required": [ "key", "label", "value", "unit", "status", "display", "explanation", "basis", "method", "evidence_frame_ids" ], "title": "Detail", "type": "object" }, "Moment": { "additionalProperties": false, "properties": { "key": { "title": "Key", "type": "string" }, "label": { "title": "Label", "type": "string" }, "frame": { "title": "Frame", "type": "integer" }, "capture_time_s": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Capture Time S" }, "playback_time_s": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Playback Time S" }, "clip_playback_time_s": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Clip Playback Time S" }, "method": { "title": "Method", "type": "string" }, "is_contact_proxy": { "title": "Is Contact Proxy", "type": "boolean" }, "accuracy_validated": { "const": false, "default": false, "title": "Accuracy Validated", "type": "boolean" } }, "required": [ "key", "label", "frame", "capture_time_s", "playback_time_s", "clip_playback_time_s", "method", "is_contact_proxy" ], "title": "Moment", "type": "object" }, "RepDetails": { "additionalProperties": false, "properties": { "rep": { "minimum": 1, "title": "Rep", "type": "integer" }, "coverage": { "$ref": "#/$defs/Coverage" }, "features": { "items": { "$ref": "#/$defs/Section" }, "title": "Features", "type": "array" }, "moments": { "items": { "$ref": "#/$defs/Moment" }, "title": "Moments", "type": "array" }, "references": { "items": { "$ref": "#/$defs/Detail" }, "title": "References", "type": "array" } }, "required": [ "rep", "coverage", "features", "moments", "references" ], "title": "RepDetails", "type": "object" }, "Section": { "additionalProperties": false, "properties": { "key": { "enum": [ "load_timing", "hip_shoulder_separation", "bat_path_contact" ], "title": "Key", "type": "string" }, "label": { "title": "Label", "type": "string" }, "measurements": { "items": { "$ref": "#/$defs/Detail" }, "title": "Measurements", "type": "array" } }, "required": [ "key", "label", "measurements" ], "title": "Section", "type": "object" } }, "additionalProperties": false, "properties": { "schema_version": { "const": "1.0", "default": "1.0", "title": "Schema Version", "type": "string" }, "calculation_version": { "const": "objective-details-v1", "default": "objective-details-v1", "title": "Calculation Version", "type": "string" }, "source": { "const": "engine_measurements", "default": "engine_measurements", "title": "Source", "type": "string" }, "coverage": { "$ref": "#/$defs/Coverage" }, "median_capture_frame_interval_ms": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Median Capture Frame Interval Ms" }, "reps": { "items": { "$ref": "#/$defs/RepDetails" }, "title": "Reps", "type": "array" }, "notice": { "default": "Numbers come from engine measurements and recorded timestamps. Event and model accuracy remain unvalidated. Frame sensitivity is not an accuracy guarantee.", "title": "Notice", "type": "string" } }, "required": [ "coverage", "median_capture_frame_interval_ms", "reps" ], "title": "ObjectiveFeedback", "type": "object" }