{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-describe-table-response-schema.json",
  "title": "DescribeTableResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-metadata-api-openapi.yml#/components/schemas/DescribeTableResponse",
  "type": "object",
  "properties": {
    "TableName": {
      "type": "string",
      "description": "The table name."
    },
    "ColumnList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColumnMetadata"
      },
      "description": "A list of columns in the table."
    },
    "NextToken": {
      "type": "string",
      "description": "A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request."
    }
  },
  "$defs": {
    "ColumnMetadata": {
      "type": "object",
      "properties": {
        "isCaseSensitive": {
          "type": "boolean",
          "description": "A value that indicates whether the column is case-sensitive."
        },
        "isCurrency": {
          "type": "boolean",
          "description": "A value that indicates whether the column contains currency values."
        },
        "isSigned": {
          "type": "boolean",
          "description": "A value that indicates whether an integer column is signed."
        },
        "label": {
          "type": "string",
          "description": "The label for the column."
        },
        "name": {
          "type": "string",
          "description": "The name of the column."
        },
        "nullable": {
          "type": "integer",
          "description": "A value that indicates whether the column is nullable."
        },
        "precision": {
          "type": "integer",
          "description": "The precision value of a decimal number column, or the column length for a non-numeric column."
        },
        "scale": {
          "type": "integer",
          "description": "The scale value of a decimal number column."
        },
        "schemaName": {
          "type": "string",
          "description": "The name of the schema that contains the table that includes the column."
        },
        "tableName": {
          "type": "string",
          "description": "The name of the table that includes the column."
        },
        "typeName": {
          "type": "string",
          "description": "The database-specific data type of the column."
        },
        "length": {
          "type": "integer",
          "description": "The length of the column."
        },
        "columnDefault": {
          "type": "string",
          "description": "The default value of the column."
        }
      }
    }
  }
}