{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-put-domain-object-type-response-schema.json",
  "title": "PutDomainObjectTypeResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-domain-object-types-api-openapi.yml#/components/schemas/PutDomainObjectTypeResponse",
  "type": "object",
  "properties": {
    "ObjectTypeName": {
      "type": "string",
      "description": "The unique name of the domain object type."
    },
    "Description": {
      "type": "string",
      "description": "The description of the domain object type."
    },
    "EncryptionKey": {
      "type": "string",
      "description": "The customer provided KMS key used to encrypt this type of domain object."
    },
    "Fields": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/DomainObjectTypeField"
      },
      "description": "A map of field names to their corresponding domain object type field definitions."
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the domain object type was created."
    },
    "LastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the domain object type was most recently edited."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags used to organize, track, or control access for this resource."
    }
  },
  "$defs": {
    "DomainObjectTypeField": {
      "type": "object",
      "properties": {
        "Source": {
          "type": "string",
          "description": "The expression that defines how to extract the field value from the source object.>"
        },
        "Target": {
          "type": "string",
          "description": "The expression that defines where the field value should be placed in the standard domain object."
        },
        "ContentType": {
          "type": "string",
          "enum": [
            "STRING",
            "NUMBER"
          ],
          "description": "The content type of the field."
        },
        "FeatureType": {
          "type": "string",
          "enum": [
            "TEXTUAL",
            "CATEGORICAL"
          ],
          "description": "The semantic meaning of the field."
        }
      },
      "required": [
        "Source",
        "Target"
      ]
    }
  }
}