{
  "$id": "https://schema.nfh.global/CategoryCode/v2.0",
  "x-iri": "https://schema.nfh.global/CategoryCode/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Schema definition for CategoryCode in the Beckn Protocol",
  "title": "CategoryCode",
  "type": "object",
  "properties": {
    "@type": {
      "type": "string",
      "enum": [
        "schema:CategoryCode"
      ],
      "description": "Type of the category code",
      "example": "schema:CategoryCode"
    },
    "schema:codeValue": {
      "type": "string",
      "description": "Category code value",
      "example": "electronics"
    },
    "schema:name": {
      "type": "string",
      "description": "Category name",
      "example": "Electronics"
    },
    "schema:description": {
      "type": "string",
      "description": "Category description",
      "example": "Electronic devices and equipment"
    }
  },
  "required": [
    "@type",
    "schema:codeValue"
  ]
}
