{"openapi":"3.1.0","info":{"title":"Hyran Data API","version":"1.0","description":"Tenant-scoped entity graph, historical BOM yields, governed exports, and MCP data for Hyran customers. Bearer credentials are organization-bound and scope-limited. Collection reads use opaque cursor pagination. Each token is limited to 600 requests per minute and responses publish request correlation and rate-limit headers."},"externalDocs":{"description":"Hyran Data developer documentation","url":"https://docs.data.hyran.co"},"servers":[{"url":"https://api.data.hyran.co"}],"tags":[{"name":"Entity graph","description":"Discover and traverse governed Data entities."},{"name":"BOM history","description":"Read immutable BOM snapshots and yield history."},{"name":"Connected data","description":"Read governed facts shared across an active Hyran Network connection."},{"name":"Exports","description":"Create and download governed asynchronous extracts."},{"name":"MCP","description":"Call the bounded Model Context Protocol surface."},{"name":"Service","description":"Inspect the contract and service health."}],"paths":{"/v1/entity-types":{"get":{"operationId":"listEntityTypes","summary":"List entity types","tags":["Entity graph"],"x-required-scope":"graph:read","security":[{"dataToken":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityTypePage"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/entities":{"get":{"operationId":"searchEntities","summary":"Search entities","tags":["Entity graph"],"x-required-scope":"graph:read","security":[{"dataToken":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"description":"Opaque cursor returned by links.next.","schema":{"type":"string","maxLength":2048}},{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"type","in":"query","required":false,"description":"Allowlisted entity type.","schema":{"type":"string","enum":["style","sku","material","supplier","bom_publication"]}},{"name":"q","in":"query","required":false,"description":"Label search.","schema":{"type":"string","minLength":1,"maxLength":500}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityPage"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/entities/{entityId}":{"get":{"operationId":"getEntity","summary":"Get an entity","tags":["Entity graph"],"x-required-scope":"graph:read","security":[{"dataToken":[]}],"parameters":[{"name":"entityId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/entities/{entityId}/relationships":{"get":{"operationId":"listEntityRelationships","summary":"Traverse entity relationships","tags":["Entity graph"],"x-required-scope":"graph:read","security":[{"dataToken":[]}],"parameters":[{"name":"entityId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor returned by links.next.","schema":{"type":"string","maxLength":2048}},{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipPage"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/bom/snapshots":{"get":{"operationId":"listBomSnapshots","summary":"List completed BOM snapshots","tags":["BOM history"],"x-required-scope":"bom:read","security":[{"dataToken":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"description":"Opaque cursor returned by links.next.","schema":{"type":"string","maxLength":2048}},{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BomSnapshotPage"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/bom/yields":{"get":{"operationId":"listBomYields","summary":"List BOM yields","tags":["BOM history"],"x-required-scope":"bom:read","security":[{"dataToken":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"description":"Opaque cursor returned by links.next.","schema":{"type":"string","maxLength":2048}},{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"snapshotId","in":"query","required":false,"description":"Completed snapshot ULID.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BomYieldPage"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/bom/yield-changes":{"get":{"operationId":"listBomYieldChanges","summary":"Compare BOM yield snapshots","tags":["BOM history"],"x-required-scope":"bom:read","security":[{"dataToken":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"description":"Opaque cursor returned by links.next.","schema":{"type":"string","maxLength":2048}},{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"from","in":"query","required":false,"description":"Select the latest completed snapshot at or before this date.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"Select the latest completed snapshot at or before this date.","schema":{"type":"string","format":"date"}},{"name":"fromSnapshotId","in":"query","required":false,"description":"Explicit prior snapshot ULID.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}},{"name":"toSnapshotId","in":"query","required":false,"description":"Explicit current snapshot ULID.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}},{"name":"sku","in":"query","required":false,"description":"Exact SKU filter.","schema":{"type":"string","maxLength":255}},{"name":"style","in":"query","required":false,"description":"Exact style filter.","schema":{"type":"string","maxLength":255}},{"name":"mpn","in":"query","required":false,"description":"Exact MPN filter.","schema":{"type":"string","maxLength":255}},{"name":"supplier","in":"query","required":false,"description":"Exact supplier filter.","schema":{"type":"string","maxLength":500}},{"name":"changeType","in":"query","required":false,"description":"Allowlisted change classification.","schema":{"type":"string","enum":["added","removed","changed","unchanged"]}},{"name":"includeUnchanged","in":"query","required":false,"description":"Include unchanged rows.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BomYieldChangePage"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/material-factory-position":{"get":{"operationId":"getMaterialFactoryPosition","summary":"Get a connected material and factory position","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"parameters":[{"name":"connectionId","in":"query","required":true,"description":"Active connection reference.","schema":{"type":"string","format":"uuid"}},{"name":"materialRef","in":"query","required":true,"description":"Material business reference.","schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"factoryRef","in":"query","required":true,"description":"Factory business reference.","schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"asOf","in":"query","required":false,"description":"Optional historical point in time.","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialFactoryPositionResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/datasets":{"get":{"operationId":"listHyranDatasets","summary":"List available connected datasets","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyranDatasetsResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connected-records/{kind}/{ref}":{"get":{"operationId":"getConnectedRecord","summary":"Get a connected material or factory","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","enum":["material","factory"]}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"connection","in":"query","required":true,"description":"Verified active connection reference.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyranRecordResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/freshness":{"get":{"operationId":"getHyranDataFreshness","summary":"Check connected data freshness","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyranDataFreshnessResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connected-records/search":{"get":{"operationId":"searchConnectedRecords","summary":"Find connected materials and factories","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"parameters":[{"name":"query","in":"query","required":true,"description":"Customer name or business reference.","schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"kind","in":"query","required":false,"description":"Optional record type to find.","schema":{"type":"string","enum":["material","factory"]}},{"name":"limit","in":"query","required":false,"description":"Maximum matching records.","schema":{"type":"integer","minimum":1,"maximum":20,"default":10}},{"name":"cursor","in":"query","required":false,"description":"Opaque continuation cursor returned by the previous page.","schema":{"type":"string","maxLength":4096}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectedRecordSearchResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/sources/inspect":{"get":{"operationId":"inspectHyranSource","summary":"Explain a signed Hyran source reference","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"parameters":[{"name":"sourceRef","in":"query","required":true,"description":"Signed source reference returned by Hyran Data.","schema":{"type":"string","minLength":1,"maxLength":4096}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyranSourceResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/material-position-exceptions":{"get":{"operationId":"listMaterialPositionExceptions","summary":"List shared material positions needing attention","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"parameters":[{"name":"connectionRef","in":"query","required":false,"description":"Connection reference.","schema":{"type":"string","format":"uuid"}},{"name":"materialRef","in":"query","required":false,"description":"Material reference.","schema":{"type":"string","maxLength":500}},{"name":"factoryRef","in":"query","required":false,"description":"Factory reference.","schema":{"type":"string","maxLength":500}},{"name":"asOf","in":"query","required":false,"description":"Historical point in time.","schema":{"type":"string","format":"date-time"}},{"name":"exceptionCodes","in":"query","required":false,"description":"Optional exception codes to include.","schema":{"type":"array","items":{"type":"string","enum":["missing_brand_commitment","missing_factory_position","uncovered_commitment","commitment_disagreement","partial_source","source_reported_exception"]},"maxItems":20}},{"name":"limit","in":"query","required":false,"description":"Maximum positions.","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque continuation cursor.","schema":{"type":"string","maxLength":4096}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialPositionAttentionResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/material-position-comparisons":{"post":{"operationId":"compareMaterialPositions","summary":"Compare two completed material positions","tags":["Connected data"],"x-required-scope":"materials:read","security":[{"dataToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialPositionComparisonInput"}}}},"responses":{"200":{"description":"Material position comparison","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialPositionComparisonResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/exports":{"post":{"operationId":"createExport","summary":"Create an asynchronous CSV export","tags":["Exports"],"x-required-scope":"exports:create","security":[{"dataToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExport"}}}},"responses":{"202":{"description":"Export accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportJobResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/exports/{exportId}":{"get":{"operationId":"getExport","summary":"Get export status","tags":["Exports"],"x-required-scope":"exports:create","security":[{"dataToken":[]}],"parameters":[{"name":"exportId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportJobResponse"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/exports/{exportId}/download":{"get":{"operationId":"downloadExport","summary":"Download a completed export during its short-lived access window","tags":["Exports"],"x-required-scope":"exports:create","security":[{"dataToken":[]}],"parameters":[{"name":"exportId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"CSV export","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"text/csv":{"schema":{"type":"string"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/mcp":{"post":{"operationId":"mcp","summary":"Call bounded MCP tools over stateless Streamable HTTP","tags":["MCP"],"x-required-scope":"mcp:read","x-mcp-profile-contract":{"selection":"verified-credential-and-approved-client","discovery":"authenticated-tools-list","capabilityContract":"one-name-description-input-schema-output-schema-per-tool","profileRule":"profiles-narrow-capabilities-and-never-redefine-them"},"security":[{"dataToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpJsonRpcRequest"},"examples":{"initialize":{"summary":"Negotiate the MCP protocol","value":{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"example-client","version":"1.0.0"}}}},"listApprovedTools":{"summary":"Discover the authenticated client's profile","value":{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}},"callApprovedTool":{"summary":"Call a tool returned by tools/list","value":{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"list_hyran_datasets","arguments":{}}}}}}}},"responses":{"200":{"description":"MCP JSON-RPC response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpJsonRpcResponse"},"examples":{"approvedTools":{"summary":"A profile-filtered tools/list response","value":{"jsonrpc":"2.0","id":2,"result":{"tools":[{"name":"list_hyran_datasets","description":"List connected datasets available to this organization.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object"}}]}}}}}}},"202":{"description":"MCP notification accepted without a JSON-RPC response body","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenApi","summary":"Get the OpenAPI 3.1 document","tags":["Service"],"security":[],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenApiDocument"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/health/live":{"get":{"operationId":"getLiveness","summary":"Check process liveness","tags":["Service"],"security":[],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liveness"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/health/ready":{"get":{"operationId":"getReadiness","summary":"Check process and database readiness","tags":["Service"],"security":[],"responses":{"200":{"description":"Successful response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Readiness"}}}},"400":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"WWW-Authenticate":{"$ref":"#/components/headers/WwwAuthenticate"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem response","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"X-Hyran-Data-Region":{"$ref":"#/components/headers/DataRegion"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimitPolicy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}},"components":{"headers":{"RequestId":{"description":"UUID used to correlate support, logs, traces, audit records, and problems.","schema":{"type":"string","format":"uuid"}},"DataRegion":{"description":"Regional cell that served the tenant-bound request.","schema":{"type":"string","enum":["us1","eu1","ap1","local"]}},"RateLimit":{"description":"Current quota using the active IETF HTTPAPI structured field draft. Legacy split headers are also returned during V1.","schema":{"type":"string","example":"\"per-token\";r=599;t=42"}},"RateLimitPolicy":{"description":"Per-token quota policy using the active IETF HTTPAPI structured field draft.","schema":{"type":"string","example":"\"per-token\";q=600;w=60"}},"RateLimitLimit":{"description":"Maximum requests allowed for this token in the current minute window.","schema":{"type":"integer","minimum":1}},"RateLimitRemaining":{"description":"Requests remaining for this token in the current minute window.","schema":{"type":"integer","minimum":0}},"RateLimitReset":{"description":"Seconds until the current rate-limit window resets.","schema":{"type":"integer","minimum":0}},"RetryAfter":{"description":"Seconds to wait before retrying a rate-limited request.","schema":{"type":"integer","minimum":1}},"WwwAuthenticate":{"description":"Bearer authentication challenge for a missing or invalid credential.","schema":{"type":"string","example":"Bearer realm=\"hyran-data\", error=\"invalid_token\""}}},"securitySchemes":{"dataToken":{"type":"http","scheme":"bearer","bearerFormat":"hyran_data token"}},"schemas":{"McpJsonRpcRequest":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"oneOf":[{"type":"integer"},{"type":"string"}]},"method":{"type":"string","enum":["initialize","notifications/initialized","tools/list","tools/call","ping"]},"params":{"type":"object","additionalProperties":true}},"additionalProperties":false},"McpJsonRpcResponse":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"oneOf":[{"type":"integer"},{"type":"string"}]},"result":{"type":"object","additionalProperties":true},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{}},"additionalProperties":false}},"oneOf":[{"required":["result"]},{"required":["error"]}],"additionalProperties":false},"EntityType":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["style","sku","material","supplier","bom_publication"]},"Entity":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"entityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["style","sku","material","supplier","bom_publication"]},"label":{"type":"string","minLength":1,"maxLength":500},"attributes":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"externalReferences":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string","enum":["hyran-brand","hyran-factory","erp","plm","other"]},"namespace":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","minLength":1,"maxLength":500}},"required":["system","namespace","value"],"additionalProperties":false}},"firstSeenAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastSeenAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["entityId","type","label","attributes","externalReferences","firstSeenAt","lastSeenAt"],"additionalProperties":false},"Relationship":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"relationshipId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["style_has_sku","sku_uses_material","material_supplied_by","publication_contains_sku"]},"fromEntityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"toEntityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"attributes":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"validFrom":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validTo":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourcePublicationId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"required":["relationshipId","type","fromEntityId","toEntityId","attributes","validFrom","validTo","sourcePublicationId"],"additionalProperties":false},"BomSnapshot":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"snapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"sourcePublicationId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"source":{"type":"string","enum":["hyran-brand","bootstrap"]},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"affectedSkuCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"rowCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["snapshotId","sourcePublicationId","source","occurredAt","completedAt","affectedSkuCount","rowCount"],"additionalProperties":false},"BomYield":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sku":{"type":"string","minLength":1,"maxLength":255},"style":{"type":"string","minLength":1,"maxLength":255},"mpn":{"type":"string","minLength":1,"maxLength":255},"materialColor":{"type":"string","maxLength":255},"location":{"type":"string","minLength":1,"maxLength":255},"supplier":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"uom":{"type":"string","minLength":1,"maxLength":32},"yield":{"type":"number","minimum":0}},"required":["sku","style","mpn","materialColor","location","supplier","uom","yield"],"additionalProperties":false},"BomYieldChange":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sku":{"type":"string","minLength":1,"maxLength":255},"style":{"type":"string","minLength":1,"maxLength":255},"mpn":{"type":"string","minLength":1,"maxLength":255},"materialColor":{"type":"string","maxLength":255},"location":{"type":"string","minLength":1,"maxLength":255},"supplier":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"uom":{"type":"string","minLength":1,"maxLength":32},"priorYield":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"currentYield":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"absoluteDelta":{"anyOf":[{"type":"number"},{"type":"null"}]},"percentageDelta":{"anyOf":[{"type":"number"},{"type":"null"}]},"changeType":{"type":"string","enum":["added","removed","changed","unchanged"]},"fromSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"toSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"fromOccurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"toOccurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["sku","style","mpn","materialColor","location","supplier","uom","priorYield","currentYield","absoluteDelta","percentageDelta","changeType","fromSnapshotId","toSnapshotId","fromOccurredAt","toOccurredAt"],"additionalProperties":false},"PaginationQuery":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"type":"string","minLength":1,"maxLength":2048},"limit":{"default":100,"type":"integer","minimum":1,"maximum":1000}},"required":["limit"],"additionalProperties":false},"BomYieldChangesQuery":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"type":"string","minLength":1,"maxLength":2048},"limit":{"default":100,"type":"integer","minimum":1,"maximum":1000},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"fromSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"toSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"sku":{"type":"string","minLength":1,"maxLength":255},"style":{"type":"string","minLength":1,"maxLength":255},"mpn":{"type":"string","minLength":1,"maxLength":255},"supplier":{"type":"string","minLength":1,"maxLength":500},"changeType":{"type":"string","enum":["added","removed","changed","unchanged"]},"includeUnchanged":{"default":false,"type":"boolean"}},"required":["limit","includeUnchanged"],"additionalProperties":false},"CreateExport":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"format":{"type":"string","enum":["csv"]},"resource":{"type":"string","const":"bom_yield_changes"},"query":{"type":"object","properties":{"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"fromSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"toSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"sku":{"type":"string","minLength":1,"maxLength":255},"style":{"type":"string","minLength":1,"maxLength":255},"mpn":{"type":"string","minLength":1,"maxLength":255},"supplier":{"type":"string","minLength":1,"maxLength":500},"changeType":{"type":"string","enum":["added","removed","changed","unchanged"]},"includeUnchanged":{"default":false,"type":"boolean"}},"required":["includeUnchanged"],"additionalProperties":false}},"required":["format","resource","query"],"additionalProperties":false},"ExportJob":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"exportId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","running","completed","failed"]},"format":{"type":"string","enum":["csv"]},"resource":{"type":"string","const":"bom_yield_changes"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"downloadUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["exportId","status","format","resource","createdAt","completedAt","downloadUrl","expiresAt"],"additionalProperties":false},"Problem":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","minimum":400,"maximum":599},"detail":{"type":"string"},"code":{"type":"string"},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"correlationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"retryable":{"type":"boolean"},"recovery":{"type":"string"},"retryAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"resetAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["type","title","status","detail","code","requestId","correlationId","retryable","recovery"],"additionalProperties":false},"EntityTypePage":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"array","items":{"type":"string","enum":["style","sku","material","supplier","bom_publication"]}},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"EntityPage":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["style","sku","material","supplier","bom_publication"]},"label":{"type":"string","minLength":1,"maxLength":500},"attributes":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"externalReferences":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string","enum":["hyran-brand","hyran-factory","erp","plm","other"]},"namespace":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","minLength":1,"maxLength":500}},"required":["system","namespace","value"],"additionalProperties":false}},"firstSeenAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastSeenAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["entityId","type","label","attributes","externalReferences","firstSeenAt","lastSeenAt"],"additionalProperties":false}},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false},"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["next"],"additionalProperties":false}},"required":["data","meta","links"],"additionalProperties":false},"EntityResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["style","sku","material","supplier","bom_publication"]},"label":{"type":"string","minLength":1,"maxLength":500},"attributes":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"externalReferences":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string","enum":["hyran-brand","hyran-factory","erp","plm","other"]},"namespace":{"type":"string","minLength":1,"maxLength":100},"value":{"type":"string","minLength":1,"maxLength":500}},"required":["system","namespace","value"],"additionalProperties":false}},"firstSeenAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastSeenAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["entityId","type","label","attributes","externalReferences","firstSeenAt","lastSeenAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"RelationshipPage":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"relationshipId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["style_has_sku","sku_uses_material","material_supplied_by","publication_contains_sku"]},"fromEntityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"toEntityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"attributes":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"validFrom":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validTo":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourcePublicationId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"required":["relationshipId","type","fromEntityId","toEntityId","attributes","validFrom","validTo","sourcePublicationId"],"additionalProperties":false}},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false},"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["next"],"additionalProperties":false}},"required":["data","meta","links"],"additionalProperties":false},"BomSnapshotPage":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"snapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"sourcePublicationId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"source":{"type":"string","enum":["hyran-brand","bootstrap"]},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"affectedSkuCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"rowCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["snapshotId","sourcePublicationId","source","occurredAt","completedAt","affectedSkuCount","rowCount"],"additionalProperties":false}},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false},"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["next"],"additionalProperties":false}},"required":["data","meta","links"],"additionalProperties":false},"BomYieldPage":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string","minLength":1,"maxLength":255},"style":{"type":"string","minLength":1,"maxLength":255},"mpn":{"type":"string","minLength":1,"maxLength":255},"materialColor":{"type":"string","maxLength":255},"location":{"type":"string","minLength":1,"maxLength":255},"supplier":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"uom":{"type":"string","minLength":1,"maxLength":32},"yield":{"type":"number","minimum":0}},"required":["sku","style","mpn","materialColor","location","supplier","uom","yield"],"additionalProperties":false}},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false},"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["next"],"additionalProperties":false}},"required":["data","meta","links"],"additionalProperties":false},"BomYieldChangePage":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string","minLength":1,"maxLength":255},"style":{"type":"string","minLength":1,"maxLength":255},"mpn":{"type":"string","minLength":1,"maxLength":255},"materialColor":{"type":"string","maxLength":255},"location":{"type":"string","minLength":1,"maxLength":255},"supplier":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"uom":{"type":"string","minLength":1,"maxLength":32},"priorYield":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"currentYield":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"absoluteDelta":{"anyOf":[{"type":"number"},{"type":"null"}]},"percentageDelta":{"anyOf":[{"type":"number"},{"type":"null"}]},"changeType":{"type":"string","enum":["added","removed","changed","unchanged"]},"fromSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"toSnapshotId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"fromOccurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"toOccurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["sku","style","mpn","materialColor","location","supplier","uom","priorYield","currentYield","absoluteDelta","percentageDelta","changeType","fromSnapshotId","toSnapshotId","fromOccurredAt","toOccurredAt"],"additionalProperties":false}},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false},"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["next"],"additionalProperties":false}},"required":["data","meta","links"],"additionalProperties":false},"ExportJobResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"exportId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","running","completed","failed"]},"format":{"type":"string","enum":["csv"]},"resource":{"type":"string","const":"bom_yield_changes"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"downloadUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["exportId","status","format","resource","createdAt","completedAt","downloadUrl","expiresAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"MaterialFactoryPositionResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"material":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"factory":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"groups":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"uom":{"type":"string","minLength":1,"maxLength":32},"reportedOnHand":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"reportedInProduction":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"allocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"unallocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"brandCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"factoryCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"calculatedDemand":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"plannerIntent":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumption":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumptionAt":{"default":null,"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["uom","reportedOnHand","reportedInProduction","allocated","unallocated","brandCommitment","factoryCommitment","calculatedDemand","plannerIntent","expectedConsumption","expectedConsumptionAt"],"additionalProperties":false}}},"required":["material","factory","connectionRef","groups"],"additionalProperties":false},"calculatedValues":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":500},"value":{"type":"number"},"uom":{"type":"string","minLength":1,"maxLength":32},"definition":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","label","value","uom","definition"],"additionalProperties":false}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000},"uom":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]}},"required":["code","message","uom"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"sourceDetails":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["hyran-brand","hyran-factory"]},"sourceRef":{"type":"string","minLength":1,"maxLength":4096}},"required":["source","sourceRef"],"additionalProperties":false}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRef","asOf","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sourceUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"material_factory_position"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"ConnectedRecordSearchResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"records":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["material","factory"]},"ref":{"type":"string","minLength":1,"maxLength":500},"label":{"type":"string","minLength":1,"maxLength":500},"connectionRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"connectionLabel":{"type":"string","minLength":1,"maxLength":500},"sourceRefs":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"sourceRefsTruncated":{"type":"boolean"}},"required":["kind","ref","label","connectionRef"],"additionalProperties":false}}},"required":["records"],"additionalProperties":false},"calculatedValues":{"maxItems":0,"type":"array","items":{"not":{}}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","message"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"maxItems":100,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"connectionRefs":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRefs","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"hyran_record_search"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"HyranDatasetsResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"datasets":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":1000},"latestPublishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"coverage":{"type":"string","enum":["available","awaiting_first_publication"]},"supportsAsOf":{"type":"boolean"},"requiredIdentifiers":{"maxItems":3,"type":"array","items":{"type":"string","enum":["connectionRef","materialRef","factoryRef"]}}},"required":["name","label","description","latestPublishedAt","sourceProducts","coverage","supportsAsOf","requiredIdentifiers"],"additionalProperties":false}}},"required":["datasets"],"additionalProperties":false},"calculatedValues":{"maxItems":0,"type":"array","items":{"not":{}}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","message"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"maxItems":100,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"connectionRefs":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRefs","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"hyran_datasets"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"HyranRecordResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"record":{"type":"object","properties":{"kind":{"type":"string","enum":["material","factory"]},"ref":{"type":"string","minLength":1,"maxLength":500},"label":{"type":"string","minLength":1,"maxLength":500},"connectionRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"connectionLabel":{"type":"string","minLength":1,"maxLength":500},"sourceRefs":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"sourceRefsTruncated":{"type":"boolean"}},"required":["kind","ref","label","connectionRef"],"additionalProperties":false}},"required":["record"],"additionalProperties":false},"calculatedValues":{"maxItems":0,"type":"array","items":{"not":{}}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","message"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"maxItems":100,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"connectionRefs":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRefs","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"hyran_record"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"HyranDataFreshnessResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"sources":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"dataset":{"type":"string","minLength":1,"maxLength":100},"source":{"type":"string","enum":["hyran-brand","hyran-factory"]},"connectionRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"publicationId":{"anyOf":[{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},{"type":"null"}]},"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"},"availability":{"type":"string","enum":["available","awaiting_first_publication","update_in_progress","update_failed"]},"pendingUpdate":{"anyOf":[{"type":"object","properties":{"publicationId":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"status":{"type":"string","enum":["receiving","failed"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sourceUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"receivedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["publicationId","status","observedAt","sourceUpdatedAt","receivedAt"],"additionalProperties":false},{"type":"null"}]},"nextSafeAction":{"type":"string","minLength":1,"maxLength":1000}},"required":["dataset","source","connectionRef","publicationId","observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete","availability","pendingUpdate","nextSafeAction"],"additionalProperties":false}}},"required":["sources"],"additionalProperties":false},"calculatedValues":{"maxItems":0,"type":"array","items":{"not":{}}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","message"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"maxItems":100,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"connectionRefs":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRefs","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"hyran_data_freshness"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"HyranSourceResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"source":{"type":"object","properties":{"sourceRef":{"type":"string","minLength":1,"maxLength":4096},"dataset":{"type":"string","minLength":1,"maxLength":100},"source":{"type":"string","enum":["hyran-brand","hyran-factory"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sourceUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"recordsShared":{"type":"integer","minimum":0,"maximum":9007199254740991},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"record":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["material","factory","material_factory_position"]},"materialRef":{"type":"string","minLength":1,"maxLength":500},"factoryRef":{"type":"string","minLength":1,"maxLength":500}},"required":["kind"],"additionalProperties":false},{"type":"null"}]},"calculation":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":500},"definition":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","label","definition"],"additionalProperties":false},{"type":"null"}]},"link":{"type":"string","format":"uri"}},"required":["sourceRef","dataset","source","observedAt","sourceUpdatedAt","publishedAt","recordsShared","evidenceDigest","record","calculation","link"],"additionalProperties":false}},"required":["source"],"additionalProperties":false},"calculatedValues":{"maxItems":0,"type":"array","items":{"not":{}}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","message"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"maxItems":100,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"connectionRefs":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRefs","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"hyran_source"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"MaterialPositionAttentionResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"positions":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"position":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"material":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"factory":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"groups":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"uom":{"type":"string","minLength":1,"maxLength":32},"reportedOnHand":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"reportedInProduction":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"allocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"unallocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"brandCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"factoryCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"calculatedDemand":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"plannerIntent":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumption":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumptionAt":{"default":null,"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["uom","reportedOnHand","reportedInProduction","allocated","unallocated","brandCommitment","factoryCommitment","calculatedDemand","plannerIntent","expectedConsumption","expectedConsumptionAt"],"additionalProperties":false}}},"required":["material","factory","connectionRef","groups"],"additionalProperties":false},"calculatedValues":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":500},"value":{"type":"number"},"uom":{"type":"string","minLength":1,"maxLength":32},"definition":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","label","value","uom","definition"],"additionalProperties":false}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000},"uom":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]}},"required":["code","message","uom"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"sourceDetails":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["hyran-brand","hyran-factory"]},"sourceRef":{"type":"string","minLength":1,"maxLength":4096}},"required":["source","sourceRef"],"additionalProperties":false}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRef","asOf","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sourceUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"material_factory_position"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"severity":{"type":"string","enum":["critical","warning","information"]},"exceptionCodes":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","enum":["missing_brand_commitment","missing_factory_position","uncovered_commitment","commitment_disagreement","partial_source","source_reported_exception"]}},"oldestComponentValidFrom":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["position","severity","exceptionCodes","oldestComponentValidFrom"],"additionalProperties":false}},"matchedCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["positions","matchedCount"],"additionalProperties":false},"calculatedValues":{"maxItems":0,"type":"array","items":{"not":{}}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","message"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"maxItems":100,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"connectionRefs":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRefs","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"material_position_attention"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"MaterialPositionComparisonInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"materialRef":{"type":"string","minLength":1,"maxLength":500},"factoryRef":{"type":"string","minLength":1,"maxLength":500},"from":{"anyOf":[{"type":"object","properties":{"publicationRef":{"type":"string","minLength":1,"maxLength":4096}},"required":["publicationRef"],"additionalProperties":false},{"type":"object","properties":{"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["asOf"],"additionalProperties":false}]},"to":{"anyOf":[{"type":"object","properties":{"publicationRef":{"type":"string","minLength":1,"maxLength":4096}},"required":["publicationRef"],"additionalProperties":false},{"type":"object","properties":{"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["asOf"],"additionalProperties":false}]}},"required":["connectionRef","materialRef","factoryRef","from","to"],"additionalProperties":false},"MaterialPositionComparisonResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"previous":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"material":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"factory":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"groups":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"uom":{"type":"string","minLength":1,"maxLength":32},"reportedOnHand":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"reportedInProduction":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"allocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"unallocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"brandCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"factoryCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"calculatedDemand":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"plannerIntent":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumption":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumptionAt":{"default":null,"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["uom","reportedOnHand","reportedInProduction","allocated","unallocated","brandCommitment","factoryCommitment","calculatedDemand","plannerIntent","expectedConsumption","expectedConsumptionAt"],"additionalProperties":false}}},"required":["material","factory","connectionRef","groups"],"additionalProperties":false},"calculatedValues":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":500},"value":{"type":"number"},"uom":{"type":"string","minLength":1,"maxLength":32},"definition":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","label","value","uom","definition"],"additionalProperties":false}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000},"uom":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]}},"required":["code","message","uom"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"sourceDetails":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["hyran-brand","hyran-factory"]},"sourceRef":{"type":"string","minLength":1,"maxLength":4096}},"required":["source","sourceRef"],"additionalProperties":false}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRef","asOf","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sourceUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"material_factory_position"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"current":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":1000},"facts":{"type":"object","properties":{"material":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"factory":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}},"required":["ref","label"],"additionalProperties":false},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"groups":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"uom":{"type":"string","minLength":1,"maxLength":32},"reportedOnHand":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"reportedInProduction":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"allocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"unallocated":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"brandCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"factoryCommitment":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"calculatedDemand":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"plannerIntent":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumption":{"default":null,"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"expectedConsumptionAt":{"default":null,"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["uom","reportedOnHand","reportedInProduction","allocated","unallocated","brandCommitment","factoryCommitment","calculatedDemand","plannerIntent","expectedConsumption","expectedConsumptionAt"],"additionalProperties":false}}},"required":["material","factory","connectionRef","groups"],"additionalProperties":false},"calculatedValues":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":500},"value":{"type":"number"},"uom":{"type":"string","minLength":1,"maxLength":32},"definition":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","label","value","uom","definition"],"additionalProperties":false}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000},"uom":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]}},"required":["code","message","uom"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"sourceDetails":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["hyran-brand","hyran-factory"]},"sourceRef":{"type":"string","minLength":1,"maxLength":4096}},"required":["source","sourceRef"],"additionalProperties":false}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"connectionRef":{"type":"string","minLength":1,"maxLength":4096},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRef","asOf","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sourceUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"material_factory_position"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"changes":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["reportedOnHand","reportedInProduction","allocated","unallocated","brandCommitment","factoryCommitment","calculatedDemand","plannerIntent","expectedConsumption","uncoveredCommitment"]},"uom":{"type":"string","minLength":1,"maxLength":32},"previousValue":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"currentValue":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"absoluteChange":{"anyOf":[{"type":"number"},{"type":"null"}]},"percentageChange":{"anyOf":[{"type":"number"},{"type":"null"}]},"change":{"type":"string","enum":["added","removed","increased","decreased","unchanged"]}},"required":["field","uom","previousValue","currentValue","absoluteChange","percentageChange","change"],"additionalProperties":false}}},"required":["previous","current","changes"],"additionalProperties":false},"calculatedValues":{"maxItems":0,"type":"array","items":{"not":{}}},"exceptions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":1000}},"required":["code","message"],"additionalProperties":false}},"limitations":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"provenance":{"type":"object","properties":{"sourceProducts":{"maxItems":2,"type":"array","items":{"type":"string","enum":["hyran-brand","hyran-factory"]}},"publicationIds":{"maxItems":100,"type":"array","items":{"type":"string","format":"ulid","pattern":"^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"sourceRefs":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"connectionRefs":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"evidenceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantScoped":{"type":"boolean","const":true}},"required":["sourceProducts","publicationIds","connectionRefs","tenantScoped"],"additionalProperties":false},"freshness":{"type":"object","properties":{"observedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sourceUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ageSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"complete":{"type":"boolean"}},"required":["observedAt","sourceUpdatedAt","publishedAt","ageSeconds","complete"],"additionalProperties":false},"page":{"type":"object","properties":{"nextCursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"truncated":{"type":"boolean"}},"required":["nextCursor","truncated"],"additionalProperties":false},"display":{"type":"object","properties":{"kind":{"type":"string","const":"material_position_comparison"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false}},"required":["answer","facts","calculatedValues","exceptions","limitations","provenance","freshness","page","display"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requestId","asOf"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false},"Liveness":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","const":"ok"},"service":{"type":"string","const":"hyran-data-api"}},"required":["status","service"],"additionalProperties":false},"Readiness":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["ready","unavailable"]},"checks":{"type":"object","properties":{"process":{"type":"string","const":"ok"},"database":{"type":"string","enum":["ok","error"]}},"required":["process","database"],"additionalProperties":false}},"required":["status","checks"],"additionalProperties":false},"OpenApiDocument":{"type":"object","additionalProperties":true}}}}