{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beel-es/json-schema/beel-es-patch-custom-field-option-request-schema.json",
  "title": "PatchCustomFieldOptionRequest",
  "description": "JSON Merge Patch of an option: an omitted property is left as it is. Neither property can be cleared. The customer an option belongs to cannot be changed.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beel-es-companycustomfields-api-openapi.yml#/components/schemas/PatchCustomFieldOptionRequest",
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "New text of the option. Leading and trailing spaces are removed. Invoices already saved keep the text they were saved with."
    },
    "is_archived": {
      "type": "boolean",
      "description": "`true` archives the option, `false` reactivates it."
    }
  }
}