{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-update-field-request-schema.json",
  "title": "UpdateFieldRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-fields-api-openapi.yml#/components/schemas/UpdateFieldRequest",
  "type": "object",
  "properties": {
    "domainId": {
      "type": "string",
      "description": "The unique identifier of the Cases domain."
    },
    "fieldId": {
      "type": "string",
      "description": "The unique identifier of a field."
    },
    "name": {
      "type": "string",
      "description": "The name of the field."
    },
    "description": {
      "type": "string",
      "description": "The description of a field."
    },
    "attributes": {
      "$ref": "#/$defs/FieldAttributes"
    }
  },
  "required": [
    "domainId",
    "fieldId"
  ],
  "$defs": {
    "FieldAttributes": {
      "type": "object",
      "properties": {
        "text": {
          "$ref": "#/$defs/TextAttributes"
        }
      },
      "description": "Exactly one member is set."
    },
    "TextAttributes": {
      "type": "object",
      "properties": {
        "isMultiline": {
          "type": "boolean",
          "description": "Attribute that defines rendering component and validation."
        }
      },
      "required": [
        "isMultiline"
      ]
    }
  }
}