{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://api.redlineautohaus.com/docs/uds/schemas/operation-request.json","type":"object","properties":{"endpoint_id":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"},{"type":"null"}]},"source_label":{"type":"string","minLength":1,"maxLength":191},"semantic_code":{"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"]},"source_job_id":{"type":"string","minLength":1,"maxLength":191},"started_at":{"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},"ended_at":{"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},"evidence_id":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"},{"type":"null"}]},"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":["origin","evidence_id"],"additionalProperties":false}