https://ns.adobe.com/xdm/classes/product
This class is used to capture minimum set of properties that define a product.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | classes/product.schema.json |
- Product
https://ns.adobe.com/xdm/classes/product
- Record Schema
https://ns.adobe.com/xdm/data/record
- Currency
https://ns.adobe.com/xdm/datatypes/currency
- Record Schema
{
"xdm:productID": "59yigdug",
"xdm:productName": "photoshop",
"xdm:productDescription": "photo editing software"
}
Property | Type | Required | Defined by |
---|---|---|---|
@id | string |
Optional | Record Schema |
xdm:productDescription | string |
Optional | Product (this schema) |
xdm:productID | string |
Optional | Product (this schema) |
xdm:productLastModifiedDate | string |
Optional | Product (this schema) |
xdm:productListPrice | Currency | Optional | Product (this schema) |
xdm:productManufacturedDate | string |
Optional | Product (this schema) |
xdm:productName | string |
Optional | Product (this schema) |
xdm:productRating | number |
Optional | Product (this schema) |
* |
any | Additional | this schema allows additional properties |
A unique identifier for the record.
@id
- is optional
- type:
string
- defined in Record Schema
string
- format:
uri-reference
– URI Reference (according to RFC3986)
Description of the product.
xdm:productDescription
- is optional
- type:
string
- defined in this schema
string
Product unique identifer.
xdm:productID
- is optional
- type:
string
- defined in this schema
string
The date when this product was last modified for any updates. The time using RFC3339 with a stated time zone offset such as "2001-07-04T12:08:56-07:00". An example formatting pattern is "yyyy-MM-dd'T'HH:mm:ssXXX".
xdm:productLastModifiedDate
- is optional
- type:
string
- defined in this schema
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
Default price of the product before sales and discounting.
xdm:productListPrice
- is optional
- type: Currency
- defined in this schema
- Currency –
https://ns.adobe.com/xdm/datatypes/currency
The date when this product was created. The time using RFC3339 with a stated time zone offset such as "2001-07-04T12:08:56-07:00". An example formatting pattern is "yyyy-MM-dd'T'HH:mm:ssXXX".
xdm:productManufacturedDate
- is optional
- type:
string
- defined in this schema
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
Name of the product.
xdm:productName
- is optional
- type:
string
- defined in this schema
string
Customer review rating of the product.
xdm:productRating
- is optional
- type:
number
- defined in this schema
number