SAP Commerce Cloud · Schema

Category

B2BB2CCommerceCustomer ExperienceEcommerceOmnichannelRetail

Properties

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

JSON Schema

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