{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/runn/json-schema/runn-custom-field-text-schema.json",
  "title": "CustomFieldText",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/runn-custom-fields-api-openapi.yml#/components/schemas/CustomFieldText",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier for the custom field text",
      "type": "integer"
    },
    "name": {
      "description": "Display name for the custom field text",
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "model": {
      "type": "string",
      "enum": [
        "PERSON",
        "PROJECT"
      ],
      "description": "The field type of the custom field"
    },
    "required": {
      "description": "Whether or not the text is a required field",
      "type": "boolean"
    },
    "showInPlanner": {
      "description": "Whether or not the custom field text is shown in the project or person planner in the app UI",
      "type": "boolean"
    },
    "sortOrder": {
      "description": "The sort order of the custom field text",
      "type": "integer"
    },
    "filterableInPlanner": {
      "description": "Whether or not the custom field text is filterable in the project or person planner in the app UI",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "name",
    "description",
    "model",
    "required",
    "showInPlanner",
    "sortOrder",
    "filterableInPlanner"
  ]
}