{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/woolworths-group/main/json-schema/woolworths-group-category-dto-schema.json",
  "title": "CategoryDto",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woolworths-group-wpay-gifting-client-openapi.yml#/components/schemas/CategoryDto",
  "required": [
    "categoryId",
    "description",
    "lastModificationTime",
    "name"
  ],
  "type": "object",
  "properties": {
    "categoryId": {
      "type": "string",
      "description": "Unique Identifier of the program",
      "format": "uuid"
    },
    "name": {
      "minLength": 1,
      "type": "string",
      "description": "Name of the category"
    },
    "description": {
      "minLength": 1,
      "type": "string",
      "description": "Description of the category"
    },
    "lastModificationTime": {
      "type": "string",
      "description": "Last modified timestamp leveraged for caching",
      "format": "date-time"
    }
  },
  "additionalProperties": false
}