{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-clean-rooms/json-schema/amazon-clean-rooms-list-intermediate-tables-output-schema.json",
  "title": "ListIntermediateTablesOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-clean-rooms-intermediatetables-api-openapi.yml#/components/schemas/ListIntermediateTablesOutput",
  "type": "object",
  "properties": {
    "intermediateTableSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IntermediateTableSummary"
      },
      "description": "The list of intermediate table summaries."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token that's used to fetch the next set of results."
    }
  },
  "required": [
    "intermediateTableSummaries"
  ],
  "$defs": {
    "IntermediateTableSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the intermediate table."
        },
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the intermediate table."
        },
        "name": {
          "type": "string",
          "description": "The name of the intermediate table."
        },
        "description": {
          "type": "string",
          "description": "The description of the intermediate table."
        },
        "membershipArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the membership that contains the intermediate table."
        },
        "membershipId": {
          "type": "string",
          "description": "The unique identifier of the membership that contains the intermediate table."
        },
        "collaborationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the collaboration that contains the intermediate table."
        },
        "collaborationId": {
          "type": "string",
          "description": "The unique identifier of the collaboration that contains the intermediate table."
        },
        "createTime": {
          "type": "string",
          "description": "The time the intermediate table was created."
        },
        "updateTime": {
          "type": "string",
          "description": "The time the intermediate table was last updated."
        },
        "status": {
          "type": "string",
          "enum": [
            "CREATED",
            "POPULATE_STARTED",
            "POPULATE_SUCCESS",
            "POPULATE_FAILED",
            "DISALLOWED_BY_DATA_PROVIDER",
            "BASE_TABLE_REMOVED",
            "RETENTION_PERIOD_EXPIRED"
          ],
          "description": "The current status of the intermediate table."
        },
        "retentionInDays": {
          "type": "integer",
          "description": "The number of days that populated data is retained before expiring."
        },
        "analysisRuleTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "CUSTOM"
            ]
          },
          "description": "The types of analysis rules associated with the intermediate table."
        }
      },
      "required": [
        "id",
        "arn",
        "name",
        "membershipArn",
        "membershipId",
        "collaborationArn",
        "collaborationId",
        "createTime",
        "updateTime",
        "status"
      ]
    }
  }
}