SAP Commerce Cloud · Schema

BaseOption

B2BB2CCommerceCustomer ExperienceEcommerceOmnichannelRetail

Properties

Name Type Description
variantType string Variant type code
options array
selected object
View JSON Schema on GitHub

JSON Schema

sap-commerce-cloud-baseoption-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BaseOption",
  "title": "BaseOption",
  "type": "object",
  "properties": {
    "variantType": {
      "type": "string",
      "description": "Variant type code"
    },
    "options": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/VariantOption"
      }
    },
    "selected": {
      "$ref": "#/components/schemas/VariantOption"
    }
  }
}