Skip to main content

smart_template_category_item_v1_0.json

smart_template_category_item.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties":...

smart_template_category_item_v1_0.json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "image_path": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "disable_items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category_id": {
            "type": "string"
          },
          "category_item_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "required": [
        "category_id",
        "category_item_ids"
      ]
    }
  },
  "required": [
    "name"
  ]
}

Did this answer your question?