{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Field",
  "title": "Field",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique ID of the field."
    },
    "name": {
      "type": "string",
      "description": "Internal name of the field."
    },
    "label": {
      "type": "string",
      "description": "Display label."
    },
    "field_type": {
      "type": "string",
      "description": "Type of field (text, dropdown, checkbox, etc)."
    },
    "required": {
      "type": "boolean",
      "description": "Whether the field is required."
    },
    "position": {
      "type": "integer",
      "description": "Display position order."
    },
    "choices": {
      "type": "array",
      "description": "Available choices for dropdown fields.",
      "items": {
        "type": "string"
      }
    }
  }
}