{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cogram-com/json-schema/cogram-com-project-type-create-v1-schema.json",
  "title": "ProjectTypeCreateV1",
  "description": "Create project-type request.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cogram-com-project-types-api-openapi.yml#/components/schemas/ProjectTypeCreateV1",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name",
      "description": "Unique within the org (case-insensitive)."
    },
    "color": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Color",
      "description": "Optional hex color for UI display, e.g. '#3B82F6'."
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}