{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-keyspaces/refs/heads/main/json-schema/amazon-keyspaces-table-schema.json",
  "title": "Table",
  "description": "An Amazon Keyspaces table.",
  "type": "object",
  "properties": {
    "keyspaceName": {
      "type": "string",
      "description": "The name of the keyspace that the table is associated with.",
      "example": "my_keyspace"
    },
    "tableName": {
      "type": "string",
      "description": "The name of the table.",
      "example": "my_table"
    },
    "resourceArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the table.",
      "example": "arn:aws:cassandra:us-east-1:123456789012:/keyspace/my_keyspace/table/my_table"
    },
    "status": {
      "type": "string",
      "description": "The current status of the table.",
      "example": "ACTIVE",
      "enum": [
        "ACTIVE",
        "CREATING",
        "UPDATING",
        "DELETING",
        "DELETED",
        "RESTORING",
        "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
      ]
    },
    "creationTimestamp": {
      "type": "string",
      "description": "The timestamp of when the table was created.",
      "format": "date-time"
    }
  }
}