{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://api.redlineautohaus.com/docs/uds/schemas/source-request.json","type":"object","properties":{"kind":{"type":"string","enum":["original_log","exported_xml","exported_json","capture_file","screenshot","manual_transcription","tool_report","other"]},"external_key":{"type":"string","minLength":1,"maxLength":191},"tool_name":{"type":"string","minLength":1,"maxLength":191},"tool_version":{"type":"string","minLength":1,"maxLength":191},"filename":{"type":"string","minLength":1,"maxLength":1024},"original_path":{"type":"string","minLength":1,"maxLength":2048},"media_type":{"type":"string","minLength":1,"maxLength":191},"origin":{"type":"string","enum":["unknown","source_reported","manual_transcription","manual_interpretation","ai_transcription","ai_interpretation","deterministic_extraction","decoder","reviewer"]},"access_restrictions":{"type":"string","minLength":1,"maxLength":8192},"clock":{"type":"object","properties":{"raw":{"type":"string","minLength":1,"maxLength":256},"normalized_utc":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,6})?Z$"},"timezone":{"type":"string","minLength":1,"maxLength":128},"precision":{"type":"string","minLength":1,"maxLength":32},"clock_domain":{"type":"string","minLength":1,"maxLength":128},"conversion_method":{"type":"string","minLength":1,"maxLength":256},"relative_nanoseconds":{"type":"string","pattern":"^-?[0-9]+(?:\\.[0-9]+)?$","maxLength":80},"accuracy":{"type":"string","minLength":1,"maxLength":128}},"required":[],"additionalProperties":false},"label":{"type":"string","minLength":1,"maxLength":191},"extensions":{"type":"object","maxProperties":32,"propertyNames":{"pattern":"^[a-z][a-z0-9_.-]{0,127}$"},"additionalProperties":{"type":"object","properties":{"schema_version":{"type":"string","minLength":1,"maxLength":32},"data":{"type":"object","maxProperties":256}},"required":["schema_version","data"],"additionalProperties":false}}},"required":["kind","external_key"],"additionalProperties":false}