SAP Commerce Cloud · Schema

CategoryContent

B2BB2CCommerceCustomer ExperienceEcommerceOmnichannelRetail

Properties

Name Type Description
code string Category code
name string Category name
description string Category description
image object
subcategories array
products array
View JSON Schema on GitHub

JSON Schema

sap-commerce-cloud-categorycontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CategoryContent",
  "title": "CategoryContent",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Category code"
    },
    "name": {
      "type": "string",
      "description": "Category name"
    },
    "description": {
      "type": "string",
      "description": "Category description"
    },
    "image": {
      "$ref": "#/components/schemas/Image"
    },
    "subcategories": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CategoryRef"
      }
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    }
  }
}