Applicable RFQ attributes

Available in API contract 1.10.0, resolver 1.86.0; universal listing inputs were added in API contract 1.11.0. Contract 1.12.0 adds published per-product applicability and generic structured answers. Set includeApplicableAttributes: true on POST /v1/resolve to discover universal and reviewed specification inputs for the selected primary product. It works in interactive and ledgered modes, the TypeScript client, and the ledgered MCP Resolve operation. It does not alter selection, extraction, scoring, ambiguity or event behavior. GET /v1/concepts/{id} is unchanged. Existing attributeMetadata still describes only attributes present in the result.

{
  "text": "pork shoulder",
  "mode": "interactive",
  "metadataLocale": "bg",
  "includeApplicableAttributes": true
}

Coverage and response

The optional top-level applicableAttributes contains conceptId, coverage, locale/fallback information, and an attributes map keyed like result.attributes.

The initial software-only review covered these product IDs. It remains a compatibility fallback only for historical concepts without a published rfqAttributes review:

Concept ID Trim scope
Pork shoulder 01a01840-abfe-7842-b231-23c45af703cc shoulder
Pork leg, unspecified presentation 01a01840-cb18-7c34-b851-1d3a9fae49b3 leg

In historical ontology 0.4.110, plain pork leg selected legacy IMPS ID 0198a000-0000-7000-8000-000000001023, which returns not_reviewed. Generic leg coverage applies only when the generic ID is actually selected (for example, pork leg unspecified presentation). This feature does not redirect or migrate the legacy leg.

Missing fields do not mean forbidden specifications. No fields are required, and array order is not an importance rank. Related portions, trimmings, anatomical regions, browse families, and separate external-standard concepts do not inherit this coverage. No new concept, replacement, or standard-conformity claim is created.

Each attribute entry contains:

Property Meaning
field Stable id, key, cardinality, valueKind, localized label/description and fallback metadata.
values Active governed choices with stable IDs, keys, machineValue and localized labels/descriptions.
applicability universal for every orderable product or reviewed for a concept-specific field.
state missing, stated, inferred, or conflicted, based on this response's evidence and ambiguities.
accepts.inputPath Structured observation property to submit, such as observations.trimCode.
accepts.jsonSchema JSON Schema for that property's value, including array limits, uniqueness, enumerations and structured scope.
accepts.example Normalized structured example, when available.
accepts.profileCodes Trim codes with an existing inferred trade profile; not a required product definition.

The universal response keys are refrigeration, originCountry, certification, and packaging. Certification is submitted at observations.certificationClaim; the response key remains certification, matching result.attributes. trimCode is concept-specific. Only active, localized values accepted by the corresponding observation input are listed. Since API 1.38.0 the packaging observation input accepts carton. Extraction can still recognize values that are not observation inputs, such as bulk bins. Origin choices use the published ISO country vocabulary. Fields without available published choices are omitted. Schemas describe supported input, not a required value, certification, commercial availability or universal trade validity.

Published product fields and answers

The local 0.4.167 publication reviews all 136 active orderable MeatBorsa products against the 59 existing fields. Deployment to production is a separate step. Pork loin exposes its reviewed cut styles and chain choices, shoulder exposes its D-trim choices, and unrelated products do not inherit those fields. Animal taxa, classes, commodities and browse families are not orderable products. The selected immutable release determines all field/value identities and scopes.

Release 0.4.230 additionally scopes bellyCutStyle=straight-cut to Pork belly and collarCutStyle=straight-cut|narrow-cut to Pork collar. Existing belly wide|narrow answers stay under bellyCutWidth; collar values do not inherit that field or imply false lean or trim.

Submit each answer at the entry's accepts.inputPath using its accepts.jsonSchema. Existing universal paths and observations.trimCode remain supported. Other inputs use:

{
  "text": "pork loin",
  "mode": "interactive",
  "includeApplicableAttributes": true,
  "observations": {
    "attributes": {
      "loinCutStyle": "long-cut",
      "bone": "boneless",
      "componentPresentation": ["loin-chain-removed"],
      "weight": [{"minimum": 4, "maximum": 6, "unit": "kg", "role": "piece", "relation": "range", "measurement": "product_weight"}]
    }
  }
}

Reference answers submit conceptId; the service supplies the published name and schemes. Measurement and structured fields can have empty values lists: render their schema instead of hiding them. Choices remain optional. Invalid fields, out-of-scope choices and conflicts produce blocking attribute ambiguities with the submitted evidence retained. Answers never manufacture a primary or silently replace text evidence. source: "observation" identifies accepted answers.

Trim choices and confirmed answers

The structured trim schema requires family: "pork-d-trim", a code, and the selected product's exact scope. Recognized codes are 1D–6D. Profiles currently exist for 1D–4D; 5D/6D record the code without inferring bone, rind, fat or shank. These conventions can vary; explicit wording can refine or conflict with a profile. The values IDs identify code components, not complete code-and-scope objects. Do not invent a value ID for the compound value.

After the buyer chooses a code, keep their original text and send the answer separately:

{
  "text": "pork shoulder",
  "mode": "interactive",
  "includeApplicableAttributes": true,
  "observations": {
    "trimCode": { "family": "pork-d-trim", "code": "3D", "scope": "shoulder" }
  }
}

The result retains attributes.trimCode.normalized as the object, with source: "observation". Its canonicalAttributes entry retains the whole normalized object as a JSON machineValue string and source: "observation". Attributes inferred from this answer also retain observation provenance, with basis: "trim_code_profile"; they are not independently confirmed buyer facts. Ordinary text-derived evidence retains its existing provenance contract.

Malformed objects/codes receive 400 REQUEST_INVALID. A well-formed choice for an unreviewed, unresolved or incompatible product/scope produces incompatible_product_attribute; the observation remains in canonical evidence but supplies no trim or profile attributes. Conflicting title, alternate-title or supporting trim evidence is retained and reports context_conflict. Existing conflicting trim codes are never resolved by silently choosing the form answer. Profile conflicts preserve explicit attributes and remain reviewable.

The client owns prompt priority. Ask about missing values; show inferred facts as inferred and offer confirmation; clarify conflicts before adding more questions. An absent trim code does not itself make the product unresolved or the RFQ invalid. On final submission, Resolve again in ledgered mode, with the original text and confirmed observations. This is a fresh resolution; retain its actual release and resolver provenance rather than promoting the draft response.

Locale, versioning and caching

metadataLocale selects presentation language; otherwise the detected text language is used. EN/BG/PL/DE and regional-language normalization use the existing explicit English fallback contract. Field/value IDs and labels come from the same immutable ontology snapshot as Resolve. Review rules, input schemas and profiles are application behavior identified by resolver.behaviorChecksum. This first release changes no published ontology rows.

Resolve remains Cache-Control: no-store; never cache draft text or its evidence state. If storing non-personal field definitions separately, partition them by ontology checksum, resolver checksum, concept ID and requested locale. Recompute state for every response. Future catalogue coverage or schema changes must not be inferred from old cached metadata.