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