{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cavuno-com/json-schema/cavuno-com-create-category-body-schema.json",
  "title": "CreateCategoryBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cavuno-com-categories-api-openapi.yml#/components/schemas/CreateCategoryBody",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[a-z0-9-]+$"
    },
    "parentId": {
      "type": "string",
      "minLength": 1
    },
    "aliasSlugs": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 20
    },
    "sourceLocale": {
      "type": "string",
      "minLength": 2,
      "maxLength": 16
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}