{"openapi":"3.1.0","info":{"title":"Meat Ontology API","version":"1.52.0","description":"Server-side API for browsing and resolving immutable Meat Ontology releases and independent recipe knowledge snapshots. The `/v1` path identifies the HTTP contract version; `taxonomyRelease.version` identifies the canonical ontology release, `knowledgeSnapshot.id` identifies a recipe knowledge publication, and `resolver.behaviorChecksum` identifies the resolver behavior used for a decision."},"externalDocs":{"description":"Integration guide, authentication, errors, and agent instructions","url":"https://taxonomy.meatborsa.com/docs"},"servers":[{"url":"https://taxonomy.meatborsa.com","description":"Production"},{"url":"http://localhost:3000","description":"Local development"}],"tags":[{"name":"Releases","description":"Published ontology releases and deterministic exports."},{"name":"Concepts","description":"Published concepts, species, and relationships."},{"name":"Schemes","description":"Classification schemes and bounded hierarchy browsing."},{"name":"Resolution","description":"Release-bound resolver context vocabulary and field guidance."},{"name":"Operations","description":"Operations that do not mutate the published ontology; Resolve and Explore may update operational unknown-vocabulary aggregates."}],"components":{"headers":{"RateLimitLimit":{"description":"Maximum requests allowed for this client and operation in the window.","schema":{"type":"integer","minimum":1}},"RateLimitRemaining":{"description":"Requests remaining for this client and operation in the current window.","schema":{"type":"integer","minimum":0}},"RateLimitReset":{"description":"Seconds until the current rate-limit window resets.","schema":{"type":"integer","minimum":1}},"RetryAfter":{"description":"Minimum seconds to wait before retrying a rate-limited request.","schema":{"type":"integer","minimum":1}},"Traceparent":{"description":"W3C trace context for correlating the request with service telemetry.","schema":{"type":"string","pattern":"^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-f]{2}$"}}},"schemas":{"ApiError":{"type":"object","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","detail","requestId"],"properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"detail":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1}}}}},"PublishedReleaseSummary":{"type":"object","additionalProperties":false,"required":["id","version","publishedAt","publishedBy","contentChecksum","releaseNotes"],"properties":{"id":{"type":"string","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}$"},"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"},"parentReleaseId":{"type":"string","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}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string","minLength":1},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"releaseNotes":{"type":"string"}}},"PublishedResource":{"type":"object","additionalProperties":false,"required":["id","sourceId","evidenceClass","confidence","payload"],"properties":{"id":{"type":"string","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}$"},"sourceId":{"type":"string","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}$"},"evidenceClass":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"payload":{"type":"object","additionalProperties":true}}},"ResolverRevision":{"description":"Independent revision of the resolver behavior used with an ontology release. Compare behaviorChecksum for equality.","type":"object","additionalProperties":false,"required":["version","behaviorChecksum"],"properties":{"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"},"behaviorChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"TaxonomyRelease":{"type":"object","additionalProperties":false,"required":["id","version","publishedAt","publishedBy","contentChecksum"],"properties":{"id":{"type":"string","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}$"},"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"},"parentReleaseId":{"type":"string","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}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string","minLength":1},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Meat Ontology 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."}}},"paths":{"/v1/suggest":{"get":{"operationId":"suggestMeatProducts","summary":"Suggest published products within a full RFQ without recording resolution events","description":"Advisory typeahead over one current published in-memory snapshot. Accepts a caller-sanitized full RFQ up to 2,000 characters. Matches reviewed term prefixes at token boundaries within the RFQ, favors recent product wording, and uses trigram fuzzy fallback only when no useful prefix match exists. Fewer than two normalized characters returns an empty suggestions array. Groups by active product concept; locale is a ranking hint, never a filter. Species and scheme context distinguish ambiguous alternatives. Scores are opaque ranking signals, not confidence thresholds. This operation neither calls Resolve nor writes resolution events, cases, or unknown-vocabulary aggregates. Normal authentication usage accounting still applies. Limits are per API replica and client: 6,000 requests in any rolling 60 seconds and 200 in any rolling second; a 200 rps, 10-second burst requires sufficient minute-budget headroom. Responses are no-store. A subsequent Resolve uses its current release and may disagree; compare release IDs and refresh stale suggestions. Existing Resolve and MCP contracts are unchanged.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":6000,"windowMs":60000,"algorithm":"sliding_window","enforcement":"per-client-per-replica","burst":{"maximumRequests":200,"windowMs":1000}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2000,"description":"Caller-sanitized full RFQ. Fewer than two normalized characters returns no suggestions."}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":25,"default":8},"description":"Maximum number of records to return.","example":25},{"name":"locale","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Language hint for ranking only; never filters reviewed terms."}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","suggestions"],"properties":{"taxonomyRelease":{"type":"object","additionalProperties":false,"required":["id","version","contentChecksum"],"properties":{"id":{"type":"string","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}$"},"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"suggestions":{"type":"array","maxItems":25,"items":{"type":"object","additionalProperties":false,"required":["concept","matchedTerm","matchKind","score"],"properties":{"concept":{"type":"object","additionalProperties":false,"required":["id","conceptType","canonicalLabel","definition","schemeIds","species","schemes"],"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string","enum":["animal_taxon","animal_class","meat_commodity","carcass","anatomical_part","product_family","cut_family","cut","offal","fat","by_product","processed_product"]},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","code","name"],"properties":{"id":{"type":"string","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}$"},"code":{"type":"string"},"name":{"type":"string"}}}}}},"matchedTerm":{"type":"object","additionalProperties":false,"required":["displayText","normalizedText","locale","termType"],"properties":{"displayText":{"type":"string"},"normalizedText":{"type":"string"},"locale":{"type":"string"},"termType":{"type":"string","enum":["preferred","synonym","abbreviation","trader_term","misspelling"]}}},"matchKind":{"type":"string","enum":["prefix","fuzzy"]},"score":{"type":"number","minimum":0,"maximum":1,"description":"Opaque ranking signal. Use returned order; never threshold or persist this value."}}}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"suggestions":[{"concept":{"id":"0198a000-0000-7000-8000-000000001025","conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","schemeIds":["0198a000-0000-7000-8000-000000000202"],"species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalLabel":"Domestic pig"}],"schemes":[{"id":"0198a000-0000-7000-8000-000000000202","code":"UNECE-PORK","name":"UNECE Standard for Porcine Meat"}]},"matchedTerm":{"displayText":"Pork belly","normalizedText":"pork belly","locale":"en","termType":"preferred"},"matchKind":"prefix","score":0.81}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/releases":{"get":{"operationId":"listReleases","summary":"List immutable published ontology releases","tags":["Releases"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":512},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","releases"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"releases":{"type":"array","items":{"$ref":"#/components/schemas/PublishedReleaseSummary"}},"nextCursor":{"type":"string","minLength":1}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"releases":[{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","releaseNotes":"Bovine and veal ontology enrichment."}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/releases/latest":{"get":{"operationId":"getLatestRelease","summary":"Get the current immutable published release","tags":["Releases"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","resolver","release"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"release":{"$ref":"#/components/schemas/PublishedReleaseSummary"}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"release":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","releaseNotes":"Bovine and veal ontology enrichment."}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/releases/diff":{"get":{"operationId":"getReleaseDiff","summary":"Compare two immutable releases and obtain conservative re-tagging guidance","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`.","tags":["Releases"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":10,"windowMs":60000},"parameters":[{"name":"fromReleaseId","in":"query","required":true,"schema":{"type":"string","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}$"},"description":"Stable identifier of the older published release in the comparison.","example":"0198a000-0000-7000-8000-000000000300"},{"name":"toReleaseId","in":"query","required":false,"schema":{"type":"string","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}$"},"description":"Stable identifier of the newer published release. Defaults to the current release.","example":"0198a000-0000-7000-8000-000000000301"},{"name":"fromResolverBehaviorChecksum","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$"},"description":"Resolver behavior checksum stored with the previous decision. Omit only when provenance is unavailable and a full re-tag is acceptable.","example":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":500},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":512},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["formatVersion","taxonomyRelease","resolver","fromRelease","toRelease","diffChecksum","summary","changes","retagging","replacements"],"properties":{"formatVersion":{"type":"string","const":"1.0"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"fromRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"toRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"diffChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"summary":{"description":"Counts across the complete diff, not only the current page of changes.","type":"object","additionalProperties":false,"required":["added","updated","removed","total"],"properties":{"added":{"type":"integer","minimum":0},"updated":{"type":"integer","minimum":0},"removed":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0}}},"changes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["action","entityType","entityId","impact"],"properties":{"action":{"type":"string","enum":["added","updated","removed"]},"entityType":{"type":"string","enum":["attribute_field","attribute_value","attribute_localization","attribute_alias","non_product_term","collection","recipe_profile","concept","term","scheme","market_context","relationship","source","external_identifier"]},"entityId":{"type":"string","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}$"},"impact":{"type":"string","enum":["metadata","resolution"]},"before":{"$ref":"#/components/schemas/PublishedResource"},"after":{"$ref":"#/components/schemas/PublishedResource"}}}},"retagging":{"type":"object","additionalProperties":false,"required":["mode","resolverComparison","affectedConceptIds","affectedTermIds","affectedVocabulary","recheckSelectionStatuses","recheckMatchTypes","reasons"],"properties":{"mode":{"type":"string","enum":["none","targeted","full"]},"resolverComparison":{"type":"string","enum":["unchanged","changed","unknown"],"description":"Comparison between the supplied prior behavior checksum and the resolver serving this response."},"affectedConceptIds":{"type":"array","items":{"type":"string","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}$"}},"affectedTermIds":{"type":"array","items":{"type":"string","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}$"}},"affectedVocabulary":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["normalizedText","locale","conceptId"],"properties":{"normalizedText":{"type":"string","minLength":1},"locale":{"type":"string","minLength":1},"conceptId":{"type":"string","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}$"}}}},"recheckSelectionStatuses":{"type":"array","items":{"type":"string","enum":["resolved","ambiguous","unresolved"]},"description":"Selection statuses eligible for re-resolution inside the target population. Empty for mode none."},"recheckMatchTypes":{"type":"array","items":{"type":"string","enum":["exact","phrase","fuzzy"]},"description":"Match types eligible for re-resolution inside the target population. Empty for mode none."},"reasons":{"type":"array","items":{"type":"string","enum":["no_effective_changes","metadata_only","reviewed_terms_changed","concepts_changed","resolution_graph_changed","resolution_context_changed","resolver_revision_unknown","resolver_behavior_changed"]}}}},"replacements":{"type":"object","additionalProperties":true},"nextCursor":{"type":"string","minLength":1}}},"examples":{"default":{"summary":"Example response","value":{"formatVersion":"1.0","taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","parentReleaseId":"0198a000-0000-7000-8000-000000000300"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"fromRelease":{"id":"0198a000-0000-7000-8000-000000000300","version":"0.4.7","publishedAt":"2026-08-12T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"},"toRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","parentReleaseId":"0198a000-0000-7000-8000-000000000300"},"diffChecksum":"dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd","summary":{"added":1,"updated":0,"removed":0,"total":1},"changes":[{"action":"added","entityType":"term","entityId":"0198a000-0000-7000-8000-000000002025","impact":"resolution","after":{"id":"0198a000-0000-7000-8000-000000002025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork collar","normalizedText":"pork collar","locale":"en","termType":"preferred"}}}],"retagging":{"mode":"targeted","resolverComparison":"unchanged","affectedConceptIds":["0198a000-0000-7000-8000-000000001025"],"affectedTermIds":["0198a000-0000-7000-8000-000000002025"],"affectedVocabulary":[{"normalizedText":"pork collar","locale":"en","conceptId":"0198a000-0000-7000-8000-000000001025"}],"recheckSelectionStatuses":["resolved","ambiguous","unresolved"],"recheckMatchTypes":["exact","phrase","fuzzy"],"reasons":["reviewed_terms_changed"]},"replacements":{"concepts":[],"attributeFields":[],"attributeValues":[],"collections":[]}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/releases/{id}/dictionary":{"get":{"operationId":"getReleaseDictionary","summary":"Download the immutable localized display dictionary for one published release","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.","tags":["Releases"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":10,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["formatVersion","taxonomyRelease","dictionaryChecksum","locales","concepts","attributeFields","attributeValues","collections"],"properties":{"formatVersion":{"type":"string","const":"1.0"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"dictionaryChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"locales":{"type":"array","items":{"type":"string","minLength":2}},"concepts":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel","conceptType","status","species","schemes","identifiers","localizations","terms"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string","minLength":1},"conceptType":{"type":"string","enum":["animal_taxon","animal_class","meat_commodity","carcass","anatomical_part","product_family","cut_family","cut","offal","fat","by_product","processed_product"]},"status":{"type":"string","enum":["draft","active","deprecated"]},"replacementConceptId":{"type":"string","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}$"},"replacementComposition":{"type":"object","additionalProperties":false,"required":["speciesConceptId","scopeNote"],"anyOf":[{"required":["sex"]},{"required":["lifeStage"]},{"required":["feedingRegimeClaim"]},{"required":["animalClassComposition"]}],"properties":{"speciesConceptId":{"type":"string","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}$"},"sex":{"type":"string","enum":["male","female"]},"lifeStage":{"type":"string","enum":["young"]},"feedingRegimeClaim":{"type":"string","enum":["milk-fed"]},"animalClassComposition":{"type":"object","additionalProperties":false,"required":["mode","classConceptIds"],"properties":{"mode":{"type":"string","enum":["options","mixture"],"description":"options: one or more listed classes, presence unspecified. mixture: every listed class explicitly present. Neither mode supplies proportions."},"classConceptIds":{"type":"array","minItems":2,"uniqueItems":true,"items":{"type":"string","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}$"}}}},"scopeNote":{"type":"string","minLength":1}}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"type":"string","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}$"},"label":{"type":"string","minLength":1}}}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","code","name","version"],"properties":{"id":{"type":"string","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}$"},"code":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"version":{"type":"string","minLength":1}}}},"identifiers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["namespace","identifier"],"properties":{"namespace":{"type":"string","minLength":1},"identifier":{"type":"string","minLength":1},"mapping":{"type":"object","additionalProperties":false,"required":["relation","scopeNote"],"properties":{"relation":{"type":"string","enum":["exact","narrower","broader","overlapping"]},"scopeNote":{"type":"string","minLength":1},"additionalCriteria":{"type":"object","additionalProperties":true}}}}}},"localizations":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"required":["label","displayLabel","qualifiers","description","fallbackUsed","resolvedLocale"],"properties":{"label":{"type":"string","minLength":1},"displayLabel":{"type":"string","minLength":1},"qualifiers":{"type":"array","items":{"type":"string","minLength":1}},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"},"resolvedLocale":{"type":"string","minLength":2}}}},"terms":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","locale","displayText","termType"],"properties":{"id":{"type":"string","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}$"},"locale":{"type":"string","minLength":2},"displayText":{"type":"string","minLength":1},"termType":{"type":"string","enum":["preferred","synonym","abbreviation","trader_term","misspelling"]},"schemeId":{"type":"string","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}$"},"marketContextId":{"type":"string","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}$"}}}}}}},"attributeFields":{"type":"array","items":{"type":"object","additionalProperties":true}},"attributeValues":{"type":"array","items":{"type":"object","additionalProperties":true}},"collections":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"examples":{"default":{"summary":"Example response","value":{"formatVersion":"1.0","taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"dictionaryChecksum":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","locales":["bg","de","en","pl"],"concepts":[],"attributeFields":[],"attributeValues":[],"collections":[]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/releases/{id}/incoterms":{"get":{"operationId":"listReleaseIncoterms","summary":"List canonical Incoterms and reviewed aliases for one immutable release","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.","tags":["Releases"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"locale","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":100}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["formatVersion","taxonomyRelease","requestedLocale","resolvedLocale","fallbackUsed","vocabularyChecksum","incoterms"],"properties":{"formatVersion":{"type":"string","const":"1.0"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"requestedLocale":{"type":"string","minLength":2},"resolvedLocale":{"type":"string","const":"en"},"fallbackUsed":{"type":"boolean"},"vocabularyChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"incoterms":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","code","version","fullName","transportMode","deliveryPoint","description","explanation","aliases"],"properties":{"id":{"type":"string","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}$"},"code":{"type":"string","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"]},"version":{"type":"string","const":"2020"},"fullName":{"type":"string","minLength":1},"transportMode":{"type":"string","enum":["any","sea-inland-waterway"]},"deliveryPoint":{"type":"string","enum":["seller-premises","carrier-handover","first-carrier","destination-ready-for-unloading","destination-unloaded","destination-import-cleared","alongside-vessel","on-board-vessel"]},"description":{"type":"string","minLength":1},"explanation":{"type":"string","minLength":1},"aliases":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","text","locale"],"properties":{"id":{"type":"string","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}$"},"text":{"type":"string","minLength":1},"locale":{"type":"string","minLength":1},"misuse":{"type":"string","enum":["obsolete-term","sea-term-for-container"]}}}}}}}}},"examples":{"default":{"summary":"Example response","value":{"formatVersion":"1.0","taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"requestedLocale":"hr","resolvedLocale":"en","fallbackUsed":true,"vocabularyChecksum":"eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","incoterms":[{"id":"01a01f40-7750-7091-9d6c-334a4290f5c5","code":"EXW","version":"2020","fullName":"Ex Works","transportMode":"any","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.","aliases":[]}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/releases/{id}/expansions":{"get":{"operationId":"getReleaseExpansions","summary":"Download immutable ancestor and collection expansion sets for one release","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.","tags":["Releases"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":10,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["formatVersion","taxonomyRelease","expansionProfile","expansionChecksum","predicates","concepts"],"properties":{"formatVersion":{"type":"string","const":"1.0"},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"expansionProfile":{"type":"string","const":"product-membership-v1"},"expansionChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"predicates":{"type":"array","items":{"type":"string","enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN","SUBSTITUTE_FOR"]}},"concepts":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"examples":{"default":{"summary":"Example response","value":{"formatVersion":"1.0","taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"expansionProfile":"product-membership-v1","expansionChecksum":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","predicates":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN"],"concepts":[]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/concepts":{"get":{"operationId":"listConcepts","summary":"List concepts from the current published release","tags":["Concepts"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":512},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"},{"name":"query","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Case-insensitive text used to filter canonical labels and reviewed terms.","example":"belly"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["animal_taxon","animal_class","meat_commodity","carcass","anatomical_part","product_family","cut_family","cut","offal","fat","by_product","processed_product"]},"description":"Published concept type.","example":"cut"},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["draft","active","deprecated"]},"description":"Published concept lifecycle status.","example":"active"},{"name":"scheme","in":"query","required":false,"schema":{"description":"Filter by a published scheme UUIDv7, or \"none\" for concepts with no scheme membership. Applied before pagination and combined with the other filters.","anyOf":[{"type":"string","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","enum":["none"]}]}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","concepts"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"concepts":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"nextCursor":{"type":"string","minLength":1}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"concepts":[{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/species":{"get":{"operationId":"listSpecies","summary":"List species from the current published release","tags":["Concepts"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":512},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"},{"name":"query","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Case-insensitive text used to filter canonical labels and reviewed terms.","example":"belly"},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["draft","active","deprecated"]},"description":"Published concept lifecycle status.","example":"active"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","species"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"species":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"nextCursor":{"type":"string","minLength":1}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"species":[{"id":"0198a000-0000-7000-8000-000000001001","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"conceptType":"animal_taxon","canonicalLabel":"Domestic pig","definition":"The domesticated pig species used for pork production.","status":"active"}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/concepts/{id}":{"get":{"operationId":"getConcept","summary":"Get one concept from the current published release","tags":["Concepts"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","concept"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"concept":{"$ref":"#/components/schemas/PublishedResource"}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"concept":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"}}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/concepts/expand":{"post":{"operationId":"expandConcepts","summary":"Expand a semantic selector to current-release concept ids","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.","tags":["Concepts"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":30,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["selector"],"properties":{"selector":{"oneOf":[{"type":"object","additionalProperties":false,"required":["descendantsOfConcept"],"properties":{"descendantsOfConcept":{"type":"string","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":"object","additionalProperties":false,"required":["ancestorOf"],"properties":{"ancestorOf":{"type":"string","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":"object","additionalProperties":false,"required":["species"],"properties":{"species":{"type":"string","minLength":1,"maxLength":200}}},{"type":"object","additionalProperties":false,"required":["animalClass"],"properties":{"animalClass":{"type":"string","minLength":1,"maxLength":200}}},{"type":"object","additionalProperties":false,"required":["commodity"],"properties":{"commodity":{"type":"string","minLength":1,"maxLength":200}}},{"type":"object","additionalProperties":false,"required":["collection"],"properties":{"collection":{"type":"string","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":"object","additionalProperties":false,"required":["substitutesFor"],"properties":{"substitutesFor":{"type":"string","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}$"}}}]},"predicates":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN","SUBSTITUTE_FOR"]}},"includeDeprecated":{"type":"boolean","default":false}}},"examples":{"default":{"summary":"Example request","value":{"selector":{"species":"Domestic pig"}}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","expansionProfile","selector","predicates","conceptIds","count","expansionChecksum"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"expansionProfile":{"type":"string","enum":["product-membership-v1","substitution-v1"]},"selector":{"type":"object","additionalProperties":true},"predicates":{"type":"array","items":{"type":"string","enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","NARROWER_THAN","SUBSTITUTE_FOR"]}},"conceptIds":{"type":"array","items":{"type":"string","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}$"}},"count":{"type":"integer","minimum":0},"expansionChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"expansionProfile":"product-membership-v1","selector":{"species":"Domestic pig"},"predicates":["IS_A","PART_OF","NARROWER_THAN"],"conceptIds":["0198a000-0000-7000-8000-000000001001","0198a000-0000-7000-8000-000000001025"],"count":2,"expansionChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-profiles":{"get":{"operationId":"listRecipeProfiles","summary":"List active sourced recipe profiles, optionally for one product","description":"Returns active recipe profiles with source evidence. Filter by productConceptId and pin releaseId when paginating. Multiple conceptIds in one input mean alternatives, never a mixture.","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"releaseId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2000},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"},{"name":"productConceptId","in":"query","required":false,"schema":{"type":"string","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}$"}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","recipeProfiles"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"recipeProfiles":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","sourceId","evidenceClass","confidence","payload","source"],"properties":{"id":{"type":"string","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}$"},"sourceId":{"type":"string","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}$"},"evidenceClass":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"payload":{"type":"object","additionalProperties":false,"required":["key","productConceptId","status","profileType","label","scopeNote","sourceLocator","inputs","otherIngredients"],"properties":{"key":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":200},"productConceptId":{"type":"string","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}$"},"status":{"type":"string","enum":["active","deprecated"]},"profileType":{"type":"string","enum":["typical","documented"]},"label":{"type":"string","minLength":1,"maxLength":300},"scopeNote":{"type":"string","minLength":1,"maxLength":5000},"sourceLocator":{"type":"string","minLength":1,"maxLength":2000},"marketContextId":{"type":"string","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}$"},"inputs":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["key","requirement","conceptIds"],"properties":{"key":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":200},"requirement":{"type":"string","enum":["required","optional"]},"conceptIds":{"type":"array","minItems":0,"maxItems":20,"uniqueItems":true,"items":{"type":"string","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}$"}},"unresolvedIngredient":{"type":"string","minLength":1,"maxLength":300},"specification":{"type":"string","minLength":1,"maxLength":2000}},"oneOf":[{"type":"object","properties":{"conceptIds":{"type":"array","minItems":1}},"not":{"type":"object","required":["unresolvedIngredient"]}},{"type":"object","required":["unresolvedIngredient"],"properties":{"conceptIds":{"type":"array","maxItems":0}}}]}},"otherIngredients":{"type":"array","maxItems":100,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":300}}}},"source":{"type":"object","additionalProperties":true}}}},"nextCursor":{"type":"string"}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"recipeProfiles":[{"id":"01a08580-0000-7000-8000-000000000001","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"key":"example-formulation","productConceptId":"0198a000-0000-7000-8000-000000001025","status":"active","profileType":"documented","label":"Example formulation","scopeNote":"One documented formulation, not a purchasing claim.","sourceLocator":"Formulation 1","inputs":[{"key":"meat","requirement":"required","conceptIds":["0198a000-0000-7000-8000-000000001003"]}],"otherIngredients":["salt"]},"source":{"sourceType":"published_specification","title":"Example formulation source","url":"https://example.com/formulation"}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-profiles/{id}":{"get":{"operationId":"getRecipeProfile","summary":"Inspect one published recipe profile and its evidence","description":"Returns one published recipe profile, including deprecated profiles for audit. A documented formulation applies only to its stated scope; it is not universal product composition.","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"releaseId","in":"query","required":false,"schema":{"type":"string","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}$"}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","recipeProfile"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"recipeProfile":{"type":"object","additionalProperties":false,"required":["id","sourceId","evidenceClass","confidence","payload","source"],"properties":{"id":{"type":"string","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}$"},"sourceId":{"type":"string","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}$"},"evidenceClass":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"payload":{"type":"object","additionalProperties":false,"required":["key","productConceptId","status","profileType","label","scopeNote","sourceLocator","inputs","otherIngredients"],"properties":{"key":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":200},"productConceptId":{"type":"string","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}$"},"status":{"type":"string","enum":["active","deprecated"]},"profileType":{"type":"string","enum":["typical","documented"]},"label":{"type":"string","minLength":1,"maxLength":300},"scopeNote":{"type":"string","minLength":1,"maxLength":5000},"sourceLocator":{"type":"string","minLength":1,"maxLength":2000},"marketContextId":{"type":"string","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}$"},"inputs":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["key","requirement","conceptIds"],"properties":{"key":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":200},"requirement":{"type":"string","enum":["required","optional"]},"conceptIds":{"type":"array","minItems":0,"maxItems":20,"uniqueItems":true,"items":{"type":"string","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}$"}},"unresolvedIngredient":{"type":"string","minLength":1,"maxLength":300},"specification":{"type":"string","minLength":1,"maxLength":2000}},"oneOf":[{"type":"object","properties":{"conceptIds":{"type":"array","minItems":1}},"not":{"type":"object","required":["unresolvedIngredient"]}},{"type":"object","required":["unresolvedIngredient"],"properties":{"conceptIds":{"type":"array","maxItems":0}}}]}},"otherIngredients":{"type":"array","maxItems":100,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":300}}}},"source":{"type":"object","additionalProperties":true}}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"recipeProfile":{"id":"01a08580-0000-7000-8000-000000000001","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"key":"example-formulation","productConceptId":"0198a000-0000-7000-8000-000000001025","status":"active","profileType":"documented","label":"Example formulation","scopeNote":"One documented formulation, not a purchasing claim.","sourceLocator":"Formulation 1","inputs":[{"key":"meat","requirement":"required","conceptIds":["0198a000-0000-7000-8000-000000001003"]}],"otherIngredients":["salt"]},"source":{"sourceType":"published_specification","title":"Example formulation source","url":"https://example.com/formulation"}}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/ingredients/{id}/products":{"get":{"operationId":"findIngredientProducts","summary":"Find products with exact canonical ingredient matches in active recipe profiles","description":"Matches ingredient IDs exactly in active recipe profiles and groups results by output product. Required, alternative and optional inputs are distinguished. No hierarchy, substitution, indirect recipe expansion, demand quantity or company purchasing inference is performed. Specifications remain conditions to inspect. Pin releaseId from the first response when following nextCursor.","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"releaseId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2000},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","ingredientConceptId","products"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"ingredientConceptId":{"type":"string","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}$"},"nextCursor":{"type":"string"},"products":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["product","matches"],"properties":{"product":{"$ref":"#/components/schemas/PublishedResource"},"matches":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["recipeProfile","inputKey","matchType"],"properties":{"recipeProfile":{"type":"object","additionalProperties":false,"required":["id","sourceId","evidenceClass","confidence","payload","source"],"properties":{"id":{"type":"string","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}$"},"sourceId":{"type":"string","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}$"},"evidenceClass":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"payload":{"type":"object","additionalProperties":false,"required":["key","productConceptId","status","profileType","label","scopeNote","sourceLocator","inputs","otherIngredients"],"properties":{"key":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":200},"productConceptId":{"type":"string","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}$"},"status":{"type":"string","enum":["active","deprecated"]},"profileType":{"type":"string","enum":["typical","documented"]},"label":{"type":"string","minLength":1,"maxLength":300},"scopeNote":{"type":"string","minLength":1,"maxLength":5000},"sourceLocator":{"type":"string","minLength":1,"maxLength":2000},"marketContextId":{"type":"string","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}$"},"inputs":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["key","requirement","conceptIds"],"properties":{"key":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":200},"requirement":{"type":"string","enum":["required","optional"]},"conceptIds":{"type":"array","minItems":0,"maxItems":20,"uniqueItems":true,"items":{"type":"string","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}$"}},"unresolvedIngredient":{"type":"string","minLength":1,"maxLength":300},"specification":{"type":"string","minLength":1,"maxLength":2000}},"oneOf":[{"type":"object","properties":{"conceptIds":{"type":"array","minItems":1}},"not":{"type":"object","required":["unresolvedIngredient"]}},{"type":"object","required":["unresolvedIngredient"],"properties":{"conceptIds":{"type":"array","maxItems":0}}}]}},"otherIngredients":{"type":"array","maxItems":100,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":300}}}},"source":{"type":"object","additionalProperties":true}}},"inputKey":{"type":"string"},"matchType":{"type":"string","enum":["required","alternative","optional"]}}}}}}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"ingredientConceptId":"0198a000-0000-7000-8000-000000001003","products":[{"product":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"}},"matches":[{"recipeProfile":{"id":"01a08580-0000-7000-8000-000000000001","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"key":"example-formulation","productConceptId":"0198a000-0000-7000-8000-000000001025","status":"active","profileType":"documented","label":"Example formulation","scopeNote":"One documented formulation, not a purchasing claim.","sourceLocator":"Formulation 1","inputs":[{"key":"meat","requirement":"required","conceptIds":["0198a000-0000-7000-8000-000000001003"]}],"otherIngredients":["salt"]},"source":{"sourceType":"published_specification","title":"Example formulation source","url":"https://example.com/formulation"}},"inputKey":"meat","matchType":"required"}]}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/snapshots/current":{"get":{"operationId":"getKnowledgeSnapshot","summary":"Get the current independent recipe knowledge snapshot","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot"],"properties":{"knowledgeSnapshot":{"anyOf":[{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},{"type":"null"}]}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/snapshots/{id}":{"get":{"operationId":"getKnowledgeSnapshotById","summary":"Get a pinned recipe knowledge snapshot","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/snapshots/{fromSnapshotId}/diff/{toSnapshotId}":{"get":{"operationId":"getKnowledgeSnapshotDiff","summary":"Page recipe knowledge changes between immutable snapshots","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"fromSnapshotId","in":"path","required":true,"schema":{"type":"string","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}$"}},{"name":"toSnapshotId","in":"path","required":true,"schema":{"type":"string","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}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2000},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["fromSnapshot","toSnapshot","changes"],"properties":{"fromSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"toSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"changes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["kind","id","action"],"properties":{"kind":{"type":"string","enum":["subject","formulation","assessment"]},"id":{"type":"string","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}$"},"action":{"type":"string","enum":["added","updated","removed"]},"fromRevisionId":{"type":"string","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}$"},"toRevisionId":{"type":"string","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}$"}}}},"nextCursor":{"type":"string"}}},"examples":{"default":{"summary":"Example response","value":{"fromSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000008","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"toSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"changes":[{"kind":"assessment","id":"01a0dc00-0000-7000-8000-000000000006","action":"added","toRevisionId":"01a0dc00-0000-7000-8000-000000000007"}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/subjects":{"get":{"operationId":"listKnowledgeSubjects","summary":"List published loose recipe subjects","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"snapshotId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2000},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","subjects"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"subjects":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","revisionId","payload"],"properties":{"id":{"type":"string","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}$"},"revisionId":{"type":"string","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}$"},"payload":{"type":"object","additionalProperties":true}}}},"nextCursor":{"type":"string"}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"subjects":[{"id":"01a0dc00-0000-7000-8000-000000000002","revisionId":"01a0dc00-0000-7000-8000-000000000003","payload":{"label":"Pork sausage","aliases":["Pork links"],"status":"active"}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/subjects/{id}":{"get":{"operationId":"getKnowledgeSubject","summary":"Read one published recipe subject","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"snapshotId","in":"query","required":false,"schema":{"type":"string","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}$"}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","record"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"record":{"type":"object","additionalProperties":false,"required":["id","revisionId","payload"],"properties":{"id":{"type":"string","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}$"},"revisionId":{"type":"string","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}$"},"payload":{"type":"object","additionalProperties":true}}}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"record":{"id":"01a0dc00-0000-7000-8000-000000000002","revisionId":"01a0dc00-0000-7000-8000-000000000003","payload":{"label":"Pork sausage","aliases":["Pork links"],"status":"active"}}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/formulations":{"get":{"operationId":"listKnowledgeFormulations","summary":"List published formulations and evidence","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"snapshotId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2000},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"},{"name":"subjectId","in":"query","required":false,"schema":{"type":"string","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}$"}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","records"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"records":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","revisionId","payload"],"properties":{"id":{"type":"string","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}$"},"revisionId":{"type":"string","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}$"},"payload":{"type":"object","additionalProperties":true}}}},"nextCursor":{"type":"string"}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"records":[{"id":"01a0dc00-0000-7000-8000-000000000004","revisionId":"01a0dc00-0000-7000-8000-000000000005","payload":{"subjectId":"01a0dc00-0000-7000-8000-000000000002","label":"Example pork sausage","status":"active","profileType":"documented","scopeNote":"One sourced formula","inputs":[{"key":"pork","requirement":"required","conceptIds":["0198a000-0000-7000-8000-000000001025"]}],"otherIngredients":["salt"],"evidence":{"origin":"documented","locator":"Specification §4"}}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/formulations/{id}":{"get":{"operationId":"getKnowledgeFormulation","summary":"Read one published formulation and its evidence","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"snapshotId","in":"query","required":false,"schema":{"type":"string","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}$"}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","record"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"record":{"type":"object","additionalProperties":false,"required":["id","revisionId","payload"],"properties":{"id":{"type":"string","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}$"},"revisionId":{"type":"string","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}$"},"payload":{"type":"object","additionalProperties":true}}}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"record":{"id":"01a0dc00-0000-7000-8000-000000000004","revisionId":"01a0dc00-0000-7000-8000-000000000005","payload":{"subjectId":"01a0dc00-0000-7000-8000-000000000002","label":"Example pork sausage","status":"active","profileType":"documented","scopeNote":"One sourced formula","inputs":[{"key":"pork","requirement":"required","conceptIds":["0198a000-0000-7000-8000-000000001025"]}],"otherIngredients":["salt"],"evidence":{"origin":"documented","locator":"Specification §4"}}}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/assessments":{"get":{"operationId":"listKnowledgeAssessments","summary":"List explicit ingredient assessments including negatives and unknowns","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"snapshotId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2000},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"},{"name":"subjectId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"ingredientConceptId","in":"query","required":false,"schema":{"type":"string","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}$"}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","records"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"records":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","revisionId","payload"],"properties":{"id":{"type":"string","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}$"},"revisionId":{"type":"string","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}$"},"payload":{"type":"object","additionalProperties":true}}}},"nextCursor":{"type":"string"}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"records":[{"id":"01a0dc00-0000-7000-8000-000000000006","revisionId":"01a0dc00-0000-7000-8000-000000000007","payload":{"subjectId":"01a0dc00-0000-7000-8000-000000000002","ingredientConceptId":"0198a000-0000-7000-8000-000000001025","outcome":"possible","status":"active","scopeNote":"Market-dependent","evidence":{"origin":"inferred","locator":"catalogue-batch:1","method":"reviewed-inference-v1"}}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/subjects/resolve-batch":{"post":{"operationId":"resolveKnowledgeSubjects","summary":"Match catalogue names to loose recipe subjects","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["names"],"properties":{"names":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","minLength":1,"maxLength":300}},"marketContextId":{"type":"string","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}$"},"recipeCountryCode":{"type":"string","pattern":"^[A-Z]{2}$"},"snapshotId":{"type":"string","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}$"}}},"examples":{"default":{"summary":"Example request","value":{"names":["Pork sausage","Unknown food"]}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","results"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"results":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","status","subjects"],"properties":{"name":{"type":"string"},"status":{"type":"string","enum":["matched","ambiguous","unresolved"]},"subjects":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"type":"string","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}$"},"label":{"type":"string"}}}}}}}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"results":[{"name":"Pork sausage","status":"matched","subjects":[{"id":"01a0dc00-0000-7000-8000-000000000002","label":"Pork sausage"}]},{"name":"Unknown food","status":"unresolved","subjects":[]}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/ingredients/{id}/subjects":{"get":{"operationId":"findKnowledgeIngredientSubjects","summary":"Find loose recipe subjects using a canonical ingredient","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"snapshotId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Maximum number of records to return.","example":25},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2000},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"},{"name":"marketContextId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"recipeCountryCode","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z]{2}$"}},{"name":"matchMode","in":"query","required":false,"schema":{"type":"string","enum":["exact","compatible","commodity"],"description":"`compatible` (default): the ingredient's own matches and those of a broader product the recipe names. `exact`: only the ingredient as named. `commodity`: `compatible`, and when the ingredient is a meat commodity (Beef, Pork) also every subject whose formulation or typical/possible assessment names an active product of that commodity; each such reason carries `compatibility: \"commodity_member\"` and the named product in `exactInputConceptId`. For any other ingredient `commodity` is `compatible`."}},{"name":"indirectDepth","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":2}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","ingredientConceptId","subjects"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"ingredientConceptId":{"type":"string","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}$"},"subjects":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","label","strength","reasons","reasonCount","reasonsTruncated"],"properties":{"id":{"type":"string","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}$"},"label":{"type":"string"},"strength":{"type":"integer","minimum":0,"maximum":5},"reasons":{"type":"array","items":{"type":"object","additionalProperties":true}},"reasonCount":{"type":"integer","minimum":0},"reasonsTruncated":{"type":"boolean"}}}},"nextCursor":{"type":"string"}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"ingredientConceptId":"0198a000-0000-7000-8000-000000001025","subjects":[{"id":"01a0dc00-0000-7000-8000-000000000002","label":"Pork sausage","strength":4,"reasons":[{"matchKind":"formulation","requirement":"required"}],"reasonCount":1,"reasonsTruncated":false}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-knowledge/subjects/{subjectId}/ingredients/{ingredientId}/assessment":{"get":{"operationId":"getKnowledgeIngredientAssessment","summary":"Read an explicit ingredient assessment or unassessed coverage state","tags":["Taxonomy"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"subjectId","in":"path","required":true,"schema":{"type":"string","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}$"}},{"name":"ingredientId","in":"path","required":true,"schema":{"type":"string","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}$"}},{"name":"snapshotId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"marketContextId","in":"query","required":false,"schema":{"type":"string","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}$"}},{"name":"recipeCountryCode","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z]{2}$"}}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["knowledgeSnapshot","subjectId","ingredientConceptId","state"],"properties":{"knowledgeSnapshot":{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},"subjectId":{"type":"string","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}$"},"ingredientConceptId":{"type":"string","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}$"},"state":{"type":"string","enum":["assessed","unassessed"]},"marketMatch":{"type":"string","enum":["exact","generic"]},"recipeCountryMatch":{"type":"string","enum":["exact","generic"]},"assessment":{"type":"object","additionalProperties":false,"required":["id","revisionId","payload"],"properties":{"id":{"type":"string","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}$"},"revisionId":{"type":"string","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}$"},"payload":{"type":"object","additionalProperties":true}}}}},"examples":{"default":{"summary":"Example response","value":{"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"subjectId":"01a0dc00-0000-7000-8000-000000000002","ingredientConceptId":"0198a000-0000-7000-8000-000000001025","state":"unassessed"}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-catalogue/aliases/resolve-batch":{"post":{"operationId":"resolveRecipeCatalogueAliases","summary":"Resolve original Lucius names to reviewed catalogue alias groups","tags":["Recipe knowledge"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:catalogue.read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["recipeCountryCode","names"],"properties":{"snapshotId":{"type":"string","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}$"},"recipeCountryCode":{"type":"string","pattern":"^[A-Z]{2}$"},"names":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","minLength":1,"maxLength":300}}}},"examples":{"default":{"summary":"Example request","value":{"recipeCountryCode":"BG","names":["Kebapche","Unknown product"]}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["catalogueSnapshot","results"],"properties":{"catalogueSnapshot":{"type":"object","additionalProperties":false,"required":["id","sourceSha256","extractedAt","itemCount","readyAt"],"properties":{"id":{"type":"string","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}$"},"sourceSha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"extractedAt":{"type":"string","format":"date-time"},"itemCount":{"type":"integer"},"readyAt":{"type":"string","format":"date-time"}}},"results":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","status"],"properties":{"name":{"type":"string"},"status":{"type":"string","enum":["matched","unresolved"]},"sourceGroupKey":{"type":"string","pattern":"^[0-9a-f]{64}$"},"targetGroupKey":{"type":"string","pattern":"^[0-9a-f]{64}$"},"targetName":{"type":"string"},"aliasApplied":{"type":"boolean"}}}}}},"examples":{"default":{"summary":"Example response","value":{"catalogueSnapshot":{"id":"01a0dd3d-bff7-735b-9fd2-d85ef4c49c77","sourceSha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","extractedAt":"2026-09-26T09:00:00.000Z","itemCount":141715,"readyAt":"2026-09-26T09:15:00.000Z"},"results":[{"name":"Kebapche","status":"matched","sourceGroupKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","targetGroupKey":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","targetName":"Bulgarian kebapche","aliasApplied":true},{"name":"Unknown product","status":"unresolved"}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/recipe-catalogue/subjects/resolve-batch":{"post":{"operationId":"resolveRecipeCatalogueSubjects","summary":"Resolve original Lucius names to human-linked published recipe subjects","tags":["Recipe knowledge"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:catalogue.read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["recipeCountryCode","names"],"properties":{"snapshotId":{"type":"string","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}$"},"knowledgeSnapshotId":{"type":"string","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}$"},"recipeCountryCode":{"type":"string","pattern":"^[A-Z]{2}$"},"names":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","minLength":1,"maxLength":300}},"itemIds":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^catp_[A-Za-z0-9]+$","maxLength":200}}}},"examples":{"default":{"summary":"Example request","value":{"recipeCountryCode":"BG","names":["Kebapche","Unknown product"]}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["catalogueSnapshot","knowledgeSnapshot","results"],"properties":{"catalogueSnapshot":{"type":"object","additionalProperties":false,"required":["id","sourceSha256","extractedAt","itemCount","readyAt"],"properties":{"id":{"type":"string","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}$"},"sourceSha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"extractedAt":{"type":"string","format":"date-time"},"itemCount":{"type":"integer"},"readyAt":{"type":"string","format":"date-time"}}},"knowledgeSnapshot":{"anyOf":[{"type":"object","additionalProperties":false,"required":["id","taxonomyReleaseId","rulesVersion","contentChecksum","publishedAt","publishedBy"],"properties":{"id":{"type":"string","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}$"},"parentSnapshotId":{"type":"string","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}$"},"taxonomyReleaseId":{"type":"string","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}$"},"rulesVersion":{"type":"string"},"contentChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"},"publishedAt":{"type":"string","format":"date-time"},"publishedBy":{"type":"string"}}},{"type":"null"}]},"results":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","status"],"properties":{"name":{"type":"string"},"itemId":{"type":"string"},"currentItemId":{"type":"string"},"status":{"type":"string","enum":["matched","unlinked","held","pending","rejected","unavailable","unresolved"]},"sourceGroupKey":{"type":"string","pattern":"^[0-9a-f]{64}$"},"aliasTargetGroupKey":{"type":"string","pattern":"^[0-9a-f]{64}$"},"aliasApplied":{"type":"boolean"},"subjectId":{"type":"string","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}$"},"subjectLabel":{"type":"string"},"reviewEventId":{"type":"string","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}$"}}}}}},"examples":{"default":{"summary":"Example response","value":{"catalogueSnapshot":{"id":"01a0dd3d-bff7-735b-9fd2-d85ef4c49c77","sourceSha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","extractedAt":"2026-09-26T09:00:00.000Z","itemCount":141715,"readyAt":"2026-09-26T09:15:00.000Z"},"knowledgeSnapshot":{"id":"01a0dc00-0000-7000-8000-000000000001","taxonomyReleaseId":"0198a000-0000-7000-8000-000000000301","rulesVersion":"2","contentChecksum":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","publishedAt":"2026-09-26T09:00:00.000Z","publishedBy":"recipe-review"},"results":[{"name":"Kebapche","status":"matched","sourceGroupKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aliasTargetGroupKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aliasApplied":false,"subjectId":"01a0dc00-0000-7000-8000-000000000002","subjectLabel":"Kebapche","reviewEventId":"01a0dd3d-bff7-735b-9fd2-d85ef4c49c78"},{"name":"Unknown product","status":"unresolved"}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/collections":{"get":{"operationId":"listCollections","summary":"List discoverable collections from the current release","description":"Lists governed, discoverable current-release collections. Collections are explicit product sets; labels and names are not query semantics.","tags":["Collections"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","collections"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"collections":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"collections":[]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/collections/{id}":{"get":{"operationId":"getCollection","summary":"Get one current-release collection and its concept ids","description":"Returns one governed current-release collection and its exact member concept IDs.","tags":["Collections"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","collection"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"collection":{"type":"object","additionalProperties":true}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"collection":{"id":"0198a000-0000-7000-8000-000000005001","key":"example-pork-assortment","kind":"assortment","status":"active","labels":{"en":"Example pork assortment"},"descriptions":{"en":"Products in the governed example pork assortment."},"conceptCount":1,"conceptIds":["0198a000-0000-7000-8000-000000001025"]}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/concepts/{id}/relationships":{"get":{"operationId":"listConceptRelationships","summary":"List published relationships touching a concept","tags":["Concepts"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["incoming","outgoing","both"]},"description":"Relationship direction relative to the requested concept.","example":"both"},{"name":"predicate","in":"query","required":false,"schema":{"type":"string","enum":["IS_A","PART_OF","YIELDS","FABRICATED_FROM","EXACT_MATCH","CLOSE_MATCH","NARROWER_THAN","OVERLAPS_WITH","SUBSTITUTE_FOR"]},"description":"Optional relationship predicate filter.","example":"IS_A"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","conceptId","relationships"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"conceptId":{"type":"string","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}$"},"relationships":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"conceptId":"0198a000-0000-7000-8000-000000001025","relationships":[{"id":"0198a000-0000-7000-8000-000000003001","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"subjectConceptId":"0198a000-0000-7000-8000-000000001025","predicate":"IS_A","objectConceptId":"0198a000-0000-7000-8000-000000001003","attributes":{}}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/schemes":{"get":{"operationId":"listSchemes","summary":"List schemes from the current published release","tags":["Schemes"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","schemes"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"schemes":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"schemes":[{"id":"0198a000-0000-7000-8000-000000000202","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"code":"UNECE-PORK","name":"UNECE Standard for Porcine Meat","authority":"UNECE","version":"2023","status":"current","marketContextIds":[]}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/resolution-contexts":{"get":{"operationId":"listResolutionContexts","summary":"List values accepted by meat-product resolution context fields","tags":["Resolution"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","markets","schemes","species","commodities","animalClasses","observations"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"markets":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalValue","label","acceptedValues"],"properties":{"id":{"type":"string","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}$"},"canonicalValue":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"acceptedValues":{"type":"array","items":{"type":"string","minLength":1}}}}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalValue","label","acceptedValues"],"properties":{"id":{"type":"string","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}$"},"canonicalValue":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"acceptedValues":{"type":"array","items":{"type":"string","minLength":1}}}}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalValue","label","acceptedValues"],"properties":{"id":{"type":"string","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}$"},"canonicalValue":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"acceptedValues":{"type":"array","items":{"type":"string","minLength":1}}}}},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalValue","label","acceptedValues"],"properties":{"id":{"type":"string","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}$"},"canonicalValue":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"acceptedValues":{"type":"array","items":{"type":"string","minLength":1}}}}},"animalClasses":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalValue","label","acceptedValues"],"properties":{"id":{"type":"string","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}$"},"canonicalValue":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"acceptedValues":{"type":"array","items":{"type":"string","minLength":1}}}}},"observations":{"type":"object","additionalProperties":false,"required":["originCountry"],"properties":{"originCountry":{"type":"object","additionalProperties":false,"required":["path","format","example"],"properties":{"path":{"type":"string","const":"observations.originCountry"},"format":{"type":"string","const":"ISO 3166-1 alpha-2"},"example":{"type":"string","const":"DK"}}}}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"markets":[{"id":"0198a000-0000-7000-8000-000000000201","canonicalValue":"MEATBORSA-PORK-MARKETPLACE","label":"MeatBorsa pork marketplace","acceptedValues":["0198a000-0000-7000-8000-000000000201","meatborsa pork marketplace","meatborsa-pork-marketplace"]}],"schemes":[{"id":"0198a000-0000-7000-8000-000000000202","canonicalValue":"MEATBORSA-PORK-FAMILIES","label":"MeatBorsa canonical pork product families","acceptedValues":["0198a000-0000-7000-8000-000000000202","meatborsa pork families"]}],"species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalValue":"Domestic pig","label":"Domestic pig","acceptedValues":["0198a000-0000-7000-8000-000000001001","domestic pig"]}],"commodities":[{"id":"0198a000-0000-7000-8000-000000001025","canonicalValue":"Pork","label":"Pork","acceptedValues":["0198a000-0000-7000-8000-000000001025","pork"]}],"animalClasses":[],"observations":{"originCountry":{"path":"observations.originCountry","format":"ISO 3166-1 alpha-2","example":"DK"}}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/schemes/{id}/tree":{"get":{"operationId":"browseSchemeTree","summary":"Browse the current published scheme hierarchy","description":"Returns a bounded hierarchy from the current published ontology release. `root` may be a supported concept identifier or alias.","tags":["Schemes"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":30,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"},{"name":"root","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Root concept identifier or supported alias.","example":"Pork"},{"name":"maxDepth","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":12},"description":"Maximum number of hierarchy edges to traverse from the root.","example":3}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","tree"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"tree":{"type":"object","additionalProperties":true}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"tree":{"root":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"scheme":{"id":"0198a000-0000-7000-8000-000000000202","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"code":"UNECE-PORK","name":"UNECE Standard for Porcine Meat","authority":"UNECE","version":"2023","status":"current","marketContextIds":[]},"maxDepth":3,"nodes":[{"concept":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"depth":0}],"edges":[]}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/resolve":{"post":{"operationId":"resolveMeatProduct","summary":"Resolve a caller-sanitized meat-trade description","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 ontology 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 or contribute unsupported residue to vocabulary aggregation. Matching original same-product weight specifications may supply a missing title-range unit with contextual-inference provenance and complete the existing identity match. Catalogue weight classes are not listing specifications; disjoint product weights require review. 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. Omit mode or set it to ledgered for the existing event-recording behavior. REST-only mode interactive runs the same resolver but omits resolutionEvent entirely (no null or stub), ignores requestReference, and makes no event, case, recheck, or unknown-vocabulary writes. Authentication accounting and snapshot refresh can still access PostgreSQL. Both modes require taxonomy:resolve. Interactive requests have a separate per-client/per-replica rolling budget of 600/minute and 10/second; normal Resolve retains 600/minute fixed windows. Both share the existing concurrency cap; separate quotas do not reserve compute capacity. Responses are no-store. See /docs/interactive-resolve for draft/final submission and retry guidance.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":600,"windowMs":60000},"x-rate-limit-modes":{"ledgered":{"maximumRequests":600,"windowMs":60000,"algorithm":"fixed_window","enforcement":"per-client-per-replica"},"interactive":{"maximumRequests":600,"windowMs":60000,"algorithm":"sliding_window","burst":{"maximumRequests":10,"windowMs":1000},"enforcement":"per-client-per-replica"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","minLength":1,"maxLength":2000},"inputKind":{"type":"string","enum":["title","question"],"description":"What kind of text `text` is. Omit or use `title` for a listing title or product line, where every unread word holds the listing for review (the behavior before this field existed). `question` reads `text` as a person's question about a product: unread wording wholly before or after the product phrase (the selected product's words and the attributes read around them) is the question's framing. It stays in `result.unresolved`, marked `clearedBy: question_framing`, but no longer counts toward `blocking_unresolved_text`, and with it set aside a phrase match whose only other unread wording is governed non-product vocabulary has an exact `matchTypeCore`. Unread wording inside the product phrase, unread wording carrying a negation cue (no, not, without and their reviewed equivalents) wherever it stands, known product vocabulary, structured values, ambiguities, conflicting attributes and an ambiguous or unresolved selection hold a question as they hold a title. Question framing never adds a product identity and is not aggregated as unknown vocabulary. Applies to `text` only; `alternateTexts` are always titles."},"assist":{"type":"string","enum":["off","agreement","on","always"],"description":"Opt in to configured API-layer assistance. Assistance is disabled unless the server is in record mode. `agreement` asks one title-only question when unread title wording and/or an inexact core match are all that hold the listing, and nothing else; its agreement with the selected product clears those holds (see `assist.titlePick`, `assist.applied.unread` and `assist.applied.coreMatch`). `on` includes `agreement` and also asks for the record-only pick after a helpable review result; `always` also asks on auto-tag and when the resolver abstains among candidates (`selection_ambiguous` or `selection_unresolved`). Record mode never changes the resolver selection, including for `always`. Independent of this field, a configured server asks the title-only question when the title and a catalogue product name point to different products."},"selection":{"type":"object","additionalProperties":false,"required":["conceptId","source","confidence"],"properties":{"conceptId":{"type":"string","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}$"},"source":{"type":"string","enum":["assist","human_override"]},"confidence":{"type":"number","minimum":0,"maximum":1}},"description":"A release-scoped active orderable product identity supplied by an assisted or human review workflow. The original text remains the source of attribute evidence, and the response retains the resolver's ordinary identity decision as unassistedSelection."},"mode":{"type":"string","enum":["ledgered","interactive"],"description":"Omit or use ledgered for the existing event-recording behavior. interactive uses the same resolution logic but omits resolutionEvent and skips quality-ledger writes; its answer carries interactiveDecision, the decision the ledger would derive, with no event. REST only; requires taxonomy:resolve and uses a separate rate budget. requestReference is ignored in interactive mode."},"requestReference":{"type":"string","minLength":1,"maxLength":500,"description":"Optional caller-owned source-record reference copied into the resolution event ledger."},"locale":{"type":"string","minLength":1,"maxLength":100,"description":"Optional text-language hint. A mismatch is neutral: it never restricts cross-language term or attribute matching."},"metadataLocale":{"type":"string","minLength":1,"maxLength":100,"description":"Requested presentation locale for attribute metadata. Defaults to the detected matched-term language, then English."},"market":{"type":"string","minLength":1,"maxLength":200},"scheme":{"type":"string","minLength":1,"maxLength":200},"species":{"type":"string","minLength":1,"maxLength":200},"commodity":{"type":"string","minLength":1,"maxLength":200,"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."},"animalClass":{"type":"string","minLength":1,"maxLength":200,"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."},"alternateTexts":{"type":"array","maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["text","role"],"properties":{"text":{"type":"string","minLength":1,"maxLength":2000},"role":{"type":"string","enum":["catalogue_product_name"]}}}},"supportingTexts":{"type":"array","maxItems":5,"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":{"type":"object","additionalProperties":false,"required":["text","role"],"properties":{"text":{"type":"string","minLength":1,"maxLength":4096},"role":{"type":"string","enum":["listing_description","technical_specification","commercial_terms"]},"locale":{"type":"string","minLength":1,"maxLength":100,"description":"Optional language hint for this supporting source. It never restricts cross-language recognition."}}}},"context":{"type":"object","additionalProperties":false,"properties":{"market":{"type":"string","minLength":1,"maxLength":200},"scheme":{"type":"string","minLength":1,"maxLength":200},"species":{"type":"string","minLength":1,"maxLength":200},"commodity":{"type":"string","minLength":1,"maxLength":200},"animalClass":{"type":"string","minLength":1,"maxLength":200}}},"observations":{"type":"object","additionalProperties":false,"properties":{"attributes":{"type":"object","maxProperties":64,"propertyNames":{"pattern":"^[a-z][A-Za-z0-9]{0,99}$"},"additionalProperties":true,"description":"Confirmed normalized inputs. Each key and value must satisfy the release-scoped applicableAttributes entry; incompatible evidence is retained for review."},"trimCode":{"type":"object","additionalProperties":false,"required":["family","code","scope"],"properties":{"family":{"type":"string","const":"pork-d-trim"},"code":{"type":"string","enum":["1D","2D","3D","4D","5D","6D"]},"scope":{"type":"string","enum":["shoulder","leg"]}}},"refrigeration":{"type":"string","enum":["fresh","chilled","frozen"]},"originCountry":{"type":"array","maxItems":20,"uniqueItems":true,"items":{"type":"string","pattern":"^[A-Z]{2}$"}},"certificationClaim":{"type":"array","maxItems":11,"uniqueItems":true,"items":{"type":"string","enum":["halal","kosher","red-tractor","ifs","brcgs","haccp","iso-22000","fsis","tuv","imta","organic"]}},"packaging":{"type":"array","maxItems":11,"uniqueItems":true,"items":{"type":"string","enum":["box","carton","jumbo-box","crate","iwp","ivp","vacuum","polyblock","naked-block","plate-frozen","hanging"]}}}},"include":{"type":"array","maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["concept","enrichment"]}},"limit":{"type":"integer","minimum":1,"maximum":25},"includeApplicableAttributes":{"type":"boolean","description":"Include partial, reviewed RFQ field discovery for the resolved primary. Does not affect resolution, require missing fields, or choose a primary for ambiguous input. Uses metadataLocale and the same release; see /docs/applicable-attributes."},"includeAttributeMetadata":{"type":"boolean","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."}}},"examples":{"default":{"summary":"Example request","value":{"text":"MROŻONA POLĘDWICZKA WIEPRZOWA BEZ KOŚCI","requestReference":"offer-1042","locale":"en","metadataLocale":"pl","alternateTexts":[{"role":"catalogue_product_name","text":"polędwiczka wieprzowa"}],"supportingTexts":[{"role":"listing_description","text":"Mrożona, bez kości, pakowana IVP. Warunki handlowe EXW Warszawa.","locale":"pl"}],"context":{"commodity":"Pork","species":"Domestic pig"},"observations":{"refrigeration":"frozen","originCountry":["PL"],"certificationClaim":["halal"],"packaging":["ivp"]},"include":["concept","enrichment"],"limit":5,"includeAttributeMetadata":true}},"interactive":{"summary":"Interactive draft using the same taxonomy:resolve permission","value":{"text":"MROŻONA POLĘDWICZKA WIEPRZOWA BEZ KOŚCI","requestReference":"offer-1042","locale":"en","metadataLocale":"pl","alternateTexts":[{"role":"catalogue_product_name","text":"polędwiczka wieprzowa"}],"supportingTexts":[{"role":"listing_description","text":"Mrożona, bez kości, pakowana IVP. Warunki handlowe EXW Warszawa.","locale":"pl"}],"context":{"commodity":"Pork","species":"Domestic pig"},"observations":{"refrigeration":"frozen","originCountry":["PL"],"certificationClaim":["halal"],"packaging":["ivp"]},"include":["concept","enrichment"],"limit":5,"includeAttributeMetadata":true,"mode":"interactive"}}}}}},"responses":{"200":{"description":"Resolution result. Ledgered mode includes resolutionEvent; interactive mode omits it entirely. All other fields use the same resolution logic.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","resolver","result"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"result":{"type":"object","additionalProperties":true,"properties":{"candidates":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"selection":{"type":"object","additionalProperties":true,"properties":{"selectedFrom":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","conceptId","source","confidence"],"properties":{"kind":{"type":"string","const":"supplied_selection"},"conceptId":{"type":"string","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}$"},"source":{"type":"string","enum":["assist","human_override"]},"confidence":{"type":"number","minimum":0,"maximum":1}}},{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","base","index","role","text"],"properties":{"kind":{"type":"string","const":"supporting_text_refinement"},"base":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}}]},"index":{"type":"integer","minimum":0},"role":{"type":"string","enum":["listing_description","technical_specification"]},"text":{"type":"string","minLength":1}}}]},"primary":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"alternatives":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"reasonCode":{"type":"string","enum":["missing_species","missing_bone_state","missing_scheme","unsupported_product_for_species","unsupported_product_for_commodity","insufficient_context","low_confidence_match","no_candidate"]},"missingContext":{"type":"array","items":{"type":"string","enum":["species","bone_state","scheme"]}},"options":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"candidate":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"species":{"type":"array","items":{"type":"object","additionalProperties":true}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":true}},"boneState":{"type":"string","enum":["bone-in","boneless","partly-boned"]}}}}}},"unassistedSelection":{"type":"object","additionalProperties":true,"properties":{"selectedFrom":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","conceptId","source","confidence"],"properties":{"kind":{"type":"string","const":"supplied_selection"},"conceptId":{"type":"string","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}$"},"source":{"type":"string","enum":["assist","human_override"]},"confidence":{"type":"number","minimum":0,"maximum":1}}},{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","base","index","role","text"],"properties":{"kind":{"type":"string","const":"supporting_text_refinement"},"base":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}}]},"index":{"type":"integer","minimum":0},"role":{"type":"string","enum":["listing_description","technical_specification"]},"text":{"type":"string","minLength":1}}}]},"primary":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"alternatives":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"reasonCode":{"type":"string","enum":["missing_species","missing_bone_state","missing_scheme","unsupported_product_for_species","unsupported_product_for_commodity","insufficient_context","low_confidence_match","no_candidate"]},"missingContext":{"type":"array","items":{"type":"string","enum":["species","bone_state","scheme"]}},"options":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"candidate":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"species":{"type":"array","items":{"type":"object","additionalProperties":true}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":true}},"boneState":{"type":"string","enum":["bone-in","boneless","partly-boned"]}}}}}},"qualifiers":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"attributes":{"type":"object","additionalProperties":true,"properties":{"poultryMeatComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","meatTypes"],"properties":{"mode":{"type":"string","enum":["single","options","mixture"]},"meatTypes":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["white","dark"]}}},"oneOf":[{"properties":{"mode":{"const":"single"},"meatTypes":{"maxItems":1}}},{"properties":{"mode":{"enum":["options","mixture"]},"meatTypes":{"minItems":2}}}]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"sexComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","components"],"properties":{"mode":{"type":"string","enum":["options","mixture","proportions"]},"percentageBasis":{"type":"string","enum":["unspecified","weight","count"]},"components":{"type":"array","minItems":1,"maxItems":2,"items":{"type":"object","additionalProperties":false,"required":["sex"],"properties":{"sex":{"type":"string","enum":["male","female"]},"percentage":{"type":"number","minimum":0,"maximum":100}}}}},"description":"Stated source-animal sexes and optional percentages. Do not infer an unstated remainder or whether percentages refer to mass or animal count. Components must have unique sexes and percentages must total at most 100."},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"animalClassComposition":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","classConceptIds"],"properties":{"mode":{"type":"string","enum":["options","mixture"],"description":"options: one or more listed classes, presence unspecified. mixture: every listed class explicitly present. Neither mode supplies proportions."},"classConceptIds":{"type":"array","minItems":2,"uniqueItems":true,"items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"feedingRegimeClaim":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["grass-fed","grain-fed","milk-fed","corn-fed","acorn-fed","field-fed","feed-fed"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"fabricatedFrom":{"type":"array","items":{"description":"An explicitly stated source cut for a fabrication-trimmings product, retained as a stable ontology concept reference.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["conceptId","canonicalLabel","schemeIds"],"properties":{"conceptId":{"type":"string","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}$"},"canonicalLabel":{"type":"string","minLength":1},"schemeIds":{"type":"array","items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}}},"lifeStage":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["young"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"fatFirmness":{"description":"Explicit seller-stated qualitative firmness of a governed raw separable-fat product. Refrigeration remains a separate attribute.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["hard","soft"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"bloodCondition":{"description":"Explicit seller-stated bloodied condition of a governed trimmings product. It is independent of product identity, Polish processing-meat class, safety, and conformity.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["bloodied"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"pigCarcassClass":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["S","E","U","R","O","P"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Declared EU source pig carcass lean-meat class; not a lean percentage of the cut."},"bellyCutWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["wide","narrow"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"bellyCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared belly cut presentation; the named anatomical boundary and exact geometry remain separate."},"collarCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut","narrow-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared collar cut presentation; width, anatomical boundary, false lean and trim remain separate."},"bellyWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","required":["minimum","unit"],"properties":{"minimum":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","const":"mm"}}},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"processingMeatClass":{"description":"Seller-stated Polish processing-meat class, qualified by species because identical Roman codes have different pork and beef meanings.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["system","species","code"],"properties":{"system":{"type":"string","const":"polish-processing-meat"},"species":{"type":"string","enum":["porcine","bovine"]},"code":{"type":"string","enum":["I","II","IIA","IIB","III","IV"]}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"structured_pattern"}}},"packaging":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["vacuum","ivp","iwp","polyblock","box","jumbo-box","carton","naked-block"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"},"needsReview":{"type":"boolean","description":"True when the retained generic value is safe but a narrower normalization requires review."},"suggested":{"type":"string","enum":["carton"],"description":"The narrower packaging value suggested for human confirmation."}}}},"packagingOptions":{"description":"Lossless packaging configurations. Alternatives are separate options and must not be interpreted as simultaneous components.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"refrigerationOptions":{"description":"Explicit offered conditions, with any packaging bound to each option. Never flatten alternatives into one lot or select the first condition.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"object","additionalProperties":false,"required":["refrigeration"],"properties":{"refrigeration":{"type":"string","enum":["fresh","chilled","frozen"]},"packagingOptions":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}}}},"commercialValues":{"description":"High-confidence currency-anchored prices recognized in identity-bearing input and excluded from product matching, ontology attributes, and blocking unresolved text.","type":"array","items":{"type":"object","additionalProperties":false,"required":["kind","amount","currency","raw","normalized","confidence","basis"],"properties":{"kind":{"type":"string","enum":["price","unit_price"]},"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1},"unit":{"type":"string","minLength":1},"raw":{"type":"string","minLength":1},"normalized":{"type":"string","minLength":1},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"structured_pattern"}}}},"nonProductVocabulary":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","matchedTermId","subtype","raw","normalized","basis"],"properties":{"id":{"type":"string","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}$"},"matchedTermId":{"type":"string","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}$"},"subtype":{"type":"string","enum":["incoterm","schedule","commercial","contact"]},"raw":{"type":"string","minLength":1},"normalized":{"type":"string","minLength":1},"basis":{"type":"string","const":"reviewed_non_product_vocabulary"},"code":{"type":"string","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"]},"version":{"type":"string","const":"2020"},"place":{"type":"string","minLength":1},"misuse":{"type":"string","enum":["obsolete-term","sea-term-for-container"]}}}},"supportingEvidence":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["source","recognized"],"properties":{"source":{"type":"object","additionalProperties":false,"required":["kind","index","role"],"properties":{"kind":{"type":"string","const":"supporting_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","enum":["listing_description","technical_specification","commercial_terms"]}}},"recognized":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","fieldId","key","machineValue","raw","confidence","basis","effect"],"properties":{"kind":{"type":"string","const":"attribute"},"fieldId":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"valueId":{"type":"string","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}$"},"machineValue":{"type":"string","minLength":1},"raw":{"type":"string","minLength":1},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","minLength":1},"effect":{"type":"string","enum":["added","corroborated","conflicted","informational"]}}},{"type":"object","additionalProperties":false,"required":["kind","id","matchedTermId","subtype","normalized","raw","effect"],"properties":{"kind":{"type":"string","const":"non_product_vocabulary"},"id":{"type":"string","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}$"},"matchedTermId":{"type":"string","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}$"},"subtype":{"type":"string","enum":["incoterm","schedule","commercial","contact"]},"normalized":{"type":"string","minLength":1},"raw":{"type":"string","minLength":1},"effect":{"type":"string","const":"informational"},"code":{"type":"string","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"]},"version":{"type":"string","const":"2020"},"place":{"type":"string","minLength":1},"misuse":{"type":"string","enum":["obsolete-term","sea-term-for-container"]}}},{"type":"object","additionalProperties":false,"required":["kind","field","alternatives","raw","effect"],"properties":{"kind":{"type":"string","const":"conflict"},"field":{"type":"string","minLength":1},"alternatives":{"type":"array","items":{"type":"string","minLength":1}},"raw":{"type":"array","items":{"type":"string","minLength":1}},"effect":{"type":"string","const":"conflicted"}}},{"type":"object","additionalProperties":false,"required":["kind","fromConceptId","toConceptId","fieldId","key","machineValue","raw","effect"],"properties":{"kind":{"type":"string","const":"identity_refinement"},"fromConceptId":{"type":"string","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}$"},"toConceptId":{"type":"string","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}$"},"fieldId":{"type":"string","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}$"},"key":{"type":"string","const":"ribRemovalStyle"},"machineValue":{"type":"string","enum":["single-ribbed","sheet-ribbed"]},"raw":{"type":"string","minLength":1},"effect":{"type":"string","const":"added"}}}]}}}}},"commodity":{"description":"The meat commodity of the submitted text, settled apart from its product, so a caller can answer 'is this pork?' while the product is held or unresolved. Basis `request_context`: the request's own commodity. `named_in_text`: one reviewed commodity name in the title, as a whole word sequence; a name that is also a country (`Turkey`) is not read. `tagged_product`: the one commodity of an auto-tagged product. Omitted when these disagree, the title names several commodities, or none applies. Never a product identity.","type":"object","additionalProperties":false,"required":["concept","basis"],"properties":{"concept":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"basis":{"type":"string","enum":["request_context","named_in_text","tagged_product"]},"raw":{"type":"string","minLength":1},"matchedTermId":{"type":"string","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}$"}}}}},"attributeMetadata":{"description":"Release-scoped presentation metadata for the attributes present in this response. Included only when includeAttributeMetadata is true.","type":"object","additionalProperties":false,"required":["requestedLocale","resolvedLocale","fallbackLocale","fallbackUsed","attributes"],"properties":{"requestedLocale":{"type":"string","minLength":1},"resolvedLocale":{"type":"string","enum":["en","bg","pl","de"]},"fallbackLocale":{"type":"string","const":"en"},"fallbackUsed":{"type":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"required":["field","values"],"properties":{"field":{"type":"object","additionalProperties":false,"required":["id","key","cardinality","valueKind","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"cardinality":{"type":"string","enum":["one","many"]},"valueKind":{"type":"string","enum":["controlled","measurement","reference","structured","composite"]},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}},"values":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","key","machineValue","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"machineValue":{"type":"string","minLength":1},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}}}}}}}},"resolutionEvent":{"type":"object","additionalProperties":false,"required":["id","decision","reasonCodes"],"properties":{"id":{"type":"string","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}$"},"decision":{"type":"string","enum":["auto_tag","review","no_match"]},"reasonCodes":{"type":"array","items":{"type":"string","enum":["selection_unresolved","selection_ambiguous","core_match_not_exact","has_ambiguities","blocking_unresolved_text","finished_food_name"]}}},"description":"Always present for omitted mode or ledgered mode. Entirely omitted for interactive mode; never null or a stub."},"assist":{"type":"object","additionalProperties":false,"required":["mode","applied","waitedMs"],"properties":{"mode":{"type":"string","const":"record"},"pick":{"type":"object","additionalProperties":false,"required":["choice","label","confidence","ranking","candidatesRead","candidatesIgnored","model","format","ms"],"properties":{"choice":{"anyOf":[{"type":"string","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":"null"}]},"label":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","score"],"properties":{"id":{"anyOf":[{"type":"string","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":"null"}]},"score":{"type":"number","minimum":0,"maximum":1}}}},"candidatesRead":{"type":"integer","minimum":0,"maximum":8},"candidatesIgnored":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}}},"titlePick":{"type":"object","additionalProperties":false,"required":["choice","label","confidence","ranking","candidatesRead","candidatesIgnored","model","format","ms"],"properties":{"choice":{"anyOf":[{"type":"string","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":"null"}]},"label":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","score"],"properties":{"id":{"anyOf":[{"type":"string","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":"null"}]},"score":{"type":"number","minimum":0,"maximum":1}}}},"candidatesRead":{"type":"integer","minimum":0,"maximum":8},"candidatesIgnored":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}},"description":"Carcass's pick from the title alone, among the candidates the title has without the catalogue name. Present when the title and the catalogue name point to different products, or when the request opted in (`assist`) and unread title wording and/or an inexact core match are all that hold the listing for review."},"numbers":{"anyOf":[{"type":"object","additionalProperties":false,"required":["numbers","numbersIgnored","model","format","ms"],"properties":{"numbers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["expression","kind"],"properties":{"expression":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["weight","size","ratio","count","price","date","duration","other"]},{"type":"null"}]},"unit":{"type":"string","enum":["g","kg","t","lb","mm","cm"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["role","score"],"properties":{"role":{"type":"string","enum":["piece","package","offer","animal"]},"score":{"type":"number","minimum":0,"maximum":1}}}},"value":{"anyOf":[{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"null"}]}}}},"numbersIgnored":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0},"supporting":{"description":"Numbers read from each sent supporting text, in request order. Absent when none were sent. Record-only; never applied to the listing.","type":"array","items":{"type":"object","additionalProperties":false,"required":["role","numbers","numbersIgnored","cut"],"properties":{"role":{"type":"string","minLength":1,"maxLength":64},"numbers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["expression","kind"],"properties":{"expression":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["weight","size","ratio","count","price","date","duration","other"]},{"type":"null"}]},"unit":{"type":"string","enum":["g","kg","t","lb","mm","cm"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["role","score"],"properties":{"role":{"type":"string","enum":["piece","package","offer","animal"]},"score":{"type":"number","minimum":0,"maximum":1}}}},"value":{"anyOf":[{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"null"}]}}}},"numbersIgnored":{"type":"integer","minimum":0},"cut":{"type":"boolean"}}}},"supportingTextsIgnored":{"type":"integer","minimum":0}}},{"type":"null"}]},"attributes":{"anyOf":[{"type":"object","additionalProperties":false,"required":["for","read","unclear","noField","fieldsRead","fieldsIgnored","linesDropped","model","format","ms"],"properties":{"for":{"type":"string","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}$"},"read":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","value","quote","start","end","confidence"],"properties":{"field":{"type":"string","minLength":1,"maxLength":200},"value":{"type":"string","minLength":1,"maxLength":500},"quote":{"type":"string","minLength":1,"maxLength":600},"start":{"type":"integer","minimum":0,"maximum":600},"end":{"type":"integer","minimum":1,"maximum":600},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["value","score"],"properties":{"value":{"type":"string","minLength":1,"maxLength":500},"score":{"type":"number","minimum":0,"maximum":1}}}}}}},"unclear":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","quote","values","why"],"properties":{"field":{"type":"string","minLength":1,"maxLength":200},"quote":{"type":"string","minLength":1,"maxLength":600},"values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"why":{"type":"string","enum":["alternatives","ambiguous"]}}}},"noField":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["quote","start","end"],"properties":{"quote":{"type":"string","minLength":1,"maxLength":600},"start":{"type":"integer","minimum":0,"maximum":600},"end":{"type":"integer","minimum":1,"maximum":600}}}},"fieldsRead":{"type":"integer","minimum":0,"maximum":40},"fieldsIgnored":{"type":"integer","minimum":0,"maximum":40},"linesDropped":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}}},{"type":"null"}]},"weightDisagreements":{"description":"Title weights disputed by Carcass. The corresponding number is in numbers.numbers at index. A weight repeated in the title that Carcass reads the same way each time is one reading, not a dispute.","type":"array","items":{"type":"object","additionalProperties":false,"required":["index","expression","resolverRaw","reason"],"properties":{"index":{"type":"integer","minimum":0},"expression":{"type":"string","minLength":1,"maxLength":100},"resolverRaw":{"type":"string","minLength":1},"reason":{"type":"string","enum":["not_weight","amount_mismatch","role_rejected"]}}}},"leftovers":{"description":"Advisory Carcass classifications for unresolved title wording. Record-only and never applied to the listing or acceptance gate.","anyOf":[{"type":"object","additionalProperties":false,"required":["leftovers","model","format","ms"],"properties":{"leftovers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["raw","reason","kind","confidence"],"properties":{"raw":{"type":"string","minLength":1,"maxLength":600},"reason":{"type":"string","enum":["known_vocabulary_not_applied","non_product_vocabulary","syntactic_residue","unsupported_structured_value","unsupported_vocabulary"]},"kind":{"type":"string","enum":["accounted","value","changes","home","not_product"]},"confidence":{"type":"number","minimum":0,"maximum":1},"coveredBy":{"description":"Present only for `accounted`; field is `product` or a resolver attribute field.","type":"object","additionalProperties":false,"required":["field","quote"],"properties":{"field":{"type":"string","minLength":1,"maxLength":200},"quote":{"type":"string","minLength":1,"maxLength":600}}}}}},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}}},{"type":"null"}]},"applied":{"type":"object","additionalProperties":false,"required":["selection","observations","attributes"],"properties":{"selection":{"type":"boolean","const":false},"observations":{"description":"Title weights Carcass classified that matched a text-read amount, with the resolver role they replaced. Description numbers are never applied.","type":"array","items":{"type":"object","additionalProperties":false,"required":["index","expression","kind"],"properties":{"index":{"type":"integer","minimum":0},"replacedRole":{"type":"string","enum":["unspecified","piece","package","offer","animal","shipment"]},"expression":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["weight","size","ratio","count","price","date","duration","other"]},{"type":"null"}]},"unit":{"type":"string","enum":["g","kg","t","lb","mm","cm"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["role","score"],"properties":{"role":{"type":"string","enum":["piece","package","offer","animal"]},"score":{"type":"number","minimum":0,"maximum":1}}}},"value":{"anyOf":[{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"null"}]}}}},"attributes":{"description":"Guarded title attributes adopted from Carcass only when the resolver left the field unread; grade may also replace a split A/B mix.","type":"array","items":{"type":"object","additionalProperties":false,"required":["field","value","quote","replacedValues"],"properties":{"field":{"type":"string","enum":["grade","rind","bone","calibration","originCountry"]},"value":{"type":"string","minLength":1},"quote":{"type":"string","minLength":1},"replacedValues":{"type":"array","items":{"type":"string"}}}}},"conflicts":{"description":"Title-against-catalogue conflicts dropped from `result.ambiguities` because `titlePick` chose the title's product at or above the configured confidence. Absent when none was dropped.","type":"array","items":{"type":"object","additionalProperties":false,"required":["field","alternatives","raw"],"properties":{"field":{"type":"string","const":"alternateTexts"},"alternatives":{"type":"array","items":{"type":"string"}},"raw":{"type":"array","items":{"type":"string"}}}}},"coreMatch":{"description":"The inexact core match that no longer holds the listing for review because `titlePick` chose the selected product at or above the configured confidence. `result.selection` is marked `coreMatchClearedBy: carcass_title_agreement`; `primary.matchTypeCore` keeps what the resolver matched. Absent when the core match was exact or was not cleared.","type":"object","additionalProperties":false,"required":["matchTypeCore","matchedTerm"],"properties":{"matchTypeCore":{"type":"string","enum":["phrase","fuzzy"]},"matchedTerm":{"type":"string","minLength":1}}},"unread":{"description":"Unread title wording that no longer holds the listing for review because `titlePick` chose the selected product at or above the configured confidence. Each entry stays in `result.unresolved`, marked `clearedBy: carcass_title_agreement`. Trade qualifiers that ask for a specification are never cleared. Absent when nothing was cleared.","type":"array","items":{"type":"object","additionalProperties":false,"required":["raw","normalized","reason"],"properties":{"raw":{"type":"string","minLength":1,"maxLength":600},"normalized":{"type":"string","minLength":1,"maxLength":600},"reason":{"type":"string","enum":["known_vocabulary_not_applied","non_product_vocabulary","syntactic_residue","unsupported_structured_value","unsupported_vocabulary"]}}}}}},"waitedMs":{"type":"number","minimum":0},"error":{"type":"object","additionalProperties":false,"required":["code"],"properties":{"code":{"type":"string","enum":["input_limit","product_unavailable","timeout","network_error","http_error","invalid_response"]},"statusCode":{"type":"integer","minimum":100,"maximum":599},"requestId":{"type":"string","minLength":1}}}}},"applicableAttributes":{"description":"Opt-in RFQ inputs for a resolved primary. Universal inputs are returned for every orderable product; coverage describes concept-specific review. Vocabulary uses the ontology release in the response (`taxonomyRelease`). Omitted when no primary is selected.","type":"object","additionalProperties":false,"required":["requestedLocale","resolvedLocale","fallbackLocale","fallbackUsed","attributes","conceptId","coverage"],"properties":{"requestedLocale":{"type":"string","minLength":1},"resolvedLocale":{"type":"string","enum":["en","bg","pl","de"]},"fallbackLocale":{"type":"string","const":"en"},"fallbackUsed":{"type":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"required":["field","values","applicability","state","accepts"],"properties":{"field":{"type":"object","additionalProperties":false,"required":["id","key","cardinality","valueKind","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"cardinality":{"type":"string","enum":["one","many"]},"valueKind":{"type":"string","enum":["controlled","measurement","reference","structured","composite"]},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}},"values":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","key","machineValue","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"machineValue":{"type":"string","minLength":1},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}}},"applicability":{"type":"string","enum":["universal","reviewed"]},"state":{"type":"string","enum":["missing","stated","inferred","conflicted"]},"accepts":{"type":"object","additionalProperties":false,"required":["inputPath","jsonSchema"],"properties":{"inputPath":{"type":"string"},"jsonSchema":{"type":"object","additionalProperties":true},"example":{"type":"object","additionalProperties":false,"required":["family","code","scope"],"properties":{"family":{"type":"string","const":"pork-d-trim"},"code":{"type":"string","enum":["1D","2D","3D","4D","5D","6D"]},"scope":{"type":"string","enum":["shoulder","leg"]}}},"profileCodes":{"type":"array","items":{"type":"string","enum":["1D","2D","3D","4D","5D","6D"]}}}}}}},"conceptId":{"type":"string","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}$"},"coverage":{"type":"string","enum":["reviewed","partial","not_reviewed"]}}},"concept":{"$ref":"#/components/schemas/PublishedResource"},"enrichment":{"type":"object","additionalProperties":true},"incoterm":{"type":"object","additionalProperties":false,"required":["id","code","version"],"properties":{"id":{"type":"string","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}$"},"code":{"type":"string","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"]},"version":{"type":"string","const":"2020"},"deliveryPlace":{"type":"string","minLength":1},"misuse":{"type":"string","enum":["obsolete-term","sea-term-for-container"]}}},"interactiveDecision":{"type":"object","additionalProperties":false,"required":["decision","reasonCodes"],"properties":{"decision":{"type":"string","enum":["auto_tag","review","no_match"]},"reasonCodes":{"type":"array","items":{"type":"string","enum":["selection_unresolved","selection_ambiguous","core_match_not_exact","has_ambiguities","blocking_unresolved_text","finished_food_name"]}}},"description":"Interactive mode only, and always present there. The decision and reason codes the resolution ledger derives for this result under the same release and resolver, computed by the same function, but no event was recorded: there is no event ID, nothing to give feedback on, and no case or unknown-vocabulary aggregate. A ledgered answer omits it and carries its decision on resolutionEvent."}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"resolutionEvent":{"id":"0198a000-0000-7000-8000-000000000302","decision":"auto_tag","reasonCodes":[]},"result":{"text":"Frozen pork belly","normalizedText":"frozen pork belly","tokens":["frozen","pork","belly"],"candidates":[{"concept":{"id":"0198a000-0000-7000-8000-000000001025","conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active","species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalLabel":"Domestic pig"}],"commodities":[]},"matchedTerm":{"id":"0198a000-0000-7000-8000-000000002025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork Belly","normalizedText":"pork belly","tokens":["pork","belly"],"locale":"en","termType":"preferred"},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906,"lexicalScore":0.943333,"contextScore":0.5,"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"}}],"selection":{"status":"resolved","primary":{"concept":{"id":"0198a000-0000-7000-8000-000000001025","conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active","species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalLabel":"Domestic pig"}],"commodities":[]},"matchedTerm":{"id":"0198a000-0000-7000-8000-000000002025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork Belly","normalizedText":"pork belly","tokens":["pork","belly"],"locale":"en","termType":"preferred"},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906,"lexicalScore":0.943333,"contextScore":0.5,"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"}},"alternatives":[],"selectedFrom":{"kind":"alternate_text","index":0,"role":"catalogue_product_name","text":"polędwiczka wieprzowa"}},"qualifiers":[],"attributes":{"refrigeration":{"normalized":"frozen","raw":"Frozen","confidence":0.98,"basis":"controlled_vocabulary"}},"commercialValues":[],"ambiguities":[],"unresolved":[],"explanation":[],"selectedFrom":{"kind":"alternate_text","index":0,"role":"catalogue_product_name","text":"polędwiczka wieprzowa"},"detectedLocale":{"locale":"pl","language":"pl","basis":"matched_term","confidence":0.99,"termId":"0198a000-0000-7000-8000-000000002025"},"canonicalAttributes":[{"fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","cardinality":"one","valueKind":"controlled","values":[{"valueId":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","machineValue":"frozen","raw":"MROŻONA","confidence":0.98,"basis":"controlled_vocabulary","source":"text"}]}],"inputMatches":[],"supportingEvidence":[{"source":{"kind":"supporting_text","index":0,"role":"listing_description"},"recognized":[{"kind":"attribute","fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","valueId":"01a01a72-9d4e-724f-a634-0b047477a82a","machineValue":"frozen","raw":"Mrożona","confidence":0.98,"basis":"controlled_vocabulary","effect":"corroborated"}]}]},"attributeMetadata":{"requestedLocale":"en","resolvedLocale":"en","fallbackLocale":"en","fallbackUsed":false,"attributes":{"refrigeration":{"field":{"id":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","cardinality":"one","valueKind":"controlled","locale":"en","label":"Condition","description":"The product's stated fresh, chilled, or frozen temperature condition.","fallbackUsed":false},"values":[{"id":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","machineValue":"frozen","locale":"en","label":"Frozen","description":"The product is offered frozen.","fallbackUsed":false}]}}}}},"interactive":{"summary":"Interactive draft (no resolution event)","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"result":{"text":"Frozen pork belly","normalizedText":"frozen pork belly","tokens":["frozen","pork","belly"],"candidates":[{"concept":{"id":"0198a000-0000-7000-8000-000000001025","conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active","species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalLabel":"Domestic pig"}],"commodities":[]},"matchedTerm":{"id":"0198a000-0000-7000-8000-000000002025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork Belly","normalizedText":"pork belly","tokens":["pork","belly"],"locale":"en","termType":"preferred"},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906,"lexicalScore":0.943333,"contextScore":0.5,"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"}}],"selection":{"status":"resolved","primary":{"concept":{"id":"0198a000-0000-7000-8000-000000001025","conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active","species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalLabel":"Domestic pig"}],"commodities":[]},"matchedTerm":{"id":"0198a000-0000-7000-8000-000000002025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork Belly","normalizedText":"pork belly","tokens":["pork","belly"],"locale":"en","termType":"preferred"},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906,"lexicalScore":0.943333,"contextScore":0.5,"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"}},"alternatives":[],"selectedFrom":{"kind":"alternate_text","index":0,"role":"catalogue_product_name","text":"polędwiczka wieprzowa"}},"qualifiers":[],"attributes":{"refrigeration":{"normalized":"frozen","raw":"Frozen","confidence":0.98,"basis":"controlled_vocabulary"}},"commercialValues":[],"ambiguities":[],"unresolved":[],"explanation":[],"selectedFrom":{"kind":"alternate_text","index":0,"role":"catalogue_product_name","text":"polędwiczka wieprzowa"},"detectedLocale":{"locale":"pl","language":"pl","basis":"matched_term","confidence":0.99,"termId":"0198a000-0000-7000-8000-000000002025"},"canonicalAttributes":[{"fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","cardinality":"one","valueKind":"controlled","values":[{"valueId":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","machineValue":"frozen","raw":"MROŻONA","confidence":0.98,"basis":"controlled_vocabulary","source":"text"}]}],"inputMatches":[],"supportingEvidence":[{"source":{"kind":"supporting_text","index":0,"role":"listing_description"},"recognized":[{"kind":"attribute","fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","valueId":"01a01a72-9d4e-724f-a634-0b047477a82a","machineValue":"frozen","raw":"Mrożona","confidence":0.98,"basis":"controlled_vocabulary","effect":"corroborated"}]}]},"attributeMetadata":{"requestedLocale":"en","resolvedLocale":"en","fallbackLocale":"en","fallbackUsed":false,"attributes":{"refrigeration":{"field":{"id":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","cardinality":"one","valueKind":"controlled","locale":"en","label":"Condition","description":"The product's stated fresh, chilled, or frozen temperature condition.","fallbackUsed":false},"values":[{"id":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","machineValue":"frozen","locale":"en","label":"Frozen","description":"The product is offered frozen.","fallbackUsed":false}]}}}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/resolve/batch":{"post":{"operationId":"resolveMeatProductBatch","summary":"Resolve up to 100 caller-sanitized meat-trade descriptions in one request","description":"Resolves up to 100 questions in one request. Each item's `input` is the body of `POST /v1/resolve` without `mode`, and each answer is the answer `POST /v1/resolve` would give for that input, including Carcass reading and `assist`. One `mode` applies to every item; ledgered mode records one resolution event per answered item. All items are resolved against one release snapshot, reported once at the top level. Answers keep request order and echo each item's `id`. An item that cannot be answered carries its own `error` with the HTTP status a single request would have received; `retryable` is true only when the resolver was busy for that item, nothing was recorded for it, and asking it again later can succeed. A batch holds one resolver slot while its questions are matched, and batches together hold at most half the slots, so single requests always find one. When no slot is free for the batch, the whole batch is refused with 503 `RESOLVER_BUSY` before anything is recorded; resend it after `Retry-After`. Use it for bulk re-resolution such as catalogue re-tagging; interactive single questions should keep using `POST /v1/resolve`.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":60,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["items"],"properties":{"mode":{"type":"string","enum":["ledgered","interactive"],"description":"One mode for every item. Omit for ledgered resolution, which records one resolution event per answered item. Interactive records none."},"items":{"type":"array","minItems":1,"maxItems":100,"description":"The questions, each answered as POST /v1/resolve would answer it. Item ids must be unique within the batch.","items":{"type":"object","additionalProperties":false,"required":["id","input"],"properties":{"id":{"type":"string","minLength":1,"maxLength":200,"description":"Caller-chosen identifier echoed on this item's answer."},"input":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","minLength":1,"maxLength":2000},"inputKind":{"type":"string","enum":["title","question"],"description":"What kind of text `text` is. Omit or use `title` for a listing title or product line, where every unread word holds the listing for review (the behavior before this field existed). `question` reads `text` as a person's question about a product: unread wording wholly before or after the product phrase (the selected product's words and the attributes read around them) is the question's framing. It stays in `result.unresolved`, marked `clearedBy: question_framing`, but no longer counts toward `blocking_unresolved_text`, and with it set aside a phrase match whose only other unread wording is governed non-product vocabulary has an exact `matchTypeCore`. Unread wording inside the product phrase, unread wording carrying a negation cue (no, not, without and their reviewed equivalents) wherever it stands, known product vocabulary, structured values, ambiguities, conflicting attributes and an ambiguous or unresolved selection hold a question as they hold a title. Question framing never adds a product identity and is not aggregated as unknown vocabulary. Applies to `text` only; `alternateTexts` are always titles."},"assist":{"type":"string","enum":["off","agreement","on","always"],"description":"Opt in to configured API-layer assistance. Assistance is disabled unless the server is in record mode. `agreement` asks one title-only question when unread title wording and/or an inexact core match are all that hold the listing, and nothing else; its agreement with the selected product clears those holds (see `assist.titlePick`, `assist.applied.unread` and `assist.applied.coreMatch`). `on` includes `agreement` and also asks for the record-only pick after a helpable review result; `always` also asks on auto-tag and when the resolver abstains among candidates (`selection_ambiguous` or `selection_unresolved`). Record mode never changes the resolver selection, including for `always`. Independent of this field, a configured server asks the title-only question when the title and a catalogue product name point to different products."},"selection":{"type":"object","additionalProperties":false,"required":["conceptId","source","confidence"],"properties":{"conceptId":{"type":"string","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}$"},"source":{"type":"string","enum":["assist","human_override"]},"confidence":{"type":"number","minimum":0,"maximum":1}},"description":"A release-scoped active orderable product identity supplied by an assisted or human review workflow. The original text remains the source of attribute evidence, and the response retains the resolver's ordinary identity decision as unassistedSelection."},"requestReference":{"type":"string","minLength":1,"maxLength":500,"description":"Optional caller-owned source-record reference copied into the resolution event ledger."},"locale":{"type":"string","minLength":1,"maxLength":100,"description":"Optional text-language hint. A mismatch is neutral: it never restricts cross-language term or attribute matching."},"metadataLocale":{"type":"string","minLength":1,"maxLength":100,"description":"Requested presentation locale for attribute metadata. Defaults to the detected matched-term language, then English."},"market":{"type":"string","minLength":1,"maxLength":200},"scheme":{"type":"string","minLength":1,"maxLength":200},"species":{"type":"string","minLength":1,"maxLength":200},"commodity":{"type":"string","minLength":1,"maxLength":200,"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."},"animalClass":{"type":"string","minLength":1,"maxLength":200,"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."},"alternateTexts":{"type":"array","maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["text","role"],"properties":{"text":{"type":"string","minLength":1,"maxLength":2000},"role":{"type":"string","enum":["catalogue_product_name"]}}}},"supportingTexts":{"type":"array","maxItems":5,"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":{"type":"object","additionalProperties":false,"required":["text","role"],"properties":{"text":{"type":"string","minLength":1,"maxLength":4096},"role":{"type":"string","enum":["listing_description","technical_specification","commercial_terms"]},"locale":{"type":"string","minLength":1,"maxLength":100,"description":"Optional language hint for this supporting source. It never restricts cross-language recognition."}}}},"context":{"type":"object","additionalProperties":false,"properties":{"market":{"type":"string","minLength":1,"maxLength":200},"scheme":{"type":"string","minLength":1,"maxLength":200},"species":{"type":"string","minLength":1,"maxLength":200},"commodity":{"type":"string","minLength":1,"maxLength":200},"animalClass":{"type":"string","minLength":1,"maxLength":200}}},"observations":{"type":"object","additionalProperties":false,"properties":{"attributes":{"type":"object","maxProperties":64,"propertyNames":{"pattern":"^[a-z][A-Za-z0-9]{0,99}$"},"additionalProperties":true,"description":"Confirmed normalized inputs. Each key and value must satisfy the release-scoped applicableAttributes entry; incompatible evidence is retained for review."},"trimCode":{"type":"object","additionalProperties":false,"required":["family","code","scope"],"properties":{"family":{"type":"string","const":"pork-d-trim"},"code":{"type":"string","enum":["1D","2D","3D","4D","5D","6D"]},"scope":{"type":"string","enum":["shoulder","leg"]}}},"refrigeration":{"type":"string","enum":["fresh","chilled","frozen"]},"originCountry":{"type":"array","maxItems":20,"uniqueItems":true,"items":{"type":"string","pattern":"^[A-Z]{2}$"}},"certificationClaim":{"type":"array","maxItems":11,"uniqueItems":true,"items":{"type":"string","enum":["halal","kosher","red-tractor","ifs","brcgs","haccp","iso-22000","fsis","tuv","imta","organic"]}},"packaging":{"type":"array","maxItems":11,"uniqueItems":true,"items":{"type":"string","enum":["box","carton","jumbo-box","crate","iwp","ivp","vacuum","polyblock","naked-block","plate-frozen","hanging"]}}}},"include":{"type":"array","maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["concept","enrichment"]}},"limit":{"type":"integer","minimum":1,"maximum":25},"includeApplicableAttributes":{"type":"boolean","description":"Include partial, reviewed RFQ field discovery for the resolved primary. Does not affect resolution, require missing fields, or choose a primary for ambiguous input. Uses metadataLocale and the same release; see /docs/applicable-attributes."},"includeAttributeMetadata":{"type":"boolean","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."}},"description":"The same body as POST /v1/resolve, without mode."}}}}}},"examples":{"default":{"summary":"Example request","value":{"items":[{"id":"line-1","input":{"text":"MROŻONA POLĘDWICZKA WIEPRZOWA BEZ KOŚCI","requestReference":"offer-1042","locale":"pl","context":{"species":"Domestic pig"},"assist":"agreement"}},{"id":"line-2","input":{"text":"Polędwica wołowa","requestReference":"offer-1043","locale":"pl","context":{"species":"Domestic cattle","commodity":"Beef"},"assist":"agreement"}}]}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","resolver","items"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"items":{"type":"array","description":"One answer per item, in request order.","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["id","status","response"],"properties":{"id":{"type":"string"},"status":{"type":"string","const":"answered"},"response":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","resolver","result"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"result":{"type":"object","additionalProperties":true,"properties":{"candidates":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"selection":{"type":"object","additionalProperties":true,"properties":{"selectedFrom":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","conceptId","source","confidence"],"properties":{"kind":{"type":"string","const":"supplied_selection"},"conceptId":{"type":"string","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}$"},"source":{"type":"string","enum":["assist","human_override"]},"confidence":{"type":"number","minimum":0,"maximum":1}}},{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","base","index","role","text"],"properties":{"kind":{"type":"string","const":"supporting_text_refinement"},"base":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}}]},"index":{"type":"integer","minimum":0},"role":{"type":"string","enum":["listing_description","technical_specification"]},"text":{"type":"string","minLength":1}}}]},"primary":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"alternatives":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"reasonCode":{"type":"string","enum":["missing_species","missing_bone_state","missing_scheme","unsupported_product_for_species","unsupported_product_for_commodity","insufficient_context","low_confidence_match","no_candidate"]},"missingContext":{"type":"array","items":{"type":"string","enum":["species","bone_state","scheme"]}},"options":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"candidate":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"species":{"type":"array","items":{"type":"object","additionalProperties":true}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":true}},"boneState":{"type":"string","enum":["bone-in","boneless","partly-boned"]}}}}}},"unassistedSelection":{"type":"object","additionalProperties":true,"properties":{"selectedFrom":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","conceptId","source","confidence"],"properties":{"kind":{"type":"string","const":"supplied_selection"},"conceptId":{"type":"string","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}$"},"source":{"type":"string","enum":["assist","human_override"]},"confidence":{"type":"number","minimum":0,"maximum":1}}},{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","base","index","role","text"],"properties":{"kind":{"type":"string","const":"supporting_text_refinement"},"base":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1}}},{"type":"object","additionalProperties":false,"required":["kind","index","role","text"],"properties":{"kind":{"type":"string","const":"alternate_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","const":"catalogue_product_name"},"text":{"type":"string","minLength":1}}}]},"index":{"type":"integer","minimum":0},"role":{"type":"string","enum":["listing_description","technical_specification"]},"text":{"type":"string","minLength":1}}}]},"primary":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"alternatives":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"reasonCode":{"type":"string","enum":["missing_species","missing_bone_state","missing_scheme","unsupported_product_for_species","unsupported_product_for_commodity","insufficient_context","low_confidence_match","no_candidate"]},"missingContext":{"type":"array","items":{"type":"string","enum":["species","bone_state","scheme"]}},"options":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"candidate":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"species":{"type":"array","items":{"type":"object","additionalProperties":true}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":true}},"boneState":{"type":"string","enum":["bone-in","boneless","partly-boned"]}}}}}},"qualifiers":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"attributes":{"type":"object","additionalProperties":true,"properties":{"poultryMeatComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","meatTypes"],"properties":{"mode":{"type":"string","enum":["single","options","mixture"]},"meatTypes":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["white","dark"]}}},"oneOf":[{"properties":{"mode":{"const":"single"},"meatTypes":{"maxItems":1}}},{"properties":{"mode":{"enum":["options","mixture"]},"meatTypes":{"minItems":2}}}]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"sexComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","components"],"properties":{"mode":{"type":"string","enum":["options","mixture","proportions"]},"percentageBasis":{"type":"string","enum":["unspecified","weight","count"]},"components":{"type":"array","minItems":1,"maxItems":2,"items":{"type":"object","additionalProperties":false,"required":["sex"],"properties":{"sex":{"type":"string","enum":["male","female"]},"percentage":{"type":"number","minimum":0,"maximum":100}}}}},"description":"Stated source-animal sexes and optional percentages. Do not infer an unstated remainder or whether percentages refer to mass or animal count. Components must have unique sexes and percentages must total at most 100."},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"animalClassComposition":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","classConceptIds"],"properties":{"mode":{"type":"string","enum":["options","mixture"],"description":"options: one or more listed classes, presence unspecified. mixture: every listed class explicitly present. Neither mode supplies proportions."},"classConceptIds":{"type":"array","minItems":2,"uniqueItems":true,"items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"feedingRegimeClaim":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["grass-fed","grain-fed","milk-fed","corn-fed","acorn-fed","field-fed","feed-fed"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"fabricatedFrom":{"type":"array","items":{"description":"An explicitly stated source cut for a fabrication-trimmings product, retained as a stable ontology concept reference.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["conceptId","canonicalLabel","schemeIds"],"properties":{"conceptId":{"type":"string","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}$"},"canonicalLabel":{"type":"string","minLength":1},"schemeIds":{"type":"array","items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}}},"lifeStage":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["young"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"fatFirmness":{"description":"Explicit seller-stated qualitative firmness of a governed raw separable-fat product. Refrigeration remains a separate attribute.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["hard","soft"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"bloodCondition":{"description":"Explicit seller-stated bloodied condition of a governed trimmings product. It is independent of product identity, Polish processing-meat class, safety, and conformity.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["bloodied"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"pigCarcassClass":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["S","E","U","R","O","P"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Declared EU source pig carcass lean-meat class; not a lean percentage of the cut."},"bellyCutWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["wide","narrow"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"bellyCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared belly cut presentation; the named anatomical boundary and exact geometry remain separate."},"collarCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut","narrow-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared collar cut presentation; width, anatomical boundary, false lean and trim remain separate."},"bellyWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","required":["minimum","unit"],"properties":{"minimum":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","const":"mm"}}},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"processingMeatClass":{"description":"Seller-stated Polish processing-meat class, qualified by species because identical Roman codes have different pork and beef meanings.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["system","species","code"],"properties":{"system":{"type":"string","const":"polish-processing-meat"},"species":{"type":"string","enum":["porcine","bovine"]},"code":{"type":"string","enum":["I","II","IIA","IIB","III","IV"]}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"structured_pattern"}}},"packaging":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["vacuum","ivp","iwp","polyblock","box","jumbo-box","carton","naked-block"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"},"needsReview":{"type":"boolean","description":"True when the retained generic value is safe but a narrower normalization requires review."},"suggested":{"type":"string","enum":["carton"],"description":"The narrower packaging value suggested for human confirmation."}}}},"packagingOptions":{"description":"Lossless packaging configurations. Alternatives are separate options and must not be interpreted as simultaneous components.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"refrigerationOptions":{"description":"Explicit offered conditions, with any packaging bound to each option. Never flatten alternatives into one lot or select the first condition.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"object","additionalProperties":false,"required":["refrigeration"],"properties":{"refrigeration":{"type":"string","enum":["fresh","chilled","frozen"]},"packagingOptions":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}}}},"commercialValues":{"description":"High-confidence currency-anchored prices recognized in identity-bearing input and excluded from product matching, ontology attributes, and blocking unresolved text.","type":"array","items":{"type":"object","additionalProperties":false,"required":["kind","amount","currency","raw","normalized","confidence","basis"],"properties":{"kind":{"type":"string","enum":["price","unit_price"]},"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1},"unit":{"type":"string","minLength":1},"raw":{"type":"string","minLength":1},"normalized":{"type":"string","minLength":1},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"structured_pattern"}}}},"nonProductVocabulary":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","matchedTermId","subtype","raw","normalized","basis"],"properties":{"id":{"type":"string","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}$"},"matchedTermId":{"type":"string","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}$"},"subtype":{"type":"string","enum":["incoterm","schedule","commercial","contact"]},"raw":{"type":"string","minLength":1},"normalized":{"type":"string","minLength":1},"basis":{"type":"string","const":"reviewed_non_product_vocabulary"},"code":{"type":"string","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"]},"version":{"type":"string","const":"2020"},"place":{"type":"string","minLength":1},"misuse":{"type":"string","enum":["obsolete-term","sea-term-for-container"]}}}},"supportingEvidence":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["source","recognized"],"properties":{"source":{"type":"object","additionalProperties":false,"required":["kind","index","role"],"properties":{"kind":{"type":"string","const":"supporting_text"},"index":{"type":"integer","minimum":0},"role":{"type":"string","enum":["listing_description","technical_specification","commercial_terms"]}}},"recognized":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind","fieldId","key","machineValue","raw","confidence","basis","effect"],"properties":{"kind":{"type":"string","const":"attribute"},"fieldId":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"valueId":{"type":"string","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}$"},"machineValue":{"type":"string","minLength":1},"raw":{"type":"string","minLength":1},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","minLength":1},"effect":{"type":"string","enum":["added","corroborated","conflicted","informational"]}}},{"type":"object","additionalProperties":false,"required":["kind","id","matchedTermId","subtype","normalized","raw","effect"],"properties":{"kind":{"type":"string","const":"non_product_vocabulary"},"id":{"type":"string","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}$"},"matchedTermId":{"type":"string","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}$"},"subtype":{"type":"string","enum":["incoterm","schedule","commercial","contact"]},"normalized":{"type":"string","minLength":1},"raw":{"type":"string","minLength":1},"effect":{"type":"string","const":"informational"},"code":{"type":"string","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"]},"version":{"type":"string","const":"2020"},"place":{"type":"string","minLength":1},"misuse":{"type":"string","enum":["obsolete-term","sea-term-for-container"]}}},{"type":"object","additionalProperties":false,"required":["kind","field","alternatives","raw","effect"],"properties":{"kind":{"type":"string","const":"conflict"},"field":{"type":"string","minLength":1},"alternatives":{"type":"array","items":{"type":"string","minLength":1}},"raw":{"type":"array","items":{"type":"string","minLength":1}},"effect":{"type":"string","const":"conflicted"}}},{"type":"object","additionalProperties":false,"required":["kind","fromConceptId","toConceptId","fieldId","key","machineValue","raw","effect"],"properties":{"kind":{"type":"string","const":"identity_refinement"},"fromConceptId":{"type":"string","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}$"},"toConceptId":{"type":"string","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}$"},"fieldId":{"type":"string","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}$"},"key":{"type":"string","const":"ribRemovalStyle"},"machineValue":{"type":"string","enum":["single-ribbed","sheet-ribbed"]},"raw":{"type":"string","minLength":1},"effect":{"type":"string","const":"added"}}}]}}}}},"commodity":{"description":"The meat commodity of the submitted text, settled apart from its product, so a caller can answer 'is this pork?' while the product is held or unresolved. Basis `request_context`: the request's own commodity. `named_in_text`: one reviewed commodity name in the title, as a whole word sequence; a name that is also a country (`Turkey`) is not read. `tagged_product`: the one commodity of an auto-tagged product. Omitted when these disagree, the title names several commodities, or none applies. Never a product identity.","type":"object","additionalProperties":false,"required":["concept","basis"],"properties":{"concept":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"basis":{"type":"string","enum":["request_context","named_in_text","tagged_product"]},"raw":{"type":"string","minLength":1},"matchedTermId":{"type":"string","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}$"}}}}},"attributeMetadata":{"description":"Release-scoped presentation metadata for the attributes present in this response. Included only when includeAttributeMetadata is true.","type":"object","additionalProperties":false,"required":["requestedLocale","resolvedLocale","fallbackLocale","fallbackUsed","attributes"],"properties":{"requestedLocale":{"type":"string","minLength":1},"resolvedLocale":{"type":"string","enum":["en","bg","pl","de"]},"fallbackLocale":{"type":"string","const":"en"},"fallbackUsed":{"type":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"required":["field","values"],"properties":{"field":{"type":"object","additionalProperties":false,"required":["id","key","cardinality","valueKind","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"cardinality":{"type":"string","enum":["one","many"]},"valueKind":{"type":"string","enum":["controlled","measurement","reference","structured","composite"]},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}},"values":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","key","machineValue","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"machineValue":{"type":"string","minLength":1},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}}}}}}}},"resolutionEvent":{"type":"object","additionalProperties":false,"required":["id","decision","reasonCodes"],"properties":{"id":{"type":"string","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}$"},"decision":{"type":"string","enum":["auto_tag","review","no_match"]},"reasonCodes":{"type":"array","items":{"type":"string","enum":["selection_unresolved","selection_ambiguous","core_match_not_exact","has_ambiguities","blocking_unresolved_text","finished_food_name"]}}},"description":"Always present for omitted mode or ledgered mode. Entirely omitted for interactive mode; never null or a stub."},"assist":{"type":"object","additionalProperties":false,"required":["mode","applied","waitedMs"],"properties":{"mode":{"type":"string","const":"record"},"pick":{"type":"object","additionalProperties":false,"required":["choice","label","confidence","ranking","candidatesRead","candidatesIgnored","model","format","ms"],"properties":{"choice":{"anyOf":[{"type":"string","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":"null"}]},"label":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","score"],"properties":{"id":{"anyOf":[{"type":"string","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":"null"}]},"score":{"type":"number","minimum":0,"maximum":1}}}},"candidatesRead":{"type":"integer","minimum":0,"maximum":8},"candidatesIgnored":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}}},"titlePick":{"type":"object","additionalProperties":false,"required":["choice","label","confidence","ranking","candidatesRead","candidatesIgnored","model","format","ms"],"properties":{"choice":{"anyOf":[{"type":"string","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":"null"}]},"label":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","score"],"properties":{"id":{"anyOf":[{"type":"string","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":"null"}]},"score":{"type":"number","minimum":0,"maximum":1}}}},"candidatesRead":{"type":"integer","minimum":0,"maximum":8},"candidatesIgnored":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}},"description":"Carcass's pick from the title alone, among the candidates the title has without the catalogue name. Present when the title and the catalogue name point to different products, or when the request opted in (`assist`) and unread title wording and/or an inexact core match are all that hold the listing for review."},"numbers":{"anyOf":[{"type":"object","additionalProperties":false,"required":["numbers","numbersIgnored","model","format","ms"],"properties":{"numbers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["expression","kind"],"properties":{"expression":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["weight","size","ratio","count","price","date","duration","other"]},{"type":"null"}]},"unit":{"type":"string","enum":["g","kg","t","lb","mm","cm"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["role","score"],"properties":{"role":{"type":"string","enum":["piece","package","offer","animal"]},"score":{"type":"number","minimum":0,"maximum":1}}}},"value":{"anyOf":[{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"null"}]}}}},"numbersIgnored":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0},"supporting":{"description":"Numbers read from each sent supporting text, in request order. Absent when none were sent. Record-only; never applied to the listing.","type":"array","items":{"type":"object","additionalProperties":false,"required":["role","numbers","numbersIgnored","cut"],"properties":{"role":{"type":"string","minLength":1,"maxLength":64},"numbers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["expression","kind"],"properties":{"expression":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["weight","size","ratio","count","price","date","duration","other"]},{"type":"null"}]},"unit":{"type":"string","enum":["g","kg","t","lb","mm","cm"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["role","score"],"properties":{"role":{"type":"string","enum":["piece","package","offer","animal"]},"score":{"type":"number","minimum":0,"maximum":1}}}},"value":{"anyOf":[{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"null"}]}}}},"numbersIgnored":{"type":"integer","minimum":0},"cut":{"type":"boolean"}}}},"supportingTextsIgnored":{"type":"integer","minimum":0}}},{"type":"null"}]},"attributes":{"anyOf":[{"type":"object","additionalProperties":false,"required":["for","read","unclear","noField","fieldsRead","fieldsIgnored","linesDropped","model","format","ms"],"properties":{"for":{"type":"string","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}$"},"read":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","value","quote","start","end","confidence"],"properties":{"field":{"type":"string","minLength":1,"maxLength":200},"value":{"type":"string","minLength":1,"maxLength":500},"quote":{"type":"string","minLength":1,"maxLength":600},"start":{"type":"integer","minimum":0,"maximum":600},"end":{"type":"integer","minimum":1,"maximum":600},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["value","score"],"properties":{"value":{"type":"string","minLength":1,"maxLength":500},"score":{"type":"number","minimum":0,"maximum":1}}}}}}},"unclear":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","quote","values","why"],"properties":{"field":{"type":"string","minLength":1,"maxLength":200},"quote":{"type":"string","minLength":1,"maxLength":600},"values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"why":{"type":"string","enum":["alternatives","ambiguous"]}}}},"noField":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["quote","start","end"],"properties":{"quote":{"type":"string","minLength":1,"maxLength":600},"start":{"type":"integer","minimum":0,"maximum":600},"end":{"type":"integer","minimum":1,"maximum":600}}}},"fieldsRead":{"type":"integer","minimum":0,"maximum":40},"fieldsIgnored":{"type":"integer","minimum":0,"maximum":40},"linesDropped":{"type":"integer","minimum":0},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}}},{"type":"null"}]},"weightDisagreements":{"description":"Title weights disputed by Carcass. The corresponding number is in numbers.numbers at index. A weight repeated in the title that Carcass reads the same way each time is one reading, not a dispute.","type":"array","items":{"type":"object","additionalProperties":false,"required":["index","expression","resolverRaw","reason"],"properties":{"index":{"type":"integer","minimum":0},"expression":{"type":"string","minLength":1,"maxLength":100},"resolverRaw":{"type":"string","minLength":1},"reason":{"type":"string","enum":["not_weight","amount_mismatch","role_rejected"]}}}},"leftovers":{"description":"Advisory Carcass classifications for unresolved title wording. Record-only and never applied to the listing or acceptance gate.","anyOf":[{"type":"object","additionalProperties":false,"required":["leftovers","model","format","ms"],"properties":{"leftovers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["raw","reason","kind","confidence"],"properties":{"raw":{"type":"string","minLength":1,"maxLength":600},"reason":{"type":"string","enum":["known_vocabulary_not_applied","non_product_vocabulary","syntactic_residue","unsupported_structured_value","unsupported_vocabulary"]},"kind":{"type":"string","enum":["accounted","value","changes","home","not_product"]},"confidence":{"type":"number","minimum":0,"maximum":1},"coveredBy":{"description":"Present only for `accounted`; field is `product` or a resolver attribute field.","type":"object","additionalProperties":false,"required":["field","quote"],"properties":{"field":{"type":"string","minLength":1,"maxLength":200},"quote":{"type":"string","minLength":1,"maxLength":600}}}}}},"model":{"type":"string","minLength":1},"format":{"type":"string","minLength":1},"ms":{"type":"number","minimum":0}}},{"type":"null"}]},"applied":{"type":"object","additionalProperties":false,"required":["selection","observations","attributes"],"properties":{"selection":{"type":"boolean","const":false},"observations":{"description":"Title weights Carcass classified that matched a text-read amount, with the resolver role they replaced. Description numbers are never applied.","type":"array","items":{"type":"object","additionalProperties":false,"required":["index","expression","kind"],"properties":{"index":{"type":"integer","minimum":0},"replacedRole":{"type":"string","enum":["unspecified","piece","package","offer","animal","shipment"]},"expression":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["weight","size","ratio","count","price","date","duration","other"]},{"type":"null"}]},"unit":{"type":"string","enum":["g","kg","t","lb","mm","cm"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["role","score"],"properties":{"role":{"type":"string","enum":["piece","package","offer","animal"]},"score":{"type":"number","minimum":0,"maximum":1}}}},"value":{"anyOf":[{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"null"}]}}}},"attributes":{"description":"Guarded title attributes adopted from Carcass only when the resolver left the field unread; grade may also replace a split A/B mix.","type":"array","items":{"type":"object","additionalProperties":false,"required":["field","value","quote","replacedValues"],"properties":{"field":{"type":"string","enum":["grade","rind","bone","calibration","originCountry"]},"value":{"type":"string","minLength":1},"quote":{"type":"string","minLength":1},"replacedValues":{"type":"array","items":{"type":"string"}}}}},"conflicts":{"description":"Title-against-catalogue conflicts dropped from `result.ambiguities` because `titlePick` chose the title's product at or above the configured confidence. Absent when none was dropped.","type":"array","items":{"type":"object","additionalProperties":false,"required":["field","alternatives","raw"],"properties":{"field":{"type":"string","const":"alternateTexts"},"alternatives":{"type":"array","items":{"type":"string"}},"raw":{"type":"array","items":{"type":"string"}}}}},"coreMatch":{"description":"The inexact core match that no longer holds the listing for review because `titlePick` chose the selected product at or above the configured confidence. `result.selection` is marked `coreMatchClearedBy: carcass_title_agreement`; `primary.matchTypeCore` keeps what the resolver matched. Absent when the core match was exact or was not cleared.","type":"object","additionalProperties":false,"required":["matchTypeCore","matchedTerm"],"properties":{"matchTypeCore":{"type":"string","enum":["phrase","fuzzy"]},"matchedTerm":{"type":"string","minLength":1}}},"unread":{"description":"Unread title wording that no longer holds the listing for review because `titlePick` chose the selected product at or above the configured confidence. Each entry stays in `result.unresolved`, marked `clearedBy: carcass_title_agreement`. Trade qualifiers that ask for a specification are never cleared. Absent when nothing was cleared.","type":"array","items":{"type":"object","additionalProperties":false,"required":["raw","normalized","reason"],"properties":{"raw":{"type":"string","minLength":1,"maxLength":600},"normalized":{"type":"string","minLength":1,"maxLength":600},"reason":{"type":"string","enum":["known_vocabulary_not_applied","non_product_vocabulary","syntactic_residue","unsupported_structured_value","unsupported_vocabulary"]}}}}}},"waitedMs":{"type":"number","minimum":0},"error":{"type":"object","additionalProperties":false,"required":["code"],"properties":{"code":{"type":"string","enum":["input_limit","product_unavailable","timeout","network_error","http_error","invalid_response"]},"statusCode":{"type":"integer","minimum":100,"maximum":599},"requestId":{"type":"string","minLength":1}}}}},"applicableAttributes":{"description":"Opt-in RFQ inputs for a resolved primary. Universal inputs are returned for every orderable product; coverage describes concept-specific review. Vocabulary uses the ontology release in the response (`taxonomyRelease`). Omitted when no primary is selected.","type":"object","additionalProperties":false,"required":["requestedLocale","resolvedLocale","fallbackLocale","fallbackUsed","attributes","conceptId","coverage"],"properties":{"requestedLocale":{"type":"string","minLength":1},"resolvedLocale":{"type":"string","enum":["en","bg","pl","de"]},"fallbackLocale":{"type":"string","const":"en"},"fallbackUsed":{"type":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"required":["field","values","applicability","state","accepts"],"properties":{"field":{"type":"object","additionalProperties":false,"required":["id","key","cardinality","valueKind","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"cardinality":{"type":"string","enum":["one","many"]},"valueKind":{"type":"string","enum":["controlled","measurement","reference","structured","composite"]},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}},"values":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","key","machineValue","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"machineValue":{"type":"string","minLength":1},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}}},"applicability":{"type":"string","enum":["universal","reviewed"]},"state":{"type":"string","enum":["missing","stated","inferred","conflicted"]},"accepts":{"type":"object","additionalProperties":false,"required":["inputPath","jsonSchema"],"properties":{"inputPath":{"type":"string"},"jsonSchema":{"type":"object","additionalProperties":true},"example":{"type":"object","additionalProperties":false,"required":["family","code","scope"],"properties":{"family":{"type":"string","const":"pork-d-trim"},"code":{"type":"string","enum":["1D","2D","3D","4D","5D","6D"]},"scope":{"type":"string","enum":["shoulder","leg"]}}},"profileCodes":{"type":"array","items":{"type":"string","enum":["1D","2D","3D","4D","5D","6D"]}}}}}}},"conceptId":{"type":"string","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}$"},"coverage":{"type":"string","enum":["reviewed","partial","not_reviewed"]}}},"concept":{"$ref":"#/components/schemas/PublishedResource"},"enrichment":{"type":"object","additionalProperties":true},"incoterm":{"type":"object","additionalProperties":false,"required":["id","code","version"],"properties":{"id":{"type":"string","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}$"},"code":{"type":"string","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"]},"version":{"type":"string","const":"2020"},"deliveryPlace":{"type":"string","minLength":1},"misuse":{"type":"string","enum":["obsolete-term","sea-term-for-container"]}}},"interactiveDecision":{"type":"object","additionalProperties":false,"required":["decision","reasonCodes"],"properties":{"decision":{"type":"string","enum":["auto_tag","review","no_match"]},"reasonCodes":{"type":"array","items":{"type":"string","enum":["selection_unresolved","selection_ambiguous","core_match_not_exact","has_ambiguities","blocking_unresolved_text","finished_food_name"]}}},"description":"Interactive mode only, and always present there. The decision and reason codes the resolution ledger derives for this result under the same release and resolver, computed by the same function, but no event was recorded: there is no event ID, nothing to give feedback on, and no case or unknown-vocabulary aggregate. A ledgered answer omits it and carries its decision on resolutionEvent."}}}}},{"type":"object","additionalProperties":false,"required":["id","status","error"],"properties":{"id":{"type":"string"},"status":{"type":"string","const":"failed"},"error":{"type":"object","additionalProperties":false,"required":["status","code","detail","retryable"],"properties":{"status":{"type":"integer","minimum":400,"maximum":599,"description":"The HTTP status the same question would have received from POST /v1/resolve."},"code":{"type":"string","minLength":1},"detail":{"type":"string"},"retryable":{"type":"boolean","description":"True only when the resolver was busy for this item; asking the same item again later can succeed. Nothing was recorded for a retryable item."}}}}}]}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"items":[{"id":"line-1","status":"answered","response":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"resolutionEvent":{"id":"0198a000-0000-7000-8000-000000000302","decision":"auto_tag","reasonCodes":[]},"result":{"text":"Frozen pork belly","normalizedText":"frozen pork belly","tokens":["frozen","pork","belly"],"candidates":[{"concept":{"id":"0198a000-0000-7000-8000-000000001025","conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active","species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalLabel":"Domestic pig"}],"commodities":[]},"matchedTerm":{"id":"0198a000-0000-7000-8000-000000002025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork Belly","normalizedText":"pork belly","tokens":["pork","belly"],"locale":"en","termType":"preferred"},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906,"lexicalScore":0.943333,"contextScore":0.5,"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"}}],"selection":{"status":"resolved","primary":{"concept":{"id":"0198a000-0000-7000-8000-000000001025","conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active","species":[{"id":"0198a000-0000-7000-8000-000000001001","canonicalLabel":"Domestic pig"}],"commodities":[]},"matchedTerm":{"id":"0198a000-0000-7000-8000-000000002025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptId":"0198a000-0000-7000-8000-000000001025","displayText":"Pork Belly","normalizedText":"pork belly","tokens":["pork","belly"],"locale":"en","termType":"preferred"},"matchType":"phrase","matchTypeCore":"exact","queryTokenRange":[1,3],"score":0.906,"lexicalScore":0.943333,"contextScore":0.5,"contextMatches":{"locale":"not_requested","market":"not_requested","scheme":"not_requested","species":"not_requested"}},"alternatives":[],"selectedFrom":{"kind":"alternate_text","index":0,"role":"catalogue_product_name","text":"polędwiczka wieprzowa"}},"qualifiers":[],"attributes":{"refrigeration":{"normalized":"frozen","raw":"Frozen","confidence":0.98,"basis":"controlled_vocabulary"}},"commercialValues":[],"ambiguities":[],"unresolved":[],"explanation":[],"selectedFrom":{"kind":"alternate_text","index":0,"role":"catalogue_product_name","text":"polędwiczka wieprzowa"},"detectedLocale":{"locale":"pl","language":"pl","basis":"matched_term","confidence":0.99,"termId":"0198a000-0000-7000-8000-000000002025"},"canonicalAttributes":[{"fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","cardinality":"one","valueKind":"controlled","values":[{"valueId":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","machineValue":"frozen","raw":"MROŻONA","confidence":0.98,"basis":"controlled_vocabulary","source":"text"}]}],"inputMatches":[],"supportingEvidence":[{"source":{"kind":"supporting_text","index":0,"role":"listing_description"},"recognized":[{"kind":"attribute","fieldId":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","valueId":"01a01a72-9d4e-724f-a634-0b047477a82a","machineValue":"frozen","raw":"Mrożona","confidence":0.98,"basis":"controlled_vocabulary","effect":"corroborated"}]}]},"attributeMetadata":{"requestedLocale":"en","resolvedLocale":"en","fallbackLocale":"en","fallbackUsed":false,"attributes":{"refrigeration":{"field":{"id":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","cardinality":"one","valueKind":"controlled","locale":"en","label":"Condition","description":"The product's stated fresh, chilled, or frozen temperature condition.","fallbackUsed":false},"values":[{"id":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","machineValue":"frozen","locale":"en","label":"Frozen","description":"The product is offered frozen.","fallbackUsed":false}]}}}}},{"id":"line-2","status":"failed","error":{"status":503,"code":"RESOLVER_BUSY","detail":"Matching workers are unavailable; retry the request","retryable":true}}]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/resolution-events/{id}/assist-confirmations":{"post":{"operationId":"confirmResolutionAssist","summary":"Confirm and accept one recorded Carcass proposal","description":"Records an explicit human confirmation of the exact Carcass proposal stored on an immutable Resolve event. The caller must own the proposal event. An omitted body preserves accept-all behavior. When attributes are supplied, every proposed reading must be accepted, corrected, or removed exactly once; reviewers may also add release-valid values. The operation is idempotent per proposal, never calls Carcass again, and retains removals and corrections as training labels with assist_confirmed provenance. New confirmations are rejected if the proposal release or resolver is stale; retrying an already-created confirmation returns the original payload.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"attributes":{"type":"array","maxItems":128,"items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["decision","proposalIndex"],"properties":{"decision":{"type":"string","enum":["accepted","removed"]},"proposalIndex":{"type":"integer","minimum":0}}},{"type":"object","additionalProperties":false,"required":["decision","proposalIndex","value"],"properties":{"decision":{"type":"string","const":"corrected"},"proposalIndex":{"type":"integer","minimum":0},"value":{"type":"string","minLength":1,"maxLength":500}}},{"type":"object","additionalProperties":false,"required":["decision","field","value"],"properties":{"decision":{"type":"string","const":"added"},"field":{"type":"string","minLength":1,"maxLength":200},"value":{"type":"string","minLength":1,"maxLength":500}}}]}}}},{"type":"null"}]},"examples":{"default":{"summary":"Example request","value":{"attributes":[{"decision":"accepted","proposalIndex":0}]}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","resolver","confirmation","applied"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"confirmation":{"type":"object","additionalProperties":false,"required":["id","proposalEventId","createdAt"],"properties":{"id":{"type":"string","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}$"},"proposalEventId":{"type":"string","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}$"},"createdAt":{"type":"string","format":"date-time"}}},"applied":{"type":"object","additionalProperties":false,"required":["selection","taxonomyAttributes","observations","attributes"],"properties":{"selection":{"type":"object","additionalProperties":false,"required":["conceptId","label","confidence"],"properties":{"conceptId":{"type":"string","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}$"},"label":{"type":"string","minLength":1},"confidence":{"type":"number","minimum":0,"maximum":1}}},"taxonomyAttributes":{"type":"object","additionalProperties":true,"properties":{"poultryMeatComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","meatTypes"],"properties":{"mode":{"type":"string","enum":["single","options","mixture"]},"meatTypes":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["white","dark"]}}},"oneOf":[{"properties":{"mode":{"const":"single"},"meatTypes":{"maxItems":1}}},{"properties":{"mode":{"enum":["options","mixture"]},"meatTypes":{"minItems":2}}}]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"sexComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","components"],"properties":{"mode":{"type":"string","enum":["options","mixture","proportions"]},"percentageBasis":{"type":"string","enum":["unspecified","weight","count"]},"components":{"type":"array","minItems":1,"maxItems":2,"items":{"type":"object","additionalProperties":false,"required":["sex"],"properties":{"sex":{"type":"string","enum":["male","female"]},"percentage":{"type":"number","minimum":0,"maximum":100}}}}},"description":"Stated source-animal sexes and optional percentages. Do not infer an unstated remainder or whether percentages refer to mass or animal count. Components must have unique sexes and percentages must total at most 100."},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"animalClassComposition":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","classConceptIds"],"properties":{"mode":{"type":"string","enum":["options","mixture"],"description":"options: one or more listed classes, presence unspecified. mixture: every listed class explicitly present. Neither mode supplies proportions."},"classConceptIds":{"type":"array","minItems":2,"uniqueItems":true,"items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"feedingRegimeClaim":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["grass-fed","grain-fed","milk-fed","corn-fed","acorn-fed","field-fed","feed-fed"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"fabricatedFrom":{"type":"array","items":{"description":"An explicitly stated source cut for a fabrication-trimmings product, retained as a stable ontology concept reference.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["conceptId","canonicalLabel","schemeIds"],"properties":{"conceptId":{"type":"string","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}$"},"canonicalLabel":{"type":"string","minLength":1},"schemeIds":{"type":"array","items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}}},"lifeStage":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["young"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"fatFirmness":{"description":"Explicit seller-stated qualitative firmness of a governed raw separable-fat product. Refrigeration remains a separate attribute.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["hard","soft"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"bloodCondition":{"description":"Explicit seller-stated bloodied condition of a governed trimmings product. It is independent of product identity, Polish processing-meat class, safety, and conformity.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["bloodied"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"pigCarcassClass":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["S","E","U","R","O","P"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Declared EU source pig carcass lean-meat class; not a lean percentage of the cut."},"bellyCutWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["wide","narrow"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"bellyCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared belly cut presentation; the named anatomical boundary and exact geometry remain separate."},"collarCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut","narrow-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared collar cut presentation; width, anatomical boundary, false lean and trim remain separate."},"bellyWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","required":["minimum","unit"],"properties":{"minimum":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","const":"mm"}}},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"processingMeatClass":{"description":"Seller-stated Polish processing-meat class, qualified by species because identical Roman codes have different pork and beef meanings.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["system","species","code"],"properties":{"system":{"type":"string","const":"polish-processing-meat"},"species":{"type":"string","enum":["porcine","bovine"]},"code":{"type":"string","enum":["I","II","IIA","IIB","III","IV"]}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"structured_pattern"}}},"packaging":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["vacuum","ivp","iwp","polyblock","box","jumbo-box","carton","naked-block"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"},"needsReview":{"type":"boolean","description":"True when the retained generic value is safe but a narrower normalization requires review."},"suggested":{"type":"string","enum":["carton"],"description":"The narrower packaging value suggested for human confirmation."}}}},"packagingOptions":{"description":"Lossless packaging configurations. Alternatives are separate options and must not be interpreted as simultaneous components.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"refrigerationOptions":{"description":"Explicit offered conditions, with any packaging bound to each option. Never flatten alternatives into one lot or select the first condition.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"object","additionalProperties":false,"required":["refrigeration"],"properties":{"refrigeration":{"type":"string","enum":["fresh","chilled","frozen"]},"packagingOptions":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}}}},"observations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["index","expression","kind"],"properties":{"index":{"type":"integer","minimum":0},"expression":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["weight","size","ratio","count","price","date","duration","other"]},{"type":"null"}]},"unit":{"type":"string","enum":["g","kg","t","lb","mm","cm"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"confidence":{"type":"number","minimum":0,"maximum":1},"ranking":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["role","score"],"properties":{"role":{"type":"string","enum":["piece","package","offer","animal"]},"score":{"type":"number","minimum":0,"maximum":1}}}},"value":{"anyOf":[{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","role","minimum","relation"],"properties":{"unit":{"type":"string","enum":["g","kg","t","lb"]},"role":{"type":"string","enum":["piece","package","offer","animal"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}},{"type":"array","items":{"type":"object","additionalProperties":false,"required":["unit","minimum","relation"],"properties":{"unit":{"type":"string","enum":["mm","cm"]},"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"relation":{"type":"string","enum":["value","range","minimum"]}}}},{"type":"null"}]}}}},"attributes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","value","quote","from","decision","basis","model","format"],"properties":{"field":{"type":"string","minLength":1,"maxLength":200},"value":{"type":"string","minLength":1,"maxLength":500},"quote":{"anyOf":[{"type":"string","minLength":1,"maxLength":600},{"type":"null"}]},"from":{"type":"string","enum":["assist","person"]},"decision":{"type":"string","enum":["accepted","corrected","removed","added"]},"proposed":{"type":"string","minLength":1,"maxLength":500},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"assist_confirmed"},"model":{"type":"string","minLength":1,"maxLength":100},"format":{"type":"string","minLength":1,"maxLength":100}}}}}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"confirmation":{"id":"0198a000-0000-7000-8000-000000000304","proposalEventId":"0198a000-0000-7000-8000-000000000302","createdAt":"2026-09-19T13:15:00.000Z"},"applied":{"selection":{"conceptId":"0198a000-0000-7000-8000-000000001025","label":"Pork belly","confidence":0.998},"taxonomyAttributes":{"refrigeration":{"normalized":"frozen","raw":"Frozen","confidence":1,"basis":"reviewed_term"}},"observations":[{"index":0,"expression":"10-12 kg","kind":"weight","unit":"kg","role":"piece","value":{"unit":"kg","role":"piece","minimum":10,"maximum":12,"relation":"range"},"confidence":0.93}],"attributes":[{"field":"refrigeration","value":"frozen","quote":"Frozen","from":"assist","decision":"accepted","confidence":0.99,"basis":"assist_confirmed","model":"attr-v3","format":"attr-1"}]}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/explore":{"post":{"operationId":"exploreMeatProduct","summary":"Enrich a resolver-selected meat product with ontology context","description":"Resolves a caller-sanitized product phrase and returns additional terms, identifiers, schemes, relationships, sources, and hierarchy-path (`taxonomyPath`) context. Meat Ontology 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.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","minLength":1,"maxLength":2000},"locale":{"type":"string","minLength":1,"maxLength":100},"species":{"type":"string","minLength":1,"maxLength":200},"commodity":{"type":"string","minLength":1,"maxLength":200,"description":"A separately sourced platform or integration meat-commodity observation such as Beef or Pork."},"limit":{"type":"integer","minimum":1,"maximum":12},"includeAttributeMetadata":{"type":"boolean","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."}}},"examples":{"default":{"summary":"Example request","value":{"text":"Frozen pork belly","locale":"en","limit":5,"includeAttributeMetadata":true}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","resolver","exploration"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"resolver":{"$ref":"#/components/schemas/ResolverRevision"},"exploration":{"type":"object","additionalProperties":true,"properties":{"focus":{"type":"object","additionalProperties":true,"properties":{"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"qualifiers":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"alternatives":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}}},"attributes":{"type":"object","additionalProperties":true,"properties":{"poultryMeatComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","meatTypes"],"properties":{"mode":{"type":"string","enum":["single","options","mixture"]},"meatTypes":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["white","dark"]}}},"oneOf":[{"properties":{"mode":{"const":"single"},"meatTypes":{"maxItems":1}}},{"properties":{"mode":{"enum":["options","mixture"]},"meatTypes":{"minItems":2}}}]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"sexComposition":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","components"],"properties":{"mode":{"type":"string","enum":["options","mixture","proportions"]},"percentageBasis":{"type":"string","enum":["unspecified","weight","count"]},"components":{"type":"array","minItems":1,"maxItems":2,"items":{"type":"object","additionalProperties":false,"required":["sex"],"properties":{"sex":{"type":"string","enum":["male","female"]},"percentage":{"type":"number","minimum":0,"maximum":100}}}}},"description":"Stated source-animal sexes and optional percentages. Do not infer an unstated remainder or whether percentages refer to mass or animal count. Components must have unique sexes and percentages must total at most 100."},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"animalClassComposition":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["mode","classConceptIds"],"properties":{"mode":{"type":"string","enum":["options","mixture"],"description":"options: one or more listed classes, presence unspecified. mixture: every listed class explicitly present. Neither mode supplies proportions."},"classConceptIds":{"type":"array","minItems":2,"uniqueItems":true,"items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"feedingRegimeClaim":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["grass-fed","grain-fed","milk-fed","corn-fed","acorn-fed","field-fed","feed-fed"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"fabricatedFrom":{"type":"array","items":{"description":"An explicitly stated source cut for a fabrication-trimmings product, retained as a stable ontology concept reference.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["conceptId","canonicalLabel","schemeIds"],"properties":{"conceptId":{"type":"string","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}$"},"canonicalLabel":{"type":"string","minLength":1},"schemeIds":{"type":"array","items":{"type":"string","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}$"}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}}},"lifeStage":{"type":"object","additionalProperties":true,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["young"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"reviewed_term"}}},"fatFirmness":{"description":"Explicit seller-stated qualitative firmness of a governed raw separable-fat product. Refrigeration remains a separate attribute.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["hard","soft"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"bloodCondition":{"description":"Explicit seller-stated bloodied condition of a governed trimmings product. It is independent of product identity, Polish processing-meat class, safety, and conformity.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["bloodied"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"controlled_vocabulary"}}},"pigCarcassClass":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["S","E","U","R","O","P"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Declared EU source pig carcass lean-meat class; not a lean percentage of the cut."},"bellyCutWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["wide","narrow"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"bellyCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared belly cut presentation; the named anatomical boundary and exact geometry remain separate."},"collarCutStyle":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["straight-cut","narrow-cut"]},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}},"description":"Seller-declared collar cut presentation; width, anatomical boundary, false lean and trim remain separate."},"bellyWidth":{"type":"object","required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","required":["minimum","unit"],"properties":{"minimum":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","const":"mm"}}},"raw":{"type":"string"},"confidence":{"type":"number"},"basis":{"type":"string"}}},"processingMeatClass":{"description":"Seller-stated Polish processing-meat class, qualified by species because identical Roman codes have different pork and beef meanings.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["system","species","code"],"properties":{"system":{"type":"string","const":"polish-processing-meat"},"species":{"type":"string","enum":["porcine","bovine"]},"code":{"type":"string","enum":["I","II","IIA","IIB","III","IV"]}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string","const":"structured_pattern"}}},"packaging":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"string","enum":["vacuum","ivp","iwp","polyblock","box","jumbo-box","carton","naked-block"]},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"},"needsReview":{"type":"boolean","description":"True when the retained generic value is safe but a narrower normalization requires review."},"suggested":{"type":"string","enum":["carton"],"description":"The narrower packaging value suggested for human confirmation."}}}},"packagingOptions":{"description":"Lossless packaging configurations. Alternatives are separate options and must not be interpreted as simultaneous components.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}},"refrigerationOptions":{"description":"Explicit offered conditions, with any packaging bound to each option. Never flatten alternatives into one lot or select the first condition.","type":"object","additionalProperties":false,"required":["normalized","raw","confidence","basis"],"properties":{"normalized":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"object","additionalProperties":false,"required":["refrigeration"],"properties":{"refrigeration":{"type":"string","enum":["fresh","chilled","frozen"]},"packagingOptions":{"type":"object","additionalProperties":false,"required":["relation","options"],"properties":{"relation":{"type":"string","enum":["single","alternatives"]},"options":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["components"],"properties":{"components":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["level","form"],"properties":{"level":{"type":"string","enum":["immediate","shipping"]},"form":{"type":"string","enum":["none","wrapped","bag","tray","film","box","carton","crate","bin"]},"tradeTerm":{"type":"string","enum":["iwp","ivp","jumbo-box"]},"atmosphere":{"type":"string","enum":["vacuum","modified-atmosphere"]},"unitization":{"type":"string","enum":["individual","bulk"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}},"unitsPerParent":{"type":"integer","minimum":1},"sizeClass":{"type":"string","enum":["E1","E2","E3","E6"]}}}},"presentations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["form","liner"],"properties":{"form":{"type":"string","enum":["block","hanging"]},"liner":{"type":"string","enum":["polyethylene","none","unspecified"]},"tradeTerm":{"type":"string","enum":["polyblock","naked-block"]},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"contentCount":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1},"unit":{"type":"string","enum":["piece"]},"relation":{"type":"string","enum":["value","range","minimum"]}}}}}},"weightMode":{"type":"string","enum":["fixed","variable"]},"netWeight":{"type":"object","additionalProperties":false,"required":["minimum","unit","relation"],"properties":{"minimum":{"type":"number","minimum":0},"maximum":{"type":"number","minimum":0},"unit":{"type":"string","enum":["g","kg","lb","oz"]},"relation":{"type":"string","enum":["minimum","range","value"]},"derived":{"type":"boolean"}}},"arrangement":{"type":"array","items":{"type":"string","enum":["layer","soldier"]}},"unitization":{"type":"string","enum":["individual","bulk"]},"materials":{"type":"array","items":{"type":"string","enum":["polyethylene","polystyrene","plastic","cardboard","foil"]}},"unspecified":{"type":"boolean"}}}}}}}}}}},"raw":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"basis":{"type":"string"}}}}},"unresolvedReason":{"type":"object","additionalProperties":false,"required":["reasonCode","missingContext","options"],"properties":{"reasonCode":{"type":"string","enum":["missing_species","missing_bone_state","missing_scheme","unsupported_product_for_species","unsupported_product_for_commodity","insufficient_context","low_confidence_match","no_candidate"]},"missingContext":{"type":"array","items":{"type":"string","enum":["species","bone_state","scheme"]}},"options":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"candidate":{"type":"object","additionalProperties":true,"properties":{"concept":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","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}$"},"conceptType":{"type":"string"},"canonicalLabel":{"type":"string"},"definition":{"type":"string"},"status":{"type":"string"},"schemeIds":{"type":"array","items":{"type":"string","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}$"}},"species":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"Release-scoped animal membership, identical to Suggest species references. Always present; empty when unknown. Labels are canonical, not localized."},"commodities":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","canonicalLabel"],"properties":{"id":{"type":"string","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}$"},"canonicalLabel":{"type":"string"}}},"description":"The concept itself when a meat commodity, plus directed meat-commodity ancestors. Always present; empty when unknown. Never inferred from species alone. Use IDs with release-scoped dictionaries for localized labels."}}},"matchType":{"type":"string","enum":["exact","phrase","fuzzy"],"description":"Lexical relationship between the reviewed term and the complete submitted text. Retained unchanged for v1 compatibility."},"matchTypeCore":{"type":"string","enum":["exact","phrase","fuzzy"],"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. With inputKind question, the post-selection promotion sets the question's framing aside. The supported automatic-tagging gate accepts an inexact core match only when the selection is marked coreMatchClearedBy carcass_title_agreement; it additionally requires a resolved selection, empty ambiguities, and no unresolved entries other than typed non_product_vocabulary residue, wording marked with inputRole catalogue_product_name, which only the catalogue product name contains, or wording marked clearedBy carcass_title_agreement or question_framing."}}},"species":{"type":"array","items":{"type":"object","additionalProperties":true}},"schemes":{"type":"array","items":{"type":"object","additionalProperties":true}},"boneState":{"type":"string","enum":["bone-in","boneless","partly-boned"]}}}}}}}},"attributeMetadata":{"description":"Release-scoped presentation metadata for the attributes present in this response. Included only when includeAttributeMetadata is true.","type":"object","additionalProperties":false,"required":["requestedLocale","resolvedLocale","fallbackLocale","fallbackUsed","attributes"],"properties":{"requestedLocale":{"type":"string","minLength":1},"resolvedLocale":{"type":"string","enum":["en","bg","pl","de"]},"fallbackLocale":{"type":"string","const":"en"},"fallbackUsed":{"type":"boolean"},"attributes":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"required":["field","values"],"properties":{"field":{"type":"object","additionalProperties":false,"required":["id","key","cardinality","valueKind","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"cardinality":{"type":"string","enum":["one","many"]},"valueKind":{"type":"string","enum":["controlled","measurement","reference","structured","composite"]},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}},"values":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","key","machineValue","locale","label","description","fallbackUsed"],"properties":{"id":{"type":"string","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}$"},"key":{"type":"string","minLength":1},"machineValue":{"type":"string","minLength":1},"locale":{"type":"string","enum":["en","bg","pl","de"]},"label":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"fallbackUsed":{"type":"boolean"}}}}}}}}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"resolver":{"version":"1.52.0","behaviorChecksum":"2d67b15d48c58812d15e106621abc025219322cf2d11fa2dcfe9af10e0a611e9"},"exploration":{"text":"Frozen pork belly","normalizedText":"frozen pork belly","status":"resolved","focus":{"basis":"resolver_selection","confidence":0.906,"rationale":"Selected Pork Belly from a phrase full-input match with an exact core terminology match after safely consumed attributes.","concept":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"matchedTerm":"Pork Belly","locale":"en","termType":"preferred","matchType":"phrase","matchTypeCore":"exact","score":0.906},"attributes":{"refrigeration":{"normalized":"frozen","raw":"Frozen","confidence":0.98,"basis":"controlled_vocabulary"}},"species":[],"schemes":[],"identifiers":[],"terms":[],"relationshipCount":0,"relationships":[],"sources":[],"taxonomyPath":[],"qualifiers":[],"alternatives":[],"ambiguities":[],"unresolved":[],"explanation":[]},"attributeMetadata":{"requestedLocale":"en","resolvedLocale":"en","fallbackLocale":"en","fallbackUsed":false,"attributes":{"refrigeration":{"field":{"id":"01a01a72-bdbe-739c-abc9-8141e0cb8afe","key":"refrigeration","cardinality":"one","valueKind":"controlled","locale":"en","label":"Condition","description":"The product's stated fresh, chilled, or frozen temperature condition.","fallbackUsed":false},"values":[{"id":"01a01a72-9d4e-724f-a634-0b047477a82a","key":"frozen","machineValue":"frozen","locale":"en","label":"Frozen","description":"The product is offered frozen.","fallbackUsed":false}]}}}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/validate":{"post":{"operationId":"validateTradeListings","summary":"Check trade listings for contradictions and unusual values","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 ontology data.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["listings"],"properties":{"listings":{"type":"array","minItems":1,"maxItems":1000,"items":{"type":"object","additionalProperties":false,"required":["reference","title"],"properties":{"reference":{"type":"string","minLength":1,"maxLength":200},"title":{"type":"string","minLength":1,"maxLength":2000},"category":{"type":"string","minLength":1,"maxLength":200},"conceptLabel":{"type":"string","minLength":1,"maxLength":500},"productName":{"type":"string","minLength":1,"maxLength":500},"price":{"type":"object","additionalProperties":false,"required":["amount","currency","unit"],"properties":{"amount":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","minLength":1,"maxLength":12},"unit":{"type":"string","minLength":1,"maxLength":40}}},"priceBenchmark":{"type":"object","additionalProperties":false,"required":["averageAmount","label","sampleSize","scope"],"properties":{"averageAmount":{"type":"number","exclusiveMinimum":0},"label":{"type":"string","minLength":1,"maxLength":300},"sampleSize":{"type":"integer","minimum":2},"scope":{"type":"string","enum":["category","taxonomy_concept"]}}}}}}}},"examples":{"default":{"summary":"Example request","value":{"listings":[{"reference":"offer-1042","title":"Frozen pork body fat halal","category":"Pork","productName":"Pork body fat","price":{"amount":21,"currency":"EUR","unit":"kg"},"priceBenchmark":{"averageAmount":4,"label":"Pork body fat","sampleSize":28,"scope":"taxonomy_concept"}}]}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","validator","result"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"validator":{"type":"object","additionalProperties":false,"required":["version","behaviorChecksum"],"properties":{"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"},"behaviorChecksum":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"result":{"type":"object","additionalProperties":false,"required":["listings","summary"],"properties":{"listings":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["attention","findings","reference","title"],"properties":{"attention":{"type":"string","enum":["must_fix","worth_checking"]},"findings":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["attention","code","evidence","fields","message","recommendation","title"],"properties":{"attention":{"type":"string","enum":["must_fix","worth_checking"]},"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"evidence":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["label","value"],"properties":{"label":{"type":"string","minLength":1},"value":{"type":"string","minLength":1}}}},"fields":{"type":"array","items":{"type":"string","minLength":1}},"message":{"type":"string","minLength":1},"recommendation":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}}}},"reference":{"type":"string","minLength":1,"maxLength":200},"title":{"type":"string","minLength":1,"maxLength":2000}}}},"summary":{"type":"object","additionalProperties":false,"required":["checkedListings","clearListings","listingsNeedingAttention","mustFixFindings","worthCheckingFindings"],"properties":{"checkedListings":{"type":"integer","minimum":0},"clearListings":{"type":"integer","minimum":0},"listingsNeedingAttention":{"type":"integer","minimum":0},"mustFixFindings":{"type":"integer","minimum":0},"worthCheckingFindings":{"type":"integer","minimum":0}}}}}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"validator":{"version":"1.0.0","behaviorChecksum":"f72c2b905ec8c374713b187da8d8ffb62c9d5e1a0d43ecc0a78536f47b895672"},"result":{"summary":{"checkedListings":1,"clearListings":0,"listingsNeedingAttention":1,"mustFixFindings":1,"worthCheckingFindings":1},"listings":[{"reference":"offer-1042","title":"Frozen pork body fat halal","attention":"must_fix","findings":[{"attention":"must_fix","code":"PORK_HALAL_CONTRADICTION","title":"Pork cannot be halal","message":"The listing identifies a pork product and also makes a halal claim.","recommendation":"Remove the halal claim or correct the product classification.","fields":["category","title"],"evidence":[{"label":"Category","value":"Pork"},{"label":"Certification claim","value":"halal"}]},{"attention":"worth_checking","code":"PRICE_OVER_300_PERCENT_ABOVE_AVERAGE","title":"Price is far above similar listings","message":"The price is 425% above the Pork body fat average.","recommendation":"Confirm the currency, unit, and entered amount before using this price.","fields":["price","priceBenchmark"],"evidence":[{"label":"Listing price","value":"21 EUR / kg"},{"label":"Pork body fat average","value":"4 EUR / kg"},{"label":"Comparison set","value":"28 priced listings"}]}]}]}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/compare":{"post":{"operationId":"compareMeatCuts","summary":"Compare two published meat concepts","description":"Compares two published concepts using reviewed cross-scheme relationships. This operation does not mutate ontology data.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":30,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["leftConcept","rightConcept"],"properties":{"leftConcept":{"type":"string","minLength":1,"maxLength":200},"rightConcept":{"type":"string","minLength":1,"maxLength":200}}},"examples":{"default":{"summary":"Example request","value":{"leftConcept":"Pork Belly","rightConcept":"Pork Side Ribs"}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","result"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"result":{"type":"object","additionalProperties":true}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"result":{"left":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"right":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptType":"cut","canonicalLabel":"Pork Side Ribs","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"comparisons":[]}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/substitutions":{"post":{"operationId":"findMeatSubstitutes","summary":"Find reviewed directional substitutions","description":"Returns only reviewed, directional substitutions that satisfy the supplied confidence and suitability thresholds.","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":20,"windowMs":60000},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["targetConcept"],"properties":{"targetConcept":{"type":"string","minLength":1,"maxLength":200},"candidateConcept":{"type":"string","minLength":1,"maxLength":200},"intendedUse":{"type":"string","minLength":1,"maxLength":200},"scheme":{"type":"string","minLength":1,"maxLength":200},"market":{"type":"string","minLength":1,"maxLength":200},"minimumSuitability":{"type":"number","minimum":0,"maximum":1},"minimumConfidence":{"type":"number","minimum":0,"maximum":1}}},"examples":{"default":{"summary":"Example request","value":{"targetConcept":"Pork Belly","intendedUse":"slow roasting","minimumConfidence":0.75,"minimumSuitability":0.7}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","result"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"result":{"type":"object","additionalProperties":true}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"result":{"target":{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"},"requestedIntendedUse":"slow roasting","minimumSuitability":0.7,"minimumConfidence":0.75,"substitutions":[]}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/exports":{"get":{"operationId":"getReleaseExport","summary":"Get the complete deterministic JSON export of the current published release","description":"Returns a deterministic snapshot of the current published ontology. Use the checksum in `taxonomyRelease` when caching it.","tags":["Releases"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:read","x-rate-limit":{"maximumRequests":10,"windowMs":60000},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["formatVersion","taxonomyRelease","counts","sources","marketContexts","schemes","concepts","terms","relationships","externalIdentifiers"],"properties":{"formatVersion":{"type":"string","enum":["1.0","1.1","1.2","1.3","1.4"]},"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"counts":{"type":"object","additionalProperties":false,"required":["sources","marketContexts","schemes","concepts","terms","relationships","externalIdentifiers","total"],"properties":{"attributeFields":{"type":"integer","minimum":0},"attributeValues":{"type":"integer","minimum":0},"attributeLocalizations":{"type":"integer","minimum":0},"attributeAliases":{"type":"integer","minimum":0},"nonProductTerms":{"type":"integer","minimum":0},"collections":{"type":"integer","minimum":0},"recipeProfiles":{"type":"integer","minimum":0},"sources":{"type":"integer","minimum":0},"marketContexts":{"type":"integer","minimum":0},"schemes":{"type":"integer","minimum":0},"concepts":{"type":"integer","minimum":0},"terms":{"type":"integer","minimum":0},"relationships":{"type":"integer","minimum":0},"externalIdentifiers":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0}}},"attributeFields":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"attributeValues":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"attributeLocalizations":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"attributeAliases":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"nonProductTerms":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"collections":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"recipeProfiles":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"marketContexts":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"schemes":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"concepts":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"terms":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"relationships":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}},"externalIdentifiers":{"type":"array","items":{"$ref":"#/components/schemas/PublishedResource"}}}},"examples":{"default":{"summary":"Example response","value":{"formatVersion":"1.0","taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"counts":{"sources":1,"marketContexts":0,"schemes":1,"concepts":1,"terms":0,"relationships":0,"externalIdentifiers":0,"total":3},"sources":[],"marketContexts":[],"schemes":[{"id":"0198a000-0000-7000-8000-000000000202","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"code":"UNECE-PORK","name":"UNECE Standard for Porcine Meat","authority":"UNECE","version":"2023","status":"current","marketContextIds":[]}}],"concepts":[{"id":"0198a000-0000-7000-8000-000000001025","sourceId":"0198a000-0000-7000-8000-000000000002","evidenceClass":"authoritative","confidence":1,"payload":{"conceptType":"cut","canonicalLabel":"Pork Belly","definition":"The ventral portion of a pig carcass after removal of the loin.","status":"active"}}],"terms":[],"relationships":[],"externalIdentifiers":[]}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/resolution-events/{id}/feedback":{"post":{"operationId":"submitResolutionEventFeedback","summary":"Submit client feedback for one owned resolution event","tags":["Operations"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:resolve","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","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}$"},"description":"Stable ontology entity identifier.","example":"0198a000-0000-7000-8000-000000001025"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["verdict"],"properties":{"verdict":{"type":"string","enum":["accepted","corrected","rejected","not_a_product","needs_more_context"]},"correctedConceptId":{"type":"string","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}$"},"comment":{"type":"string","minLength":1,"maxLength":2000}}},"examples":{"default":{"summary":"Example request","value":{"verdict":"accepted","comment":"The selected concept matches the source product."}}}}}},"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["feedback"],"properties":{"feedback":{"type":"object","additionalProperties":false,"required":["id","eventId","verdict","createdAt"],"properties":{"id":{"type":"string","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}$"},"eventId":{"type":"string","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}$"},"verdict":{"type":"string","enum":["accepted","corrected","rejected","not_a_product","needs_more_context"]},"createdAt":{"type":"string","format":"date-time"}}}}},"examples":{"default":{"summary":"Example response","value":{"feedback":{"id":"0198a000-0000-7000-8000-000000000303","eventId":"0198a000-0000-7000-8000-000000000302","verdict":"accepted","createdAt":"2026-08-13T10:15:00.000Z"}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}},"/v1/unknown-vocabulary":{"get":{"operationId":"listOwnUnknownVocabulary","summary":"List unsupported vocabulary observed from the current API client","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`.","tags":["Vocabulary"],"security":[{"bearerAuth":[]}],"x-required-scope":"taxonomy:vocabulary:read","x-rate-limit":{"maximumRequests":120,"windowMs":60000},"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1},"description":"Opaque cursor returned by the preceding page. Do not construct or modify it.","example":"eyJvZmZzZXQiOjEwMH0"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Maximum number of records to return.","example":25},{"name":"locale","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":100}},{"name":"query","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Case-insensitive text used to filter canonical labels and reviewed terms.","example":"belly"},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","open","in_review","known","ignored","all"]},"description":"Published concept lifecycle status.","example":"active"}],"responses":{"200":{"description":"Successful response.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["taxonomyRelease","unknownVocabulary","summary"],"properties":{"taxonomyRelease":{"$ref":"#/components/schemas/TaxonomyRelease"},"unknownVocabulary":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","displayText","normalizedText","lastSampleText","locale","status","requestCount","occurrenceCount","productionRequestCount","productionOccurrenceCount","evaluationRequestCount","evaluationOccurrenceCount","firstSeenAt","lastSeenAt","firstSeenRelease","lastSeenRelease","lastOperation"],"properties":{"id":{"type":"string","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}$"},"displayText":{"type":"string","minLength":1,"maxLength":2000},"normalizedText":{"type":"string","minLength":1,"maxLength":2000},"lastSampleText":{"type":"string","minLength":1,"maxLength":2000},"locale":{"type":"string","minLength":1,"maxLength":100},"status":{"type":"string","enum":["open","in_review","known","ignored"]},"requestCount":{"type":"integer","minimum":1},"occurrenceCount":{"type":"integer","minimum":1},"productionRequestCount":{"type":"integer","minimum":0},"productionOccurrenceCount":{"type":"integer","minimum":0},"evaluationRequestCount":{"type":"integer","minimum":0},"evaluationOccurrenceCount":{"type":"integer","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"lastSeenAt":{"type":"string","format":"date-time"},"firstSeenRelease":{"type":"object","additionalProperties":false,"required":["id","version"],"properties":{"id":{"type":"string","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}$"},"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"}}},"lastSeenRelease":{"type":"object","additionalProperties":false,"required":["id","version"],"properties":{"id":{"type":"string","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}$"},"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"}}},"lastOperation":{"type":"string","enum":["explore","resolve"]},"lastContext":{"type":"object","additionalProperties":false,"properties":{"commodity":{"type":"string","minLength":1},"locale":{"type":"string","minLength":1},"market":{"type":"string","minLength":1},"scheme":{"type":"string","minLength":1},"species":{"type":"string","minLength":1}}},"lastSeenByClientId":{"type":"string","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}$"},"lastChecked":{"type":"object","additionalProperties":false,"required":["at","release","resolver"],"properties":{"at":{"type":"string","format":"date-time"},"release":{"type":"object","additionalProperties":false,"required":["id","version"],"properties":{"id":{"type":"string","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}$"},"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"}}},"resolver":{"$ref":"#/components/schemas/ResolverRevision"}}},"knownAt":{"type":"string","format":"date-time"},"ignoredAt":{"type":"string","format":"date-time"},"statusUpdatedBy":{"type":"string","minLength":1},"statusReason":{"type":"string","minLength":1}}}},"summary":{"type":"object","additionalProperties":false,"required":["active","ignored","known","total"],"properties":{"active":{"type":"integer","minimum":0},"ignored":{"type":"integer","minimum":0},"known":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0}}},"nextCursor":{"type":"string","minLength":1}}},"examples":{"default":{"summary":"Example response","value":{"taxonomyRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8","publishedAt":"2026-08-13T09:00:00.000Z","publishedBy":"taxonomy-release-pipeline","contentChecksum":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"unknownVocabulary":[{"id":"0198a000-0000-7000-8000-000000004202","displayText":"oystercut","normalizedText":"oystercut","lastSampleText":"Pork calibrate legs oystercut","locale":"en","status":"open","requestCount":3,"occurrenceCount":3,"productionRequestCount":3,"productionOccurrenceCount":3,"evaluationRequestCount":0,"evaluationOccurrenceCount":0,"firstSeenAt":"2026-08-18T08:00:00.000Z","lastSeenAt":"2026-08-19T12:00:00.000Z","firstSeenRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8"},"lastSeenRelease":{"id":"0198a000-0000-7000-8000-000000000301","version":"0.4.8"},"lastOperation":"resolve","lastContext":{"locale":"en","species":"Domestic pig"}}],"summary":{"active":1,"ignored":0,"known":0,"total":1}}}}}}},"400":{"description":"The request did not match the operation contract.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_INVALID","detail":"Request validation failed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"401":{"description":"A bearer credential is missing, malformed, expired, revoked, or otherwise invalid.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"AUTHENTICATION_REQUIRED","detail":"A valid bearer service key is required","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"403":{"description":"The authenticated client does not have the required scope.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SCOPE_REQUIRED","detail":"The client does not have the required scope","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"404":{"description":"The requested route or ontology entity was not found.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"CONCEPT_NOT_FOUND","detail":"The requested concept was not found","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"409":{"description":"The request conflicts with the current resource state.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"REQUEST_CONFLICT","detail":"The request conflicts with the current resource state","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"429":{"description":"The client exceeded this operation's rate limit. Retry only after `Retry-After`.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"RATE_LIMIT_EXCEEDED","detail":"The client exceeded the operation rate limit","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"500":{"description":"The request failed unexpectedly. Report the returned request ID.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"INTERNAL_ERROR","detail":"The ontology request could not be completed","requestId":"req-01J5MEATTAXONOMY"}}}}}}},"503":{"description":"A required service dependency is temporarily unavailable.","headers":{"traceparent":{"$ref":"#/components/headers/Traceparent"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"examples":{"default":{"summary":"Example response","value":{"error":{"code":"SERVICE_UNAVAILABLE","detail":"A required ontology dependency is unavailable","requestId":"req-01J5MEATTAXONOMY"}}}}}}}}}}}}