Get the attribute mapping vocabulary
get_mapping_schemaThe rule vocabulary for feed attribute mappings: which attributes accept a mapping, the product fields a rule can read (including the store's master fields as master.), the condition operators, the value sources (field, static, combine, lookup, extract, liquid), the limits, and a worked example. A mapping is how ONE update_feed_settings call fixes a field for the entire catalog, including filling values that are missing (condition is_empty plus a fallback value source). Read this before proposing any mappings.attributes change. No arguments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | No | Where a rule set is stored and how rule order resolves | |
| fields | No | Product fields a rule can read | |
| limits | No | Maximum rules per attribute and conditions per rule | |
| example | No | A worked mapping to copy the shape from | |
| repeated | No | Attributes that take one entry per line | |
| operators | No | Condition operators a rule can use | |
| attributes | No | Every attribute that accepts a mapping rule | |
| unmappable | No | Attributes that are computed and cannot be mapped | |
| masterFields | No | The store's master fields by name, flagged when one is an attribute's store-wide default | |
| optionFields | No | How to reference a product's own option names | |
| valueSources | No | The value-source kinds and their arguments | |
| masterFieldsNote | No | How a rule references a master field | |
| structuredSyntax | No | Colon syntax for grouped attributes | |
| valuelessOperators | No | Operators that take no comparison value |