{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cosuno/json-schema/cosuno-custom-field-update-request-schema.json",
  "title": "CustomFieldUpdateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cosuno-bid-package-custom-fields-api-openapi.yml#/components/schemas/CustomFieldUpdateRequest",
  "properties": {
    "position": {
      "type": "number",
      "format": "double",
      "description": "New zero-based position of the field within the list of custom fields."
    },
    "options": {
      "items": {
        "properties": {
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label"
        ],
        "type": "object"
      },
      "type": "array",
      "description": "Replacement set of options for single- and multi-select fields. Ignored for other field types."
    },
    "isRequired": {
      "type": "boolean",
      "description": "Whether a value for this custom field is required when creating or updating the parent entity."
    }
  },
  "type": "object",
  "additionalProperties": false
}