Skip to content

Latest commit

 

History

History
90 lines (50 loc) · 2.14 KB

product-measurement.schema.md

File metadata and controls

90 lines (50 loc) · 2.14 KB

Product Measurement Schema

https://ns.adobe.com/xdm/mixins/product-measurement

Captures properties related to product measurements.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Stable No Forbidden Permitted fieldgroups/product/product-measurement.schema.json

Product Measurement Example

{
  "productSize": 5,
  "xdm:unitOfMeasureCode": "cms",
  "xdm:unitOfMeasureName": "centi meters"
}

Product Measurement Properties

Property Type Required Defined by
xdm:productSize string Optional Product Measurement (this schema)
xdm:unitOfMeasureCode string Optional Product Measurement (this schema)
xdm:unitOfMeasureName string Optional Product Measurement (this schema)
* any Additional this schema allows additional properties

xdm:productSize

Product Size

Standard product size for the product.

xdm:productSize

  • is optional
  • type: string
  • defined in this schema

xdm:productSize Type

string

xdm:unitOfMeasureCode

Product Unit Of Measure Code

Standard unit of measure of the product and or variation and relates the units for the size measurement.

xdm:unitOfMeasureCode

  • is optional
  • type: string
  • defined in this schema

xdm:unitOfMeasureCode Type

string

xdm:unitOfMeasureName

Product Unit Of Measure Name

Friendly name for product unit of measure.

xdm:unitOfMeasureName

  • is optional
  • type: string
  • defined in this schema

xdm:unitOfMeasureName Type

string