{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/terminal49/json-schema/terminal49-custom-field-option-schema.json",
  "title": "Custom field option",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/terminal49-custom-field-options-api-openapi.yml#/components/schemas/custom_field_option",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "type": {
      "type": "string",
      "enum": [
        "custom_field_option"
      ]
    },
    "attributes": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "position": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "label",
        "value"
      ]
    }
  },
  "required": [
    "id",
    "type"
  ]
}