{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-create-data-table-response-schema.json",
  "title": "CreateDataTableResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-data-tables-api-openapi.yml#/components/schemas/CreateDataTableResponse",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "The unique identifier for the created data table. Does not include the version alias."
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) for the created data table. Does not include the version alias."
    },
    "LockVersion": {
      "$ref": "#/$defs/DataTableLockVersion"
    }
  },
  "required": [
    "Id",
    "Arn",
    "LockVersion"
  ],
  "$defs": {
    "DataTableLockVersion": {
      "type": "object",
      "properties": {
        "DataTable": {
          "type": "string",
          "description": "The lock version for the data table itself. Used for optimistic locking and table versioning. Changes with each update to the table's metadata or structure."
        },
        "Attribute": {
          "type": "string",
          "description": "The lock version for a specific attribute. When the ValueLockLevel is ATTRIBUTE, this version changes when any value for the attribute changes. For other lock levels, it only changes when the attribute's properties are directly updated."
        },
        "PrimaryValues": {
          "type": "string",
          "description": "The lock version for a specific set of primary values (record). This includes the default record even if the table does not have any primary attributes. Used for record-level locking."
        },
        "Value": {
          "type": "string",
          "description": "The lock version for a specific value. Changes each time the individual value is modified. Used for the finest-grained locking control."
        }
      }
    }
  }
}