{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agilehero-io/json-schema/agilehero-io-list-create-schema.json",
  "title": "ListCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agilehero-io-projects-api-openapi.yml#/components/schemas/ListCreate",
  "type": "object",
  "required": [
    "name",
    "category"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1
    },
    "category": {
      "type": "string",
      "enum": [
        "to_do",
        "in_progress",
        "done"
      ]
    },
    "limit": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "position": {
      "type": "integer",
      "minimum": 0,
      "description": "Order within the board; omitted, the list goes last in its category."
    }
  }
}