{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-supply-chain/json-schema/amazon-supply-chain-list-data-lake-namespaces-response-schema.json",
  "title": "ListDataLakeNamespacesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-supply-chain-namespaces-api-openapi.yml#/components/schemas/ListDataLakeNamespacesResponse",
  "type": "object",
  "properties": {
    "namespaces": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataLakeNamespace"
      },
      "description": "The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token to fetch next page of namespaces."
    }
  },
  "required": [
    "namespaces"
  ],
  "$defs": {
    "DataLakeNamespace": {
      "type": "object",
      "properties": {
        "instanceId": {
          "type": "string",
          "description": "The Amazon Web Services Supply Chain instance identifier."
        },
        "name": {
          "type": "string",
          "description": "The name of the namespace."
        },
        "arn": {
          "type": "string",
          "description": "The arn of the namespace."
        },
        "description": {
          "type": "string",
          "description": "The description of the namespace."
        },
        "createdTime": {
          "type": "string",
          "description": "The creation time of the namespace."
        },
        "lastModifiedTime": {
          "type": "string",
          "description": "The last modified time of the namespace."
        }
      },
      "required": [
        "instanceId",
        "name",
        "arn",
        "createdTime",
        "lastModifiedTime"
      ]
    }
  }
}