{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-keyspaces/json-schema/amazon-keyspaces-get-type-response-schema.json",
  "title": "GetTypeResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-keyspaces-type-api-openapi.yml#/components/schemas/GetTypeResponse",
  "type": "object",
  "properties": {
    "keyspaceName": {
      "type": "string",
      "description": "The name of the keyspace that contains this type."
    },
    "typeName": {
      "type": "string",
      "description": "The name of the type."
    },
    "fieldDefinitions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FieldDefinition"
      },
      "description": "The names and types that define this type."
    },
    "lastModifiedTimestamp": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp that shows when this type was last modified."
    },
    "status": {
      "type": "string",
      "description": "The status of this type."
    },
    "directReferringTables": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The tables that use this type."
    },
    "directParentTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The types that use this type."
    },
    "maxNestingDepth": {
      "type": "integer",
      "description": "The level of nesting implemented for this type."
    },
    "keyspaceArn": {
      "type": "string",
      "description": "The unique identifier of the keyspace that contains this type in the format of an Amazon Resource Name (ARN)."
    }
  },
  "required": [
    "keyspaceName",
    "typeName",
    "keyspaceArn"
  ],
  "$defs": {
    "FieldDefinition": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The identifier."
        },
        "type": {
          "type": "string",
          "description": "Any supported Cassandra data type, including collections and other user-defined types that are contained in the same keyspace. For more information, see Cassandra data type support in the Amazon Keyspaces Developer Guide."
        }
      },
      "required": [
        "name",
        "type"
      ]
    }
  }
}