{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beel-es/json-schema/beel-es-create-custom-field-option-request-schema.json",
  "title": "CreateCustomFieldOptionRequest",
  "description": "A value to add to the options of the field, for one customer or, without `customer_id`, common to every customer.",
  "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/CreateCustomFieldOptionRequest",
  "type": "object",
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Text of the option. Leading and trailing spaces are removed; a value that is empty after that answers `422`. Two values are equivalent when they match ignoring case, accents and repeated spaces (`Gran  Via 12` and `gran vía 12`)."
    },
    "customer_id": {
      "type": "string",
      "format": "uuid",
      "description": "Customer of the company the option belongs to. Omit it for an option common to every customer."
    }
  }
}