{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stackit/main/json-schema/stackit-public-category-schema.json",
  "title": "PublicCategory",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stackit-pim-openapi.yml#/components/schemas/PublicCategory",
  "properties": {
    "description": {
      "description": "Description of the category",
      "type": "string"
    },
    "id": {
      "description": "The unique identifier for the category, which is object id from the DB",
      "type": [
        "string",
        "null"
      ]
    },
    "image": {
      "description": "URI of the category image",
      "format": "uri",
      "type": "string"
    },
    "language": {
      "description": "Language of the category",
      "type": "string"
    },
    "name": {
      "description": "Category name",
      "type": "string"
    },
    "validStart": {
      "description": "Date when the current version was approved and became valid in PIM",
      "format": "date-time",
      "type": "string"
    },
    "version": {
      "description": "Number of the revision from PIM",
      "type": "string"
    }
  },
  "type": "object"
}