{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/equity-rank-com/json-schema/equity-rank-com-category-create-schema.json",
  "title": "CategoryCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/equity-rank-com-money-api-openapi.yml#/components/schemas/CategoryCreate",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "title": "Name"
    },
    "parent_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Id"
    },
    "kind": {
      "type": "string",
      "title": "Kind",
      "default": "expense"
    },
    "icon": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 8
        },
        {
          "type": "null"
        }
      ],
      "title": "Icon"
    },
    "color": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 9
        },
        {
          "type": "null"
        }
      ],
      "title": "Color"
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}