{"components":{"headers":{"RateLimitLimit":{"description":"Maximum requests allowed for this client and operation in the window.","schema":{"minimum":1,"type":"integer"}},"RateLimitRemaining":{"description":"Requests remaining for this client and operation in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimitReset":{"description":"Seconds until the current rate-limit window resets.","schema":{"minimum":1,"type":"integer"}},"RetryAfter":{"description":"Minimum seconds to wait before retrying a rate-limited request.","schema":{"minimum":1,"type":"integer"}},"Traceparent":{"description":"W3C trace context for correlating the request with service telemetry.","schema":{"pattern":"^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-f]{2}$","type":"string"}}},"schemas":{"ApiError":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"pattern":"^[A-Z][A-Z0-9_]*$","type":"string"},"detail":{"minLength":1,"type":"string"},"requestId":{"minLength":1,"type":"string"}},"required":["code","detail","requestId"],"type":"object"}},"required":["error"],"type":"object"},"PublishedReleaseSummary":{"additionalProperties":false,"properties":{"contentChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"parentReleaseId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"publishedAt":{"format":"date-time","type":"string"},"publishedBy":{"minLength":1,"type":"string"},"releaseNotes":{"type":"string"},"version":{"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","type":"string"}},"required":["id","version","publishedAt","publishedBy","contentChecksum","releaseNotes"],"type":"object"},"PublishedResource":{"additionalProperties":false,"properties":{"confidence":{"maximum":1,"minimum":0,"type":"number"},"evidenceClass":{"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"payload":{"additionalProperties":true,"type":"object"},"sourceId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},"required":["id","sourceId","evidenceClass","confidence","payload"],"type":"object"},"ResolverRevision":{"additionalProperties":false,"description":"Independent revision of the resolver behavior used with a taxonomy release. Compare behaviorChecksum for equality.","properties":{"behaviorChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"version":{"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","type":"string"}},"required":["version","behaviorChecksum"],"type":"object"},"TaxonomyRelease":{"additionalProperties":false,"properties":{"contentChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"parentReleaseId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"publishedAt":{"format":"date-time","type":"string"},"publishedBy":{"minLength":1,"type":"string"},"version":{"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","type":"string"}},"required":["id","version","publishedAt","publishedBy","contentChecksum"],"type":"object"}},"securitySchemes":{"bearerAuth":{"bearerFormat":"Meat Taxonomy service API key","description":"A scoped service credential in `mtk_<prefix>.<secret>` format. Keep it server-side, load it from a secret manager or environment variable, and never embed it in browser or mobile code.","scheme":"bearer","type":"http"}}},"externalDocs":{"description":"Integration guide, authentication, errors, and agent instructions","url":"https://taxonomy.meatborsa.com/docs"},"info":{"description":"Server-side API for browsing and resolving the current immutable published meat taxonomy. The `/v1` path identifies the HTTP contract version; `taxonomyRelease.version` identifies the independent data release and `resolver.behaviorChecksum` identifies the independent resolver behavior used for a decision.","title":"Meat Taxonomy API","version":"1.2.0"},"openapi":"3.1.0","paths":{"/v1/collections":{"get":{"description":"Lists governed, discoverable current-release collections. Collections are explicit product sets; labels and names are not query semantics.","operationId":"listCollections","responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"collections":[],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"collections":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","collections"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List discoverable collections from the current release","tags":["Collections"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/collections/{id}":{"get":{"description":"Returns one governed current-release collection and its exact member concept IDs.","operationId":"getCollection","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"collection":{"conceptCount":1,"conceptIds":["0198a000-0000-7000-8000-000000001025"],"descriptions":{"en":"Products in the governed example pork assortment."},"id":"0198a000-0000-7000-8000-000000005001","key":"example-pork-assortment","kind":"assortment","labels":{"en":"Example pork assortment"},"status":"active"},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"collection":{"additionalProperties":true,"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","collection"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Get one current-release collection and its concept ids","tags":["Collections"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/compare":{"post":{"description":"Compares two published concepts using reviewed cross-scheme relationships. This operation does not mutate taxonomy data.","operationId":"compareMeatCuts","requestBody":{"content":{"application/json":{"examples":{"default":{"summary":"Example request","value":{"leftConcept":"Pork Belly","rightConcept":"Pork Side Ribs"}}},"schema":{"additionalProperties":false,"properties":{"leftConcept":{"maxLength":200,"minLength":1,"type":"string"},"rightConcept":{"maxLength":200,"minLength":1,"type":"string"}},"required":["leftConcept","rightConcept"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"result":{"comparisons":[],"left":{"canonicalLabel":"Pork Belly","conceptType":"cut","confidence":1,"definition":"The ventral portion of a pig carcass after removal of the loin.","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","status":"active"},"right":{"canonicalLabel":"Pork Side Ribs","conceptType":"cut","confidence":1,"definition":"The ventral portion of a pig carcass after removal of the loin.","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","status":"active"}},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"result":{"additionalProperties":true,"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","result"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Compare two published meat concepts","tags":["Operations"],"x-rate-limit":{"maximumRequests":30,"windowMs":60000},"x-required-scope":"taxonomy:resolve"}},"/v1/concepts":{"get":{"operationId":"listConcepts","parameters":[{"description":"Maximum number of records to return.","example":25,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"}},{"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0","in":"query","name":"cursor","required":false,"schema":{"maxLength":512,"minLength":1,"type":"string"}},{"description":"Case-insensitive text used to filter canonical labels and reviewed terms.","example":"belly","in":"query","name":"query","required":false,"schema":{"maxLength":200,"minLength":1,"type":"string"}},{"description":"Published concept type.","example":"cut","in":"query","name":"type","required":false,"schema":{"enum":["animal_taxon","animal_class","meat_commodity","carcass","anatomical_part","product_family","cut_family","cut","offal","fat","by_product","processed_product"],"type":"string"}},{"description":"Published concept lifecycle status.","example":"active","in":"query","name":"status","required":false,"schema":{"enum":["draft","active","deprecated"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"concepts":[{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","payload":{"canonicalLabel":"Pork Belly","conceptType":"cut","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"sourceId":"0198a000-0000-7000-8000-000000000002"}],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"concepts":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"nextCursor":{"minLength":1,"type":"string"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","concepts"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List concepts from the current published release","tags":["Concepts"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/concepts/{id}":{"get":{"operationId":"getConcept","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"concept":{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","payload":{"canonicalLabel":"Pork Belly","conceptType":"cut","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"sourceId":"0198a000-0000-7000-8000-000000000002"},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"concept":{"$ref":"#/components/schemas/PublishedResource"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","concept"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Get one concept from the current published release","tags":["Concepts"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/concepts/{id}/relationships":{"get":{"operationId":"listConceptRelationships","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},{"description":"Relationship direction relative to the requested concept.","example":"both","in":"query","name":"direction","required":false,"schema":{"enum":["incoming","outgoing","both"],"type":"string"}},{"description":"Optional relationship predicate filter.","example":"IS_A","in":"query","name":"predicate","required":false,"schema":{"enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","EXACT_MATCH","CLOSE_MATCH","NARROWER_THAN","OVERLAPS_WITH","SUBSTITUTE_FOR"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"conceptId":"0198a000-0000-7000-8000-000000001025","relationships":[{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000003001","payload":{"attributes":{},"objectConceptId":"0198a000-0000-7000-8000-000000001003","predicate":"IS_A","subjectConceptId":"0198a000-0000-7000-8000-000000001025"},"sourceId":"0198a000-0000-7000-8000-000000000002"}],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"conceptId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"relationships":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","conceptId","relationships"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List published relationships touching a concept","tags":["Concepts"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/concepts/expand":{"post":{"description":"Expands a species, animal class, commodity, concept root, explicit collection, or directed substitutes-for target into current-release concept IDs. Product membership and substitution use separate documented profiles.","operationId":"expandConcepts","requestBody":{"content":{"application/json":{"examples":{"default":{"summary":"Example request","value":{"selector":{"species":"Domestic pig"}}}},"schema":{"additionalProperties":false,"properties":{"includeDeprecated":{"default":false,"type":"boolean"},"predicates":{"items":{"enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN","SUBSTITUTE_FOR"],"type":"string"},"minItems":1,"type":"array","uniqueItems":true},"selector":{"oneOf":[{"additionalProperties":false,"properties":{"descendantsOfConcept":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},"required":["descendantsOfConcept"],"type":"object"},{"additionalProperties":false,"properties":{"ancestorOf":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},"required":["ancestorOf"],"type":"object"},{"additionalProperties":false,"properties":{"species":{"maxLength":200,"minLength":1,"type":"string"}},"required":["species"],"type":"object"},{"additionalProperties":false,"properties":{"animalClass":{"maxLength":200,"minLength":1,"type":"string"}},"required":["animalClass"],"type":"object"},{"additionalProperties":false,"properties":{"commodity":{"maxLength":200,"minLength":1,"type":"string"}},"required":["commodity"],"type":"object"},{"additionalProperties":false,"properties":{"collection":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},"required":["collection"],"type":"object"},{"additionalProperties":false,"properties":{"substitutesFor":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},"required":["substitutesFor"],"type":"object"}]}},"required":["selector"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"conceptIds":["0198a000-0000-7000-8000-000000001001","0198a000-0000-7000-8000-000000001025"],"count":2,"expansionChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","expansionProfile":"product-membership-v1","predicates":["IS_A","PART_OF","NARROWER_THAN"],"selector":{"species":"Domestic pig"},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"conceptIds":{"items":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"type":"array"},"count":{"minimum":0,"type":"integer"},"expansionChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"expansionProfile":{"enum":["product-membership-v1","substitution-v1"],"type":"string"},"predicates":{"items":{"enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN","SUBSTITUTE_FOR"],"type":"string"},"type":"array"},"selector":{"additionalProperties":true,"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","expansionProfile","selector","predicates","conceptIds","count","expansionChecksum"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Expand a semantic selector to current-release concept ids","tags":["Concepts"],"x-rate-limit":{"maximumRequests":30,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/explore":{"post":{"description":"Resolves a caller-sanitized product phrase and returns additional terms, identifiers, schemes, relationships, sources, and taxonomy-path context. Taxonomy may aggregate normalized fragments returned in `unresolved` and retain the latest sanitized sample phrase for contextual vocabulary rechecks. Candidate references preserve full-input `matchType` and add modifier-neutral `matchTypeCore`. Set `includeAttributeMetadata` to receive release-scoped localized definitions for returned attributes without changing resolution semantics.","operationId":"exploreMeatProduct","requestBody":{"content":{"application/json":{"examples":{"default":{"summary":"Example request","value":{"includeAttributeMetadata":true,"limit":5,"locale":"en","text":"Frozen pork belly"}}},"schema":{"additionalProperties":false,"properties":{"commodity":{"description":"A separately sourced platform or integration meat-commodity observation such as Beef or Pork.","maxLength":200,"minLength":1,"type":"string"},"includeAttributeMetadata":{"default":false,"description":"When true, include release-scoped localized field and controlled-value metadata for returned attributes. The request locale selects en, bg, pl, or de; unsupported locales explicitly fall back to English.","type":"boolean"},"limit":{"maximum":12,"minimum":1,"type":"integer"},"locale":{"maxLength":100,"minLength":1,"type":"string"},"species":{"maxLength":200,"minLength":1,"type":"string"},"text":{"maxLength":2000,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"attributeMetadata":{"attributes":{"refrigeration":{"field":{"cardinality":"one","description":"The product's stated fresh, chilled, or frozen temperature condition.","fallbackUsed":false,"id":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","label":"Condition","locale":"en","valueKind":"controlled"},"values":[{"description":"The product is offered frozen.","fallbackUsed":false,"id":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","label":"Frozen","locale":"en","machineValue":"frozen"}]}},"fallbackLocale":"en","fallbackUsed":false,"requestedLocale":"en","resolvedLocale":"en"},"exploration":{"alternatives":[],"ambiguities":[],"attributes":{"refrigeration":{"basis":"controlled_vocabulary","confidence":0.98,"normalized":"frozen","raw":"Frozen"}},"explanation":[],"focus":{"basis":"resolver_selection","concept":{"canonicalLabel":"Pork Belly","conceptType":"cut","confidence":1,"definition":"The ventral portion of a pig carcass after removal of the loin.","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","status":"active"},"confidence":0.906,"locale":"en","matchedTerm":"Pork Belly","matchType":"phrase","matchTypeCore":"exact","rationale":"Selected Pork Belly from a phrase full-input match with an exact core terminology match after safely consumed attributes.","score":0.906,"termType":"preferred"},"identifiers":[],"normalizedText":"frozen pork belly","qualifiers":[],"relationshipCount":0,"relationships":[],"schemes":[],"sources":[],"species":[],"status":"resolved","taxonomyPath":[],"terms":[],"text":"Frozen pork belly","unresolved":[]},"resolver":{"behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9","version":"1.48.0"},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"attributeMetadata":{"additionalProperties":false,"description":"Release-scoped presentation metadata for the attributes present in this response. Included only when includeAttributeMetadata is true.","properties":{"attributes":{"additionalProperties":{"additionalProperties":false,"properties":{"field":{"additionalProperties":false,"properties":{"cardinality":{"enum":["one","many"],"type":"string"},"description":{"minLength":1,"type":"string"},"fallbackUsed":{"type":"boolean"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"key":{"minLength":1,"type":"string"},"label":{"minLength":1,"type":"string"},"locale":{"enum":["en","bg","pl","de"],"type":"string"},"valueKind":{"enum":["controlled","measurement","reference","structured","composite"],"type":"string"}},"required":["id","key","cardinality","valueKind","locale","label","description","fallbackUsed"],"type":"object"},"values":{"items":{"additionalProperties":false,"properties":{"description":{"minLength":1,"type":"string"},"fallbackUsed":{"type":"boolean"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"key":{"minLength":1,"type":"string"},"label":{"minLength":1,"type":"string"},"locale":{"enum":["en","bg","pl","de"],"type":"string"},"machineValue":{"minLength":1,"type":"string"}},"required":["id","key","machineValue","locale","label","description","fallbackUsed"],"type":"object"},"type":"array"}},"required":["field","values"],"type":"object"},"type":"object"},"fallbackLocale":{"const":"en","type":"string"},"fallbackUsed":{"type":"boolean"},"requestedLocale":{"minLength":1,"type":"string"},"resolvedLocale":{"enum":["en","bg","pl","de"],"type":"string"}},"required":["requestedLocale","resolvedLocale","fallbackLocale","fallbackUsed","attributes"],"type":"object"},"exploration":{"additionalProperties":true,"properties":{"alternatives":{"items":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"type":"array"},"attributes":{"additionalProperties":true,"properties":{"bloodCondition":{"additionalProperties":false,"description":"Explicit seller-stated bloodied condition of a governed trimmings product. It is independent of product identity, Polish processing-meat class, safety, and conformity.","properties":{"basis":{"const":"controlled_vocabulary","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"enum":["bloodied"],"type":"string"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"fabricatedFrom":{"items":{"additionalProperties":false,"description":"An explicitly stated source cut for a fabrication-trimmings product, retained as a stable taxonomy concept reference.","properties":{"basis":{"const":"reviewed_term","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"additionalProperties":false,"properties":{"canonicalLabel":{"minLength":1,"type":"string"},"conceptId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"schemeIds":{"items":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"type":"array"}},"required":["conceptId","canonicalLabel","schemeIds"],"type":"object"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"type":"array"},"fatFirmness":{"additionalProperties":false,"description":"Explicit seller-stated qualitative firmness of a governed raw separable-fat product. Refrigeration remains a separate attribute.","properties":{"basis":{"const":"controlled_vocabulary","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"enum":["hard","soft"],"type":"string"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"packaging":{"items":{"additionalProperties":false,"properties":{"basis":{"type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"needsReview":{"description":"True when the retained generic value is safe but a narrower normalization requires review.","type":"boolean"},"normalized":{"enum":["vacuum","polyblock","box","carton","naked-block"],"type":"string"},"raw":{"type":"string"},"suggested":{"description":"The narrower packaging value suggested for human confirmation.","enum":["carton"],"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"type":"array"},"packagingOptions":{"additionalProperties":false,"description":"Lossless packaging configurations. Alternatives are separate options and must not be interpreted as simultaneous components.","properties":{"basis":{"type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"additionalProperties":false,"properties":{"options":{"items":{"additionalProperties":false,"properties":{"arrangement":{"items":{"enum":["layer","soldier"],"type":"string"},"type":"array"},"components":{"items":{"additionalProperties":false,"properties":{"atmosphere":{"enum":["vacuum","modified-atmosphere"],"type":"string"},"contentCount":{"additionalProperties":false,"properties":{"maximum":{"minimum":1,"type":"integer"},"minimum":{"minimum":1,"type":"integer"},"relation":{"enum":["value","range","minimum"],"type":"string"},"unit":{"enum":["piece"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"form":{"enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"],"type":"string"},"level":{"enum":["immediate","shipping"],"type":"string"},"materials":{"items":{"enum":["polyethylene","polystyrene","plastic","cardboard","foil"],"type":"string"},"type":"array"},"netWeight":{"additionalProperties":false,"properties":{"derived":{"type":"boolean"},"maximum":{"minimum":0,"type":"number"},"minimum":{"minimum":0,"type":"number"},"relation":{"enum":["minimum","range","value"],"type":"string"},"unit":{"enum":["g","kg","lb","oz"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"sizeClass":{"enum":["E1","E2","E3","E6"],"type":"string"},"tradeTerm":{"enum":["iwp","ivp"],"type":"string"},"unitization":{"enum":["individual","bulk"],"type":"string"},"unitsPerParent":{"minimum":1,"type":"integer"}},"required":["level","form"],"type":"object"},"type":"array"},"materials":{"items":{"enum":["polyethylene","polystyrene","plastic","cardboard","foil"],"type":"string"},"type":"array"},"presentations":{"items":{"additionalProperties":false,"properties":{"contentCount":{"additionalProperties":false,"properties":{"maximum":{"minimum":1,"type":"integer"},"minimum":{"minimum":1,"type":"integer"},"relation":{"enum":["value","range","minimum"],"type":"string"},"unit":{"enum":["piece"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"form":{"enum":["block"],"type":"string"},"liner":{"enum":["polyethylene","none","unspecified"],"type":"string"},"netWeight":{"additionalProperties":false,"properties":{"derived":{"type":"boolean"},"maximum":{"minimum":0,"type":"number"},"minimum":{"minimum":0,"type":"number"},"relation":{"enum":["minimum","range","value"],"type":"string"},"unit":{"enum":["g","kg","lb","oz"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"tradeTerm":{"enum":["polyblock","naked-block"],"type":"string"}},"required":["form","liner"],"type":"object"},"type":"array"},"unitization":{"enum":["individual","bulk"],"type":"string"},"unspecified":{"type":"boolean"}},"required":["components"],"type":"object"},"minItems":1,"type":"array"},"relation":{"enum":["single","alternatives"],"type":"string"}},"required":["relation","options"],"type":"object"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"processingMeatClass":{"additionalProperties":false,"description":"Seller-stated Polish processing-meat class, qualified by species because identical Roman codes have different pork and beef meanings.","properties":{"basis":{"const":"structured_pattern","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"additionalProperties":false,"properties":{"code":{"enum":["I","II","IIA","IIB","III","IV"],"type":"string"},"species":{"enum":["porcine","bovine"],"type":"string"},"system":{"const":"polish-processing-meat","type":"string"}},"required":["system","species","code"],"type":"object"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"}},"type":"object"},"focus":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"qualifiers":{"items":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"type":"array"},"unresolvedReason":{"additionalProperties":false,"properties":{"missingContext":{"items":{"enum":["species","bone_state","scheme"],"type":"string"},"type":"array"},"options":{"items":{"additionalProperties":true,"properties":{"boneState":{"enum":["bone-in","boneless","partly-boned"],"type":"string"},"candidate":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"schemes":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"species":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"reasonCode":{"enum":["missing_species","missing_bone_state","missing_scheme","unsupported_product_for_species","unsupported_product_for_commodity","insufficient_context","low_confidence_match","no_candidate"],"type":"string"}},"required":["reasonCode","missingContext","options"],"type":"object"}},"type":"object"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","resolver","exploration"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Enrich a resolver-selected meat product with taxonomy context","tags":["Operations"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:resolve"}},"/v1/exports":{"get":{"description":"Returns a deterministic snapshot of the current published taxonomy. Use the checksum in `taxonomyRelease` when caching it.","operationId":"getReleaseExport","responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"concepts":[{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","payload":{"canonicalLabel":"Pork Belly","conceptType":"cut","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"sourceId":"0198a000-0000-7000-8000-000000000002"}],"counts":{"concepts":1,"externalIdentifiers":0,"marketContexts":0,"relationships":0,"schemes":1,"sources":1,"terms":0,"total":3},"externalIdentifiers":[],"formatVersion":"1.0","marketContexts":[],"relationships":[],"schemes":[{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000000202","payload":{"authority":"UNECE","code":"UNECE-PORK","marketContextIds":[],"name":"UNECE Standard for Porcine Meat","status":"current","version":"2023"},"sourceId":"0198a000-0000-7000-8000-000000000002"}],"sources":[],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"},"terms":[]}}},"schema":{"additionalProperties":false,"properties":{"attributeAliases":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"attributeFields":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"attributeLocalizations":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"attributeValues":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"collections":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"concepts":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"counts":{"additionalProperties":false,"properties":{"attributeAliases":{"minimum":0,"type":"integer"},"attributeFields":{"minimum":0,"type":"integer"},"attributeLocalizations":{"minimum":0,"type":"integer"},"attributeValues":{"minimum":0,"type":"integer"},"collections":{"minimum":0,"type":"integer"},"concepts":{"minimum":0,"type":"integer"},"externalIdentifiers":{"minimum":0,"type":"integer"},"marketContexts":{"minimum":0,"type":"integer"},"nonProductTerms":{"minimum":0,"type":"integer"},"relationships":{"minimum":0,"type":"integer"},"schemes":{"minimum":0,"type":"integer"},"sources":{"minimum":0,"type":"integer"},"terms":{"minimum":0,"type":"integer"},"total":{"minimum":0,"type":"integer"}},"required":["sources","marketContexts","schemes","concepts","terms","relationships","externalIdentifiers","total"],"type":"object"},"externalIdentifiers":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"formatVersion":{"enum":["1.0","1.1","1.2","1.3"],"type":"string"},"marketContexts":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"nonProductTerms":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"relationships":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"schemes":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"sources":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"terms":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"}},"required":["formatVersion","taxonomyRelease","counts","sources","marketContexts","schemes","concepts","terms","relationships","externalIdentifiers"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Get the complete deterministic JSON export of the current published release","tags":["Releases"],"x-rate-limit":{"maximumRequests":10,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/releases":{"get":{"operationId":"listReleases","parameters":[{"description":"Maximum number of records to return.","example":25,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"}},{"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0","in":"query","name":"cursor","required":false,"schema":{"maxLength":512,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"releases":[{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","releaseNotes":"Bovine and veal taxonomy enrichment.","version":"0.4.8"}],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"nextCursor":{"minLength":1,"type":"string"},"releases":{"items":{"$ref":"#/components/schemas/PublishedReleaseSummary"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","releases"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List immutable published taxonomy releases","tags":["Releases"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/releases/{id}/dictionary":{"get":{"description":"Returns the localized concept, attribute, value, and collection dictionary for exactly one immutable release. Cache it by `taxonomyRelease.id` and `dictionaryChecksum`; use its text only for presentation, never as stored identity.","operationId":"getReleaseDictionary","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"attributeFields":[],"attributeValues":[],"collections":[],"concepts":[],"dictionaryChecksum":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","formatVersion":"1.0","locales":["bg","de","en","pl"],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"attributeFields":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"attributeValues":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"collections":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"concepts":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"dictionaryChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"formatVersion":{"const":"1.0","type":"string"},"locales":{"items":{"minLength":2,"type":"string"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["formatVersion","taxonomyRelease","dictionaryChecksum","locales","concepts","attributeFields","attributeValues","collections"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Download the immutable localized display dictionary for one published release","tags":["Releases"],"x-rate-limit":{"maximumRequests":10,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/releases/{id}/expansions":{"get":{"description":"Returns precomputed ancestor and collection memberships for every concept in exactly one immutable release. Use it to query records already tagged under that release without calling Resolve again.","operationId":"getReleaseExpansions","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"concepts":[],"expansionChecksum":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","expansionProfile":"product-membership-v1","formatVersion":"1.0","predicates":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN"],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"concepts":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"expansionChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"expansionProfile":{"const":"product-membership-v1","type":"string"},"formatVersion":{"const":"1.0","type":"string"},"predicates":{"items":{"enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN","SUBSTITUTE_FOR"],"type":"string"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["formatVersion","taxonomyRelease","expansionProfile","expansionChecksum","predicates","concepts"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Download immutable ancestor and collection expansion sets for one release","tags":["Releases"],"x-rate-limit":{"maximumRequests":10,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/releases/{id}/incoterms":{"get":{"description":"Returns canonical Incoterms 2020 identities, operational presentation metadata, and reviewed aliases for exactly one immutable release. Unsupported presentation locales explicitly fall back to English until governed translations are published.","operationId":"listReleaseIncoterms","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},{"in":"query","name":"locale","required":false,"schema":{"maxLength":100,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"fallbackUsed":true,"formatVersion":"1.0","incoterms":[{"aliases":[],"code":"EXW","deliveryPoint":"seller-premises","description":"The seller makes the goods available at the named place.","explanation":"The buyer controls loading and onward transport from the named place.","fullName":"Ex Works","id":"01a01f40-7750-7091-9d6c-334a4290f5c5","transportMode":"any","version":"2020"}],"requestedLocale":"hr","resolvedLocale":"en","taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"},"vocabularyChecksum":"eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"}}},"schema":{"additionalProperties":false,"properties":{"fallbackUsed":{"type":"boolean"},"formatVersion":{"const":"1.0","type":"string"},"incoterms":{"items":{"additionalProperties":false,"properties":{"aliases":{"items":{"additionalProperties":false,"properties":{"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"locale":{"minLength":1,"type":"string"},"misuse":{"enum":["obsolete-term","sea-term-for-container"],"type":"string"},"text":{"minLength":1,"type":"string"}},"required":["id","text","locale"],"type":"object"},"type":"array"},"code":{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},"deliveryPoint":{"enum":["seller-premises","carrier-handover","first-carrier","destination-ready-for-unloading","destination-unloaded","destination-import-cleared","alongside-vessel","on-board-vessel"],"type":"string"},"description":{"minLength":1,"type":"string"},"explanation":{"minLength":1,"type":"string"},"fullName":{"minLength":1,"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"transportMode":{"enum":["any","sea-inland-waterway"],"type":"string"},"version":{"const":"2020","type":"string"}},"required":["id","code","version","fullName","transportMode","deliveryPoint","description","explanation","aliases"],"type":"object"},"type":"array"},"requestedLocale":{"minLength":2,"type":"string"},"resolvedLocale":{"const":"en","type":"string"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"vocabularyChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"}},"required":["formatVersion","taxonomyRelease","requestedLocale","resolvedLocale","fallbackUsed","vocabularyChecksum","incoterms"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List canonical Incoterms and reviewed aliases for one immutable release","tags":["Releases"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/releases/diff":{"get":{"description":"Compares the effective records in two immutable published releases and returns a deterministic, paginated change set, conservative re-tagging guidance, and stable-ID replacement mappings for deprecated concepts, attribute fields, attribute values, and collections. `toReleaseId` defaults to the current release; pin the returned `toRelease.id` on later cursor requests. Supply the resolver behavior checksum stored with the previous resolution; an absent or changed resolver checksum deliberately produces `retagging.mode` `full`.","operationId":"getReleaseDiff","parameters":[{"description":"Stable identifier of the older published release in the comparison.","example":"0198a000-0000-7000-8000-000000000300","in":"query","name":"fromReleaseId","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},{"description":"Stable identifier of the newer published release. Defaults to the current release.","example":"0198a000-0000-7000-8000-000000000301","in":"query","name":"toReleaseId","required":false,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},{"description":"Resolver behavior checksum stored with the previous decision. Omit only when provenance is unavailable and a full re-tag is acceptable.","example":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9","in":"query","name":"fromResolverBehaviorChecksum","required":false,"schema":{"pattern":"^[0-9a-f]{64}$","type":"string"}},{"description":"Maximum number of records to return.","example":25,"in":"query","name":"limit","required":false,"schema":{"maximum":500,"minimum":1,"type":"integer"}},{"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0","in":"query","name":"cursor","required":false,"schema":{"maxLength":512,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"changes":[{"action":"added","after":{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000002025","payload":{"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork collar","locale":"en","normalizedText":"pork collar","termType":"preferred"},"sourceId":"0198a000-0000-7000-8000-000000000002"},"entityId":"0198a000-0000-7000-8000-000000002025","entityType":"term","impact":"resolution"}],"diffChecksum":"dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd","formatVersion":"1.0","fromRelease":{"contentChecksum":"eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","id":"0198a000-0000-7000-8000-000000000300","publishedAt":"2026-08-12T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.7"},"replacements":{"attributeFields":[],"attributeValues":[],"collections":[],"concepts":[]},"resolver":{"behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9","version":"1.48.0"},"retagging":{"affectedConceptIds":["0198a000-0000-7000-8000-000000001025"],"affectedTermIds":["0198a000-0000-7000-8000-000000002025"],"affectedVocabulary":[{"conceptId":"0198a000-0000-7000-8000-000000001025","locale":"en","normalizedText":"pork collar"}],"mode":"targeted","reasons":["reviewed_terms_changed"],"recheckMatchTypes":["exact","phrase","fuzzy"],"recheckSelectionStatuses":["resolved","ambiguous","unresolved"],"resolverComparison":"unchanged"},"summary":{"added":1,"removed":0,"total":1,"updated":0},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","parentReleaseId":"0198a000-0000-7000-8000-000000000300","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"},"toRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","parentReleaseId":"0198a000-0000-7000-8000-000000000300","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"changes":{"items":{"additionalProperties":false,"properties":{"action":{"enum":["added","updated","removed"],"type":"string"},"after":{"$ref":"#/components/schemas/PublishedResource"},"before":{"$ref":"#/components/schemas/PublishedResource"},"entityId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"entityType":{"enum":["attribute_field","attribute_value","attribute_localization","attribute_alias","non_product_term","collection","concept","term","scheme","market_context","relationship","source","external_identifier"],"type":"string"},"impact":{"enum":["metadata","resolution"],"type":"string"}},"required":["action","entityType","entityId","impact"],"type":"object"},"type":"array"},"diffChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"formatVersion":{"const":"1.0","type":"string"},"fromRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"nextCursor":{"minLength":1,"type":"string"},"replacements":{"additionalProperties":true,"type":"object"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"retagging":{"additionalProperties":false,"properties":{"affectedConceptIds":{"items":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"type":"array"},"affectedTermIds":{"items":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"type":"array"},"affectedVocabulary":{"items":{"additionalProperties":false,"properties":{"conceptId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"locale":{"minLength":1,"type":"string"},"normalizedText":{"minLength":1,"type":"string"}},"required":["normalizedText","locale","conceptId"],"type":"object"},"type":"array"},"mode":{"enum":["none","targeted","full"],"type":"string"},"reasons":{"items":{"enum":["no_effective_changes","metadata_only","reviewed_terms_changed","concepts_changed","resolution_graph_changed","resolution_context_changed","resolver_revision_unknown","resolver_behavior_changed"],"type":"string"},"type":"array"},"recheckMatchTypes":{"description":"Match types eligible for re-resolution inside the target population. Empty for mode none.","items":{"enum":["exact","phrase","fuzzy"],"type":"string"},"type":"array"},"recheckSelectionStatuses":{"description":"Selection statuses eligible for re-resolution inside the target population. Empty for mode none.","items":{"enum":["resolved","ambiguous","unresolved"],"type":"string"},"type":"array"},"resolverComparison":{"description":"Comparison between the supplied prior behavior checksum and the resolver serving this response.","enum":["unchanged","changed","unknown"],"type":"string"}},"required":["mode","resolverComparison","affectedConceptIds","affectedTermIds","affectedVocabulary","recheckSelectionStatuses","recheckMatchTypes","reasons"],"type":"object"},"summary":{"additionalProperties":false,"description":"Counts across the complete diff, not only the current page of changes.","properties":{"added":{"minimum":0,"type":"integer"},"removed":{"minimum":0,"type":"integer"},"total":{"minimum":0,"type":"integer"},"updated":{"minimum":0,"type":"integer"}},"required":["added","updated","removed","total"],"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"toRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["formatVersion","taxonomyRelease","resolver","fromRelease","toRelease","diffChecksum","summary","changes","retagging","replacements"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Compare two immutable releases and obtain conservative re-tagging guidance","tags":["Releases"],"x-rate-limit":{"maximumRequests":10,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/releases/latest":{"get":{"operationId":"getLatestRelease","responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"release":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","releaseNotes":"Bovine and veal taxonomy enrichment.","version":"0.4.8"},"resolver":{"behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9","version":"1.48.0"},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"release":{"$ref":"#/components/schemas/PublishedReleaseSummary"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","resolver","release"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Get the current immutable published release","tags":["Releases"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/resolution-contexts":{"get":{"operationId":"listResolutionContexts","responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"animalClasses":[],"commodities":[{"acceptedValues":["0198a000-0000-7000-8000-000000001025","pork"],"canonicalValue":"Pork","id":"0198a000-0000-7000-8000-000000001025","label":"Pork"}],"markets":[{"acceptedValues":["0198a000-0000-7000-8000-000000000201","meatborsa pork marketplace","meatborsa-pork-marketplace"],"canonicalValue":"MEATBORSA-PORK-MARKETPLACE","id":"0198a000-0000-7000-8000-000000000201","label":"MeatBorsa pork marketplace"}],"observations":{"originCountry":{"example":"DK","format":"ISO 3166-1 alpha-2","path":"observations.originCountry"}},"schemes":[{"acceptedValues":["0198a000-0000-7000-8000-000000000202","meatborsa pork families"],"canonicalValue":"MEATBORSA-PORK-FAMILIES","id":"0198a000-0000-7000-8000-000000000202","label":"MeatBorsa canonical pork product families"}],"species":[{"acceptedValues":["0198a000-0000-7000-8000-000000001001","domestic pig"],"canonicalValue":"Domestic pig","id":"0198a000-0000-7000-8000-000000001001","label":"Domestic pig"}],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"animalClasses":{"items":{"additionalProperties":false,"properties":{"acceptedValues":{"items":{"minLength":1,"type":"string"},"type":"array"},"canonicalValue":{"minLength":1,"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"label":{"minLength":1,"type":"string"}},"required":["id","canonicalValue","label","acceptedValues"],"type":"object"},"type":"array"},"commodities":{"items":{"additionalProperties":false,"properties":{"acceptedValues":{"items":{"minLength":1,"type":"string"},"type":"array"},"canonicalValue":{"minLength":1,"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"label":{"minLength":1,"type":"string"}},"required":["id","canonicalValue","label","acceptedValues"],"type":"object"},"type":"array"},"markets":{"items":{"additionalProperties":false,"properties":{"acceptedValues":{"items":{"minLength":1,"type":"string"},"type":"array"},"canonicalValue":{"minLength":1,"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"label":{"minLength":1,"type":"string"}},"required":["id","canonicalValue","label","acceptedValues"],"type":"object"},"type":"array"},"observations":{"additionalProperties":false,"properties":{"originCountry":{"additionalProperties":false,"properties":{"example":{"const":"DK","type":"string"},"format":{"const":"ISO 3166-1 alpha-2","type":"string"},"path":{"const":"observations.originCountry","type":"string"}},"required":["path","format","example"],"type":"object"}},"required":["originCountry"],"type":"object"},"schemes":{"items":{"additionalProperties":false,"properties":{"acceptedValues":{"items":{"minLength":1,"type":"string"},"type":"array"},"canonicalValue":{"minLength":1,"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"label":{"minLength":1,"type":"string"}},"required":["id","canonicalValue","label","acceptedValues"],"type":"object"},"type":"array"},"species":{"items":{"additionalProperties":false,"properties":{"acceptedValues":{"items":{"minLength":1,"type":"string"},"type":"array"},"canonicalValue":{"minLength":1,"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"label":{"minLength":1,"type":"string"}},"required":["id","canonicalValue","label","acceptedValues"],"type":"object"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","markets","schemes","species","commodities","animalClasses","observations"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List values accepted by meat-product resolution context fields","tags":["Resolution"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/resolution-events/{id}/feedback":{"post":{"operationId":"submitResolutionEventFeedback","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"default":{"summary":"Example request","value":{"comment":"The selected concept matches the source product.","verdict":"accepted"}}},"schema":{"additionalProperties":false,"properties":{"comment":{"maxLength":2000,"minLength":1,"type":"string"},"correctedConceptId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"verdict":{"enum":["accepted","corrected","rejected","not_a_product","needs_more_context"],"type":"string"}},"required":["verdict"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"feedback":{"createdAt":"2026-08-13T10:15:00.000Z","eventId":"0198a000-0000-7000-8000-000000000302","id":"0198a000-0000-7000-8000-000000000303","verdict":"accepted"}}}},"schema":{"additionalProperties":false,"properties":{"feedback":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"eventId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"verdict":{"enum":["accepted","corrected","rejected","not_a_product","needs_more_context"],"type":"string"}},"required":["id","eventId","verdict","createdAt"],"type":"object"}},"required":["feedback"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Submit client feedback for one owned resolution event","tags":["Operations"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:resolve"}},"/v1/resolve":{"post":{"description":"Resolves a caller-sanitized meat-trade description and optional catalogue name, structured context, confirmed observations, and bounded supporting text against one current published snapshot. High-confidence currency-anchored prices accidentally retained in identity-bearing text are returned as typed `commercialValues` and excluded from taxonomy matching and blocking residue; incomplete numeric expressions remain unresolved. Supporting descriptions, specifications, and commercial terms are analyzed for governed evidence. Exact governed single-ribbed or sheet-ribbed product wording may refine an already selected generic pork belly with explicit `supporting_text_refinement` provenance; supporting text otherwise cannot create identity, improve `matchTypeCore`, or contribute unsupported residue to vocabulary aggregation. The `locale` field is a hint, never a cross-language matching restriction; `detectedLocale` reports the selected reviewed term's language, while `metadataLocale` controls display only. Identity may be selected from an alternate name without losing attributes recognized in the title. Persist concept, field, and value IDs plus release and resolver provenance; do not persist display labels as identity. `include` makes concept or ID-based enrichment opt-in. Automatic tagging is supported only for a resolved primary candidate with `matchTypeCore` equal to `exact`, empty `ambiguities`, and no `unresolved` entries other than typed `non_product_vocabulary` residue; scores and score margins are diagnostic rather than safety thresholds.","operationId":"resolveMeatProduct","requestBody":{"content":{"application/json":{"examples":{"default":{"summary":"Example request","value":{"alternateTexts":[{"role":"catalogue_product_name","text":"polędwiczka wieprzowa"}],"context":{"commodity":"Pork","species":"Domestic pig"},"include":["concept","enrichment"],"includeAttributeMetadata":true,"limit":5,"locale":"en","metadataLocale":"pl","observations":{"certificationClaim":["halal"],"originCountry":["PL"],"packaging":["ivp"],"refrigeration":"frozen"},"requestReference":"offer-1042","supportingTexts":[{"locale":"pl","role":"listing_description","text":"Mrożona, bez kości, pakowana IVP. Warunki handlowe EXW Warszawa."}],"text":"MROŻONA POLĘDWICZKA WIEPRZOWA BEZ KOŚCI"}}},"schema":{"additionalProperties":false,"properties":{"alternateTexts":{"items":{"additionalProperties":false,"properties":{"role":{"enum":["catalogue_product_name"],"type":"string"},"text":{"maxLength":2000,"minLength":1,"type":"string"}},"required":["text","role"],"type":"object"},"maxItems":5,"type":"array"},"animalClass":{"description":"A separately sourced platform or integration animal-class observation. It is compared with explicit title evidence and never injected as title text; disagreement produces context_conflict.","maxLength":200,"minLength":1,"type":"string"},"commodity":{"description":"A separately sourced platform or integration meat-commodity observation such as Beef or Pork. It supplies compatible product context without becoming title text or implying a cutting scheme; disagreement blocks selection.","maxLength":200,"minLength":1,"type":"string"},"context":{"additionalProperties":false,"properties":{"animalClass":{"maxLength":200,"minLength":1,"type":"string"},"commodity":{"maxLength":200,"minLength":1,"type":"string"},"market":{"maxLength":200,"minLength":1,"type":"string"},"scheme":{"maxLength":200,"minLength":1,"type":"string"},"species":{"maxLength":200,"minLength":1,"type":"string"}},"type":"object"},"include":{"items":{"enum":["concept","enrichment"],"type":"string"},"maxItems":2,"type":"array","uniqueItems":true},"includeAttributeMetadata":{"default":false,"description":"When true, include release-scoped localized field and controlled-value metadata for returned attributes. metadataLocale selects presentation language; otherwise the detected text language is used. Unsupported locales explicitly fall back to English.","type":"boolean"},"limit":{"maximum":25,"minimum":1,"type":"integer"},"locale":{"description":"Optional text-language hint. A mismatch is neutral: it never restricts cross-language term or attribute matching.","maxLength":100,"minLength":1,"type":"string"},"market":{"maxLength":200,"minLength":1,"type":"string"},"metadataLocale":{"description":"Requested presentation locale for attribute metadata. Defaults to the detected matched-term language, then English.","maxLength":100,"minLength":1,"type":"string"},"observations":{"additionalProperties":false,"properties":{"certificationClaim":{"items":{"enum":["halal","kosher","red-tractor","ifs","brcgs","haccp","iso-22000","fsis","tuv","imta","organic"],"type":"string"},"maxItems":11,"type":"array","uniqueItems":true},"originCountry":{"items":{"pattern":"^[A-Z]{2}$","type":"string"},"maxItems":20,"type":"array","uniqueItems":true},"packaging":{"items":{"enum":["box","jumbo-box","crate","iwp","ivp","vacuum","polyblock","naked-block","plate-frozen","hanging"],"type":"string"},"maxItems":10,"type":"array","uniqueItems":true},"refrigeration":{"enum":["fresh","chilled","frozen"],"type":"string"}},"type":"object"},"requestReference":{"description":"Optional caller-owned source-record reference copied into the resolution event ledger.","maxLength":500,"minLength":1,"type":"string"},"scheme":{"maxLength":200,"minLength":1,"type":"string"},"species":{"maxLength":200,"minLength":1,"type":"string"},"supportingTexts":{"description":"Optional noisy descriptions, specifications, or commercial terms analyzed for governed evidence. Exact governed single-ribbed or sheet-ribbed product wording may refine an already selected generic pork belly with explicit supporting_text_refinement provenance; supporting text otherwise cannot create identity, improve matchTypeCore, or contribute unsupported residue to vocabulary aggregation.","items":{"additionalProperties":false,"properties":{"locale":{"description":"Optional language hint for this supporting source. It never restricts cross-language recognition.","maxLength":100,"minLength":1,"type":"string"},"role":{"enum":["listing_description","technical_specification","commercial_terms"],"type":"string"},"text":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["text","role"],"type":"object"},"maxItems":5,"type":"array"},"text":{"maxLength":2000,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"attributeMetadata":{"attributes":{"refrigeration":{"field":{"cardinality":"one","description":"The product's stated fresh, chilled, or frozen temperature condition.","fallbackUsed":false,"id":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","label":"Condition","locale":"en","valueKind":"controlled"},"values":[{"description":"The product is offered frozen.","fallbackUsed":false,"id":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","label":"Frozen","locale":"en","machineValue":"frozen"}]}},"fallbackLocale":"en","fallbackUsed":false,"requestedLocale":"en","resolvedLocale":"en"},"resolutionEvent":{"decision":"auto_tag","id":"0198a000-0000-7000-8000-000000000302","reasonCodes":[]},"resolver":{"behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9","version":"1.48.0"},"result":{"ambiguities":[],"attributes":{"refrigeration":{"basis":"controlled_vocabulary","confidence":0.98,"normalized":"frozen","raw":"Frozen"}},"candidates":[{"concept":{"canonicalLabel":"Pork Belly","conceptType":"cut","definition":"The ventral portion of a pig carcass after removal of the loin.","id":"0198a000-0000-7000-8000-000000001025","status":"active"},"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"},"contextScore":0.5,"lexicalScore":0.943333,"matchedTerm":{"conceptId":"0198a000-0000-7000-8000-000000001025","confidence":1,"displayText":"Pork Belly","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000002025","locale":"en","normalizedText":"pork belly","sourceId":"0198a000-0000-7000-8000-000000000002","termType":"preferred","tokens":["pork","belly"]},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906}],"canonicalAttributes":[{"cardinality":"one","fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","valueKind":"controlled","values":[{"basis":"controlled_vocabulary","confidence":0.98,"key":"frozen","machineValue":"frozen","raw":"MROŻONA","source":"text","valueId":"01a01a72-9d4e-724f-a634-0b047477a82a"}]}],"commercialValues":[],"detectedLocale":{"basis":"matched_term","confidence":0.99,"language":"pl","locale":"pl","termId":"0198a000-0000-7000-8000-000000002025"},"explanation":[],"inputMatches":[],"normalizedText":"frozen pork belly","qualifiers":[],"selectedFrom":{"index":0,"kind":"alternate_text","role":"catalogue_product_name","text":"polędwiczka wieprzowa"},"selection":{"alternatives":[],"primary":{"concept":{"canonicalLabel":"Pork Belly","conceptType":"cut","definition":"The ventral portion of a pig carcass after removal of the loin.","id":"0198a000-0000-7000-8000-000000001025","status":"active"},"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"},"contextScore":0.5,"lexicalScore":0.943333,"matchedTerm":{"conceptId":"0198a000-0000-7000-8000-000000001025","confidence":1,"displayText":"Pork Belly","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000002025","locale":"en","normalizedText":"pork belly","sourceId":"0198a000-0000-7000-8000-000000000002","termType":"preferred","tokens":["pork","belly"]},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906},"selectedFrom":{"index":0,"kind":"alternate_text","role":"catalogue_product_name","text":"polędwiczka wieprzowa"},"status":"resolved"},"supportingEvidence":[{"recognized":[{"basis":"controlled_vocabulary","confidence":0.98,"effect":"corroborated","fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","kind":"attribute","machineValue":"frozen","raw":"Mrożona","valueId":"01a01a72-9d4e-724f-a634-0b047477a82a"}],"source":{"index":0,"kind":"supporting_text","role":"listing_description"}}],"text":"Frozen pork belly","tokens":["frozen","pork","belly"],"unresolved":[]},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"attributeMetadata":{"additionalProperties":false,"description":"Release-scoped presentation metadata for the attributes present in this response. Included only when includeAttributeMetadata is true.","properties":{"attributes":{"additionalProperties":{"additionalProperties":false,"properties":{"field":{"additionalProperties":false,"properties":{"cardinality":{"enum":["one","many"],"type":"string"},"description":{"minLength":1,"type":"string"},"fallbackUsed":{"type":"boolean"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"key":{"minLength":1,"type":"string"},"label":{"minLength":1,"type":"string"},"locale":{"enum":["en","bg","pl","de"],"type":"string"},"valueKind":{"enum":["controlled","measurement","reference","structured","composite"],"type":"string"}},"required":["id","key","cardinality","valueKind","locale","label","description","fallbackUsed"],"type":"object"},"values":{"items":{"additionalProperties":false,"properties":{"description":{"minLength":1,"type":"string"},"fallbackUsed":{"type":"boolean"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"key":{"minLength":1,"type":"string"},"label":{"minLength":1,"type":"string"},"locale":{"enum":["en","bg","pl","de"],"type":"string"},"machineValue":{"minLength":1,"type":"string"}},"required":["id","key","machineValue","locale","label","description","fallbackUsed"],"type":"object"},"type":"array"}},"required":["field","values"],"type":"object"},"type":"object"},"fallbackLocale":{"const":"en","type":"string"},"fallbackUsed":{"type":"boolean"},"requestedLocale":{"minLength":1,"type":"string"},"resolvedLocale":{"enum":["en","bg","pl","de"],"type":"string"}},"required":["requestedLocale","resolvedLocale","fallbackLocale","fallbackUsed","attributes"],"type":"object"},"concept":{"$ref":"#/components/schemas/PublishedResource"},"enrichment":{"additionalProperties":true,"type":"object"},"incoterm":{"additionalProperties":false,"properties":{"code":{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},"deliveryPlace":{"minLength":1,"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"misuse":{"enum":["obsolete-term","sea-term-for-container"],"type":"string"},"version":{"const":"2020","type":"string"}},"required":["id","code","version"],"type":"object"},"resolutionEvent":{"additionalProperties":false,"properties":{"decision":{"enum":["auto_tag","review","no_match"],"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"reasonCodes":{"items":{"enum":["selection_unresolved","selection_ambiguous","core_match_not_exact","has_ambiguities","blocking_unresolved_text"],"type":"string"},"type":"array"}},"required":["id","decision","reasonCodes"],"type":"object"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"result":{"additionalProperties":true,"properties":{"attributes":{"additionalProperties":true,"properties":{"bloodCondition":{"additionalProperties":false,"description":"Explicit seller-stated bloodied condition of a governed trimmings product. It is independent of product identity, Polish processing-meat class, safety, and conformity.","properties":{"basis":{"const":"controlled_vocabulary","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"enum":["bloodied"],"type":"string"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"fabricatedFrom":{"items":{"additionalProperties":false,"description":"An explicitly stated source cut for a fabrication-trimmings product, retained as a stable taxonomy concept reference.","properties":{"basis":{"const":"reviewed_term","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"additionalProperties":false,"properties":{"canonicalLabel":{"minLength":1,"type":"string"},"conceptId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"schemeIds":{"items":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"type":"array"}},"required":["conceptId","canonicalLabel","schemeIds"],"type":"object"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"type":"array"},"fatFirmness":{"additionalProperties":false,"description":"Explicit seller-stated qualitative firmness of a governed raw separable-fat product. Refrigeration remains a separate attribute.","properties":{"basis":{"const":"controlled_vocabulary","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"enum":["hard","soft"],"type":"string"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"packaging":{"items":{"additionalProperties":false,"properties":{"basis":{"type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"needsReview":{"description":"True when the retained generic value is safe but a narrower normalization requires review.","type":"boolean"},"normalized":{"enum":["vacuum","polyblock","box","carton","naked-block"],"type":"string"},"raw":{"type":"string"},"suggested":{"description":"The narrower packaging value suggested for human confirmation.","enum":["carton"],"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"type":"array"},"packagingOptions":{"additionalProperties":false,"description":"Lossless packaging configurations. Alternatives are separate options and must not be interpreted as simultaneous components.","properties":{"basis":{"type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"additionalProperties":false,"properties":{"options":{"items":{"additionalProperties":false,"properties":{"arrangement":{"items":{"enum":["layer","soldier"],"type":"string"},"type":"array"},"components":{"items":{"additionalProperties":false,"properties":{"atmosphere":{"enum":["vacuum","modified-atmosphere"],"type":"string"},"contentCount":{"additionalProperties":false,"properties":{"maximum":{"minimum":1,"type":"integer"},"minimum":{"minimum":1,"type":"integer"},"relation":{"enum":["value","range","minimum"],"type":"string"},"unit":{"enum":["piece"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"form":{"enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"],"type":"string"},"level":{"enum":["immediate","shipping"],"type":"string"},"materials":{"items":{"enum":["polyethylene","polystyrene","plastic","cardboard","foil"],"type":"string"},"type":"array"},"netWeight":{"additionalProperties":false,"properties":{"derived":{"type":"boolean"},"maximum":{"minimum":0,"type":"number"},"minimum":{"minimum":0,"type":"number"},"relation":{"enum":["minimum","range","value"],"type":"string"},"unit":{"enum":["g","kg","lb","oz"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"sizeClass":{"enum":["E1","E2","E3","E6"],"type":"string"},"tradeTerm":{"enum":["iwp","ivp"],"type":"string"},"unitization":{"enum":["individual","bulk"],"type":"string"},"unitsPerParent":{"minimum":1,"type":"integer"}},"required":["level","form"],"type":"object"},"type":"array"},"materials":{"items":{"enum":["polyethylene","polystyrene","plastic","cardboard","foil"],"type":"string"},"type":"array"},"presentations":{"items":{"additionalProperties":false,"properties":{"contentCount":{"additionalProperties":false,"properties":{"maximum":{"minimum":1,"type":"integer"},"minimum":{"minimum":1,"type":"integer"},"relation":{"enum":["value","range","minimum"],"type":"string"},"unit":{"enum":["piece"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"form":{"enum":["block"],"type":"string"},"liner":{"enum":["polyethylene","none","unspecified"],"type":"string"},"netWeight":{"additionalProperties":false,"properties":{"derived":{"type":"boolean"},"maximum":{"minimum":0,"type":"number"},"minimum":{"minimum":0,"type":"number"},"relation":{"enum":["minimum","range","value"],"type":"string"},"unit":{"enum":["g","kg","lb","oz"],"type":"string"}},"required":["minimum","unit","relation"],"type":"object"},"tradeTerm":{"enum":["polyblock","naked-block"],"type":"string"}},"required":["form","liner"],"type":"object"},"type":"array"},"unitization":{"enum":["individual","bulk"],"type":"string"},"unspecified":{"type":"boolean"}},"required":["components"],"type":"object"},"minItems":1,"type":"array"},"relation":{"enum":["single","alternatives"],"type":"string"}},"required":["relation","options"],"type":"object"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"},"processingMeatClass":{"additionalProperties":false,"description":"Seller-stated Polish processing-meat class, qualified by species because identical Roman codes have different pork and beef meanings.","properties":{"basis":{"const":"structured_pattern","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"normalized":{"additionalProperties":false,"properties":{"code":{"enum":["I","II","IIA","IIB","III","IV"],"type":"string"},"species":{"enum":["porcine","bovine"],"type":"string"},"system":{"const":"polish-processing-meat","type":"string"}},"required":["system","species","code"],"type":"object"},"raw":{"type":"string"}},"required":["normalized","raw","confidence","basis"],"type":"object"}},"type":"object"},"candidates":{"items":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"type":"array"},"commercialValues":{"description":"High-confidence currency-anchored prices recognized in identity-bearing input and excluded from product matching, taxonomy attributes, and blocking unresolved text.","items":{"additionalProperties":false,"properties":{"amount":{"exclusiveMinimum":0,"type":"number"},"basis":{"const":"structured_pattern","type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"currency":{"minLength":1,"type":"string"},"kind":{"enum":["price","unit_price"],"type":"string"},"normalized":{"minLength":1,"type":"string"},"raw":{"minLength":1,"type":"string"},"unit":{"minLength":1,"type":"string"}},"required":["kind","amount","currency","raw","normalized","confidence","basis"],"type":"object"},"type":"array"},"nonProductVocabulary":{"items":{"additionalProperties":false,"properties":{"basis":{"const":"reviewed_non_product_vocabulary","type":"string"},"code":{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"matchedTermId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"misuse":{"enum":["obsolete-term","sea-term-for-container"],"type":"string"},"normalized":{"minLength":1,"type":"string"},"place":{"minLength":1,"type":"string"},"raw":{"minLength":1,"type":"string"},"subtype":{"enum":["incoterm","schedule","commercial","contact"],"type":"string"},"version":{"const":"2020","type":"string"}},"required":["id","matchedTermId","subtype","raw","normalized","basis"],"type":"object"},"type":"array"},"qualifiers":{"items":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"type":"array"},"selection":{"additionalProperties":true,"properties":{"alternatives":{"items":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"type":"array"},"missingContext":{"items":{"enum":["species","bone_state","scheme"],"type":"string"},"type":"array"},"options":{"items":{"additionalProperties":true,"properties":{"boneState":{"enum":["bone-in","boneless","partly-boned"],"type":"string"},"candidate":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"schemes":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"species":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"primary":{"additionalProperties":true,"properties":{"matchType":{"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility.","enum":["exact","phrase","fuzzy"],"type":"string"},"matchTypeCore":{"description":"Terminology match after safely consumed controlled attributes, governed non-product vocabulary, and compatible reviewed qualifiers are excluded. An orderable phrase candidate may be promoted before selection when deterministic, unambiguous attributes cover every remaining product token; a resolved primary may also be promoted after final blocking-residue and ambiguity checks. Fuzzy is never promoted. The supported automatic-tagging gate additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue.","enum":["exact","phrase","fuzzy"],"type":"string"}},"type":"object"},"reasonCode":{"enum":["missing_species","missing_bone_state","missing_scheme","unsupported_product_for_species","unsupported_product_for_commodity","insufficient_context","low_confidence_match","no_candidate"],"type":"string"},"selectedFrom":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"text","type":"string"},"text":{"minLength":1,"type":"string"}},"required":["kind","text"],"type":"object"},{"additionalProperties":false,"properties":{"index":{"minimum":0,"type":"integer"},"kind":{"const":"alternate_text","type":"string"},"role":{"const":"catalogue_product_name","type":"string"},"text":{"minLength":1,"type":"string"}},"required":["kind","index","role","text"],"type":"object"},{"additionalProperties":false,"properties":{"base":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"text","type":"string"},"text":{"minLength":1,"type":"string"}},"required":["kind","text"],"type":"object"},{"additionalProperties":false,"properties":{"index":{"minimum":0,"type":"integer"},"kind":{"const":"alternate_text","type":"string"},"role":{"const":"catalogue_product_name","type":"string"},"text":{"minLength":1,"type":"string"}},"required":["kind","index","role","text"],"type":"object"}]},"index":{"minimum":0,"type":"integer"},"kind":{"const":"supporting_text_refinement","type":"string"},"role":{"enum":["listing_description","technical_specification"],"type":"string"},"text":{"minLength":1,"type":"string"}},"required":["kind","base","index","role","text"],"type":"object"}]}},"type":"object"},"supportingEvidence":{"items":{"additionalProperties":false,"properties":{"recognized":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"basis":{"minLength":1,"type":"string"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"effect":{"enum":["added","corroborated","conflicted","informational"],"type":"string"},"fieldId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"key":{"minLength":1,"type":"string"},"kind":{"const":"attribute","type":"string"},"machineValue":{"minLength":1,"type":"string"},"raw":{"minLength":1,"type":"string"},"valueId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},"required":["kind","fieldId","key","machineValue","raw","confidence","basis","effect"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},"effect":{"const":"informational","type":"string"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"kind":{"const":"non_product_vocabulary","type":"string"},"matchedTermId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"misuse":{"enum":["obsolete-term","sea-term-for-container"],"type":"string"},"normalized":{"minLength":1,"type":"string"},"place":{"minLength":1,"type":"string"},"raw":{"minLength":1,"type":"string"},"subtype":{"enum":["incoterm","schedule","commercial","contact"],"type":"string"},"version":{"const":"2020","type":"string"}},"required":["kind","id","matchedTermId","subtype","normalized","raw","effect"],"type":"object"},{"additionalProperties":false,"properties":{"alternatives":{"items":{"minLength":1,"type":"string"},"type":"array"},"effect":{"const":"conflicted","type":"string"},"field":{"minLength":1,"type":"string"},"kind":{"const":"conflict","type":"string"},"raw":{"items":{"minLength":1,"type":"string"},"type":"array"}},"required":["kind","field","alternatives","raw","effect"],"type":"object"},{"additionalProperties":false,"properties":{"effect":{"const":"added","type":"string"},"fieldId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"fromConceptId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"key":{"const":"ribRemovalStyle","type":"string"},"kind":{"const":"identity_refinement","type":"string"},"machineValue":{"enum":["single-ribbed","sheet-ribbed"],"type":"string"},"raw":{"minLength":1,"type":"string"},"toConceptId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},"required":["kind","fromConceptId","toConceptId","fieldId","key","machineValue","raw","effect"],"type":"object"}]},"type":"array"},"source":{"additionalProperties":false,"properties":{"index":{"minimum":0,"type":"integer"},"kind":{"const":"supporting_text","type":"string"},"role":{"enum":["listing_description","technical_specification","commercial_terms"],"type":"string"}},"required":["kind","index","role"],"type":"object"}},"required":["source","recognized"],"type":"object"},"type":"array"}},"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","resolver","resolutionEvent","result"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Resolve a caller-sanitized meat-trade description","tags":["Operations"],"x-rate-limit":{"maximumRequests":600,"windowMs":60000},"x-required-scope":"taxonomy:resolve"}},"/v1/schemes":{"get":{"operationId":"listSchemes","responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"schemes":[{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000000202","payload":{"authority":"UNECE","code":"UNECE-PORK","marketContextIds":[],"name":"UNECE Standard for Porcine Meat","status":"current","version":"2023"},"sourceId":"0198a000-0000-7000-8000-000000000002"}],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"schemes":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","schemes"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List schemes from the current published release","tags":["Schemes"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/schemes/{id}/tree":{"get":{"description":"Returns a bounded hierarchy from the current published taxonomy release. `root` may be a supported concept identifier or alias.","operationId":"browseSchemeTree","parameters":[{"description":"Stable taxonomy entity identifier.","example":"0198a000-0000-7000-8000-000000001025","in":"path","name":"id","required":true,"schema":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"}},{"description":"Root concept identifier or supported alias.","example":"Pork","in":"query","name":"root","required":true,"schema":{"maxLength":200,"minLength":1,"type":"string"}},{"description":"Maximum number of hierarchy edges to traverse from the root.","example":3,"in":"query","name":"maxDepth","required":false,"schema":{"maximum":12,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"},"tree":{"edges":[],"maxDepth":3,"nodes":[{"concept":{"canonicalLabel":"Pork Belly","conceptType":"cut","confidence":1,"definition":"The ventral portion of a pig carcass after removal of the loin.","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","status":"active"},"depth":0}],"root":{"canonicalLabel":"Pork Belly","conceptType":"cut","confidence":1,"definition":"The ventral portion of a pig carcass after removal of the loin.","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","status":"active"},"scheme":{"authority":"UNECE","code":"UNECE-PORK","confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000000202","marketContextIds":[],"name":"UNECE Standard for Porcine Meat","sourceId":"0198a000-0000-7000-8000-000000000002","status":"current","version":"2023"}}}}},"schema":{"additionalProperties":false,"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"tree":{"additionalProperties":true,"type":"object"}},"required":["taxonomyRelease","tree"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Browse the current published scheme hierarchy","tags":["Schemes"],"x-rate-limit":{"maximumRequests":30,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/species":{"get":{"operationId":"listSpecies","parameters":[{"description":"Maximum number of records to return.","example":25,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"}},{"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0","in":"query","name":"cursor","required":false,"schema":{"maxLength":512,"minLength":1,"type":"string"}},{"description":"Case-insensitive text used to filter canonical labels and reviewed terms.","example":"belly","in":"query","name":"query","required":false,"schema":{"maxLength":200,"minLength":1,"type":"string"}},{"description":"Published concept lifecycle status.","example":"active","in":"query","name":"status","required":false,"schema":{"enum":["draft","active","deprecated"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"species":[{"confidence":1,"evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001001","payload":{"canonicalLabel":"Domestic pig","conceptType":"animal_taxon","definition":"The domesticated pig species used for pork production.","status":"active"},"sourceId":"0198a000-0000-7000-8000-000000000002"}],"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"nextCursor":{"minLength":1,"type":"string"},"species":{"items":{"$ref":"#/components/schemas/PublishedResource"},"type":"array"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","species"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List species from the current published release","tags":["Concepts"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:read"}},"/v1/substitutions":{"post":{"description":"Returns only reviewed, directional substitutions that satisfy the supplied confidence and suitability thresholds.","operationId":"findMeatSubstitutes","requestBody":{"content":{"application/json":{"examples":{"default":{"summary":"Example request","value":{"intendedUse":"slow roasting","minimumConfidence":0.75,"minimumSuitability":0.7,"targetConcept":"Pork Belly"}}},"schema":{"additionalProperties":false,"properties":{"candidateConcept":{"maxLength":200,"minLength":1,"type":"string"},"intendedUse":{"maxLength":200,"minLength":1,"type":"string"},"market":{"maxLength":200,"minLength":1,"type":"string"},"minimumConfidence":{"maximum":1,"minimum":0,"type":"number"},"minimumSuitability":{"maximum":1,"minimum":0,"type":"number"},"scheme":{"maxLength":200,"minLength":1,"type":"string"},"targetConcept":{"maxLength":200,"minLength":1,"type":"string"}},"required":["targetConcept"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"result":{"minimumConfidence":0.75,"minimumSuitability":0.7,"requestedIntendedUse":"slow roasting","substitutions":[],"target":{"canonicalLabel":"Pork Belly","conceptType":"cut","confidence":1,"definition":"The ventral portion of a pig carcass after removal of the loin.","evidenceClass":"authoritative","id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","status":"active"}},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"}}}},"schema":{"additionalProperties":false,"properties":{"result":{"additionalProperties":true,"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"}},"required":["taxonomyRelease","result"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Find reviewed directional substitutions","tags":["Operations"],"x-rate-limit":{"maximumRequests":20,"windowMs":60000},"x-required-scope":"taxonomy:resolve"}},"/v1/unknown-vocabulary":{"get":{"description":"Returns only genuinely unsupported vocabulary attributed to the authenticated API client. Counts, latest sanitized sample text, context, and timestamps are isolated from every other client. Requires `taxonomy:vocabulary:read`.","operationId":"listOwnUnknownVocabulary","parameters":[{"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0","in":"query","name":"cursor","required":false,"schema":{"minLength":1,"type":"string"}},{"description":"Maximum number of records to return.","example":25,"in":"query","name":"limit","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer"}},{"in":"query","name":"locale","required":false,"schema":{"maxLength":100,"minLength":1,"type":"string"}},{"description":"Case-insensitive text used to filter canonical labels and reviewed terms.","example":"belly","in":"query","name":"query","required":false,"schema":{"maxLength":200,"minLength":1,"type":"string"}},{"description":"Published concept lifecycle status.","example":"active","in":"query","name":"status","required":false,"schema":{"enum":["active","open","in_review","known","ignored","all"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"summary":{"active":1,"ignored":0,"known":0,"total":1},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"},"unknownVocabulary":[{"displayText":"oystercut","evaluationOccurrenceCount":0,"evaluationRequestCount":0,"firstSeenAt":"2026-08-18T08:00:00.000Z","firstSeenRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8"},"id":"0198a000-0000-7000-8000-000000004202","lastContext":{"locale":"en","species":"Domestic pig"},"lastOperation":"resolve","lastSampleText":"Pork calibrate legs oystercut","lastSeenAt":"2026-08-19T12:00:00.000Z","lastSeenRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8"},"locale":"en","normalizedText":"oystercut","occurrenceCount":3,"productionOccurrenceCount":3,"productionRequestCount":3,"requestCount":3,"status":"open"}]}}},"schema":{"additionalProperties":false,"properties":{"nextCursor":{"minLength":1,"type":"string"},"summary":{"additionalProperties":false,"properties":{"active":{"minimum":0,"type":"integer"},"ignored":{"minimum":0,"type":"integer"},"known":{"minimum":0,"type":"integer"},"total":{"minimum":0,"type":"integer"}},"required":["active","ignored","known","total"],"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"unknownVocabulary":{"items":{"additionalProperties":false,"properties":{"displayText":{"maxLength":2000,"minLength":1,"type":"string"},"evaluationOccurrenceCount":{"minimum":0,"type":"integer"},"evaluationRequestCount":{"minimum":0,"type":"integer"},"firstSeenAt":{"format":"date-time","type":"string"},"firstSeenRelease":{"additionalProperties":false,"properties":{"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"version":{"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","type":"string"}},"required":["id","version"],"type":"object"},"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"ignoredAt":{"format":"date-time","type":"string"},"knownAt":{"format":"date-time","type":"string"},"lastChecked":{"additionalProperties":false,"properties":{"at":{"format":"date-time","type":"string"},"release":{"additionalProperties":false,"properties":{"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"version":{"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","type":"string"}},"required":["id","version"],"type":"object"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"}},"required":["at","release","resolver"],"type":"object"},"lastContext":{"additionalProperties":false,"properties":{"commodity":{"minLength":1,"type":"string"},"locale":{"minLength":1,"type":"string"},"market":{"minLength":1,"type":"string"},"scheme":{"minLength":1,"type":"string"},"species":{"minLength":1,"type":"string"}},"type":"object"},"lastOperation":{"enum":["explore","resolve"],"type":"string"},"lastSampleText":{"maxLength":2000,"minLength":1,"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"lastSeenByClientId":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"lastSeenRelease":{"additionalProperties":false,"properties":{"id":{"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"version":{"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","type":"string"}},"required":["id","version"],"type":"object"},"locale":{"maxLength":100,"minLength":1,"type":"string"},"normalizedText":{"maxLength":2000,"minLength":1,"type":"string"},"occurrenceCount":{"minimum":1,"type":"integer"},"productionOccurrenceCount":{"minimum":0,"type":"integer"},"productionRequestCount":{"minimum":0,"type":"integer"},"requestCount":{"minimum":1,"type":"integer"},"status":{"enum":["open","in_review","known","ignored"],"type":"string"},"statusReason":{"minLength":1,"type":"string"},"statusUpdatedBy":{"minLength":1,"type":"string"}},"required":["id","displayText","normalizedText","lastSampleText","locale","status","requestCount","occurrenceCount","productionRequestCount","productionOccurrenceCount","evaluationRequestCount","evaluationOccurrenceCount","firstSeenAt","lastSeenAt","firstSeenRelease","lastSeenRelease","lastOperation"],"type":"object"},"type":"array"}},"required":["taxonomyRelease","unknownVocabulary","summary"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"List unsupported vocabulary observed from the current API client","tags":["Vocabulary"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:vocabulary:read"}},"/v1/validate":{"post":{"description":"Runs validation rules independently of resolution and does not persist submitted listings. Definite contradictions use `must_fix`; heuristic anomalies use `worth_checking`. The current price rule triggers only when a price is strictly more than 300% above its supplied average (greater than four times that average). Calling this operation does not change resolver, Explore, or taxonomy data.","operationId":"validateTradeListings","requestBody":{"content":{"application/json":{"examples":{"default":{"summary":"Example request","value":{"listings":[{"category":"Pork","price":{"amount":21,"currency":"EUR","unit":"kg"},"priceBenchmark":{"averageAmount":4,"label":"Pork body fat","sampleSize":28,"scope":"taxonomy_concept"},"productName":"Pork body fat","reference":"offer-1042","title":"Frozen pork body fat halal"}]}}},"schema":{"additionalProperties":false,"properties":{"listings":{"items":{"additionalProperties":false,"properties":{"category":{"maxLength":200,"minLength":1,"type":"string"},"conceptLabel":{"maxLength":500,"minLength":1,"type":"string"},"price":{"additionalProperties":false,"properties":{"amount":{"exclusiveMinimum":0,"type":"number"},"currency":{"maxLength":12,"minLength":1,"type":"string"},"unit":{"maxLength":40,"minLength":1,"type":"string"}},"required":["amount","currency","unit"],"type":"object"},"priceBenchmark":{"additionalProperties":false,"properties":{"averageAmount":{"exclusiveMinimum":0,"type":"number"},"label":{"maxLength":300,"minLength":1,"type":"string"},"sampleSize":{"minimum":2,"type":"integer"},"scope":{"enum":["category","taxonomy_concept"],"type":"string"}},"required":["averageAmount","label","sampleSize","scope"],"type":"object"},"productName":{"maxLength":500,"minLength":1,"type":"string"},"reference":{"maxLength":200,"minLength":1,"type":"string"},"title":{"maxLength":2000,"minLength":1,"type":"string"}},"required":["reference","title"],"type":"object"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["listings"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"result":{"listings":[{"attention":"must_fix","findings":[{"attention":"must_fix","code":"PORK_HALAL_CONTRADICTION","evidence":[{"label":"Category","value":"Pork"},{"label":"Certification claim","value":"halal"}],"fields":["category","title"],"message":"The listing identifies a pork product and also makes a halal claim.","recommendation":"Remove the halal claim or correct the product classification.","title":"Pork cannot be halal"},{"attention":"worth_checking","code":"PRICE_OVER_300_PERCENT_ABOVE_AVERAGE","evidence":[{"label":"Listing price","value":"21 EUR / kg"},{"label":"Pork body fat average","value":"4 EUR / kg"},{"label":"Comparison set","value":"28 priced listings"}],"fields":["price","priceBenchmark"],"message":"The price is 425% above the Pork body fat average.","recommendation":"Confirm the currency, unit, and entered amount before using this price.","title":"Price is far above similar listings"}],"reference":"offer-1042","title":"Frozen pork body fat halal"}],"summary":{"checkedListings":1,"clearListings":0,"listingsNeedingAttention":1,"mustFixFindings":1,"worthCheckingFindings":1}},"taxonomyRelease":{"contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","id":"0198a000-0000-7000-8000-000000000301","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","version":"0.4.8"},"validator":{"behaviorChecksum":"f72c2b905ec8c374713b187da8d8ffb62c9d5e1a0d43ecc0a78536f47b895672","version":"1.0.0"}}}},"schema":{"additionalProperties":false,"properties":{"result":{"additionalProperties":false,"properties":{"listings":{"items":{"additionalProperties":false,"properties":{"attention":{"enum":["must_fix","worth_checking"],"type":"string"},"findings":{"items":{"additionalProperties":false,"properties":{"attention":{"enum":["must_fix","worth_checking"],"type":"string"},"code":{"pattern":"^[A-Z][A-Z0-9_]*$","type":"string"},"evidence":{"items":{"additionalProperties":false,"properties":{"label":{"minLength":1,"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["label","value"],"type":"object"},"type":"array"},"fields":{"items":{"minLength":1,"type":"string"},"type":"array"},"message":{"minLength":1,"type":"string"},"recommendation":{"minLength":1,"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["attention","code","evidence","fields","message","recommendation","title"],"type":"object"},"type":"array"},"reference":{"maxLength":200,"minLength":1,"type":"string"},"title":{"maxLength":2000,"minLength":1,"type":"string"}},"required":["attention","findings","reference","title"],"type":"object"},"type":"array"},"summary":{"additionalProperties":false,"properties":{"checkedListings":{"minimum":0,"type":"integer"},"clearListings":{"minimum":0,"type":"integer"},"listingsNeedingAttention":{"minimum":0,"type":"integer"},"mustFixFindings":{"minimum":0,"type":"integer"},"worthCheckingFindings":{"minimum":0,"type":"integer"}},"required":["checkedListings","clearListings","listingsNeedingAttention","mustFixFindings","worthCheckingFindings"],"type":"object"}},"required":["listings","summary"],"type":"object"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"validator":{"additionalProperties":false,"properties":{"behaviorChecksum":{"pattern":"^[0-9a-f]{64}$","type":"string"},"version":{"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","type":"string"}},"required":["version","behaviorChecksum"],"type":"object"}},"required":["taxonomyRelease","validator","result"],"type":"object"}}},"description":"Successful response.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"400":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"401":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"403":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"404":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The requested route or taxonomy entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"409":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"429":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"},"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"500":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The taxonomy request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}},"503":{"content":{"application/json":{"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required taxonomy dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}},"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}}}},"security":[{"bearerAuth":[]}],"summary":"Check trade listings for contradictions and unusual values","tags":["Operations"],"x-rate-limit":{"maximumRequests":120,"windowMs":60000},"x-required-scope":"taxonomy:resolve"}}},"servers":[{"description":"Production","url":"https://taxonomy.meatborsa.com"},{"description":"Local development","url":"http://localhost:3000"}],"tags":[{"description":"Published taxonomy releases and deterministic exports.","name":"Releases"},{"description":"Published concepts, species, and relationships.","name":"Concepts"},{"description":"Classification schemes and bounded hierarchy browsing.","name":"Schemes"},{"description":"Release-bound resolver context vocabulary and field guidance.","name":"Resolution"},{"description":"Operations that do not mutate the published taxonomy; Resolve and Explore may update operational unknown-vocabulary aggregates.","name":"Operations"}]}