{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://api.redlineautohaus.com/docs/uds/schemas/vehicle_observation-request.json","type":"object","properties":{"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"}]},"vehicle_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"}]},"variant_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"}]},"make":{"type":"string","minLength":1,"maxLength":191},"model":{"type":"string","minLength":1,"maxLength":191},"chassis":{"type":"string","minLength":1,"maxLength":191},"model_year":{"type":"integer","minimum":0,"maximum":9999},"production_date":{"type":"object","properties":{"value":{"type":"string","pattern":"^\\d{4}(?:-\\d{2}(?:-\\d{2})?)?$"},"precision":{"type":"string","enum":["year","month","day"]}},"required":["value","precision"],"additionalProperties":false},"market":{"type":"string","minLength":1,"maxLength":191},"trim":{"type":"string","minLength":1,"maxLength":191},"type_code":{"type":"string","minLength":1,"maxLength":191},"components":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","minLength":1,"maxLength":64},"namespace":{"type":"string","minLength":1,"maxLength":128},"values":{"type":"object","maxProperties":64}},"required":["kind","namespace","values"],"additionalProperties":false},"maxItems":256},"observed_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},"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":["evidence_id"],"additionalProperties":false}