{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cognito/json-schema/amazon-cognito-list-datasets-response-schema.json",
  "title": "ListDatasetsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cognito-datasets-api-openapi.yml#/components/schemas/ListDatasetsResponse",
  "type": "object",
  "properties": {
    "Datasets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Dataset"
      },
      "description": "A set of datasets."
    },
    "Count": {
      "type": "integer",
      "description": "Number of datasets returned."
    },
    "NextToken": {
      "type": "string",
      "description": "A pagination token for obtaining the next page of results."
    }
  },
  "$defs": {
    "Dataset": {
      "type": "object",
      "properties": {
        "IdentityId": {
          "type": "string",
          "description": "A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
        },
        "DatasetName": {
          "type": "string",
          "description": "A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot)."
        },
        "CreationDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date on which the dataset was created."
        },
        "LastModifiedDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date when the dataset was last modified."
        },
        "LastModifiedBy": {
          "type": "string",
          "description": "The device that made the last change to this dataset."
        },
        "DataStorage": {
          "type": "integer",
          "description": "Total size in bytes of the records in this dataset."
        },
        "NumRecords": {
          "type": "integer",
          "description": "Number of records in this dataset."
        }
      }
    }
  }
}