Skip to content

FieldOption

All wire models

Model aliases: FieldOption.

Type: object.

Fields

Required means the key must be present. Nullable means its value may be null; it does not make a required key optional. “Not specified” means the schema declares no default.

Field Type Required Default
value string Yes Not specified
label string Yes Not specified

Model constraints

  • Additional properties: permitted

Exact JSON Schema

This is a schema definition, not an example request. It preserves all declared keywords, including constraints not summarized above.

Complete JSON Schema
JSON
{
  "additionalProperties": true,
  "properties": {
    "value": {
      "title": "Value",
      "type": "string"
    },
    "label": {
      "title": "Label",
      "type": "string"
    }
  },
  "required": [
    "value",
    "label"
  ],
  "title": "FieldOption",
  "type": "object"
}