{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-data-exchange/json-schema/amazon-data-exchange-list-data-sets-response-schema.json",
  "title": "ListDataSetsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-data-exchange-datasets-api-openapi.yml#/components/schemas/ListDataSetsResponse",
  "type": "object",
  "properties": {
    "DataSets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataSetEntry"
      },
      "description": "The data set objects listed by the request."
    },
    "NextToken": {
      "type": "string",
      "description": "The token value retrieved from a previous call to access the next page of results."
    }
  },
  "$defs": {
    "DataSetEntry": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The ARN for the data set."
        },
        "AssetType": {
          "type": "string",
          "description": "The type of asset that is added to a data set."
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the data set was created, in ISO 8601 format."
        },
        "Description": {
          "type": "string",
          "description": "The description for the data set."
        },
        "Id": {
          "type": "string",
          "description": "The unique identifier for the data set."
        },
        "Name": {
          "type": "string",
          "description": "The name of the data set."
        },
        "Origin": {
          "type": "string",
          "description": "A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers)."
        },
        "OriginDetails": {
          "$ref": "#/$defs/OriginDetails"
        },
        "SourceId": {
          "type": "string",
          "description": "The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set."
        },
        "UpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the data set was last updated, in ISO 8601 format."
        }
      },
      "required": [
        "Arn",
        "AssetType",
        "CreatedAt",
        "Description",
        "Id",
        "Name",
        "Origin",
        "UpdatedAt"
      ]
    },
    "OriginDetails": {
      "type": "object",
      "properties": {
        "ProductId": {
          "type": "string",
          "description": "The product ID of the origin of the data set."
        },
        "DataGrantId": {
          "type": "string",
          "description": "The ID of the data grant."
        }
      }
    }
  }
}