{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-entity-resolution/json-schema/amazon-entity-resolution-list-id-namespaces-output-schema.json",
  "title": "ListIdNamespacesOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-entity-resolution-idnamespaces-api-openapi.yml#/components/schemas/ListIdNamespacesOutput",
  "type": "object",
  "properties": {
    "idNamespaceSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IdNamespaceSummary"
      },
      "description": "A list of IdNamespaceSummaries objects."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token from the previous API call."
    }
  },
  "$defs": {
    "IdNamespaceIdMappingWorkflowMetadata": {
      "type": "object",
      "properties": {
        "idMappingType": {
          "type": "string",
          "enum": [
            "PROVIDER",
            "RULE_BASED"
          ],
          "description": "The type of ID mapping."
        }
      },
      "required": [
        "idMappingType"
      ]
    },
    "IdNamespaceSummary": {
      "type": "object",
      "properties": {
        "idNamespaceName": {
          "type": "string",
          "description": "The name of the ID namespace."
        },
        "idNamespaceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the ID namespace."
        },
        "description": {
          "type": "string",
          "description": "The description of the ID namespace."
        },
        "idMappingWorkflowProperties": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IdNamespaceIdMappingWorkflowMetadata"
          },
          "description": "An object which defines any additional configurations required by the ID mapping workflow."
        },
        "type": {
          "type": "string",
          "enum": [
            "SOURCE",
            "TARGET"
          ],
          "description": "The type of ID namespace. There are two types: SOURCE and TARGET. The SOURCE contains configurations for sourceId data that will be processed in an ID mapping workflow. The TARGET contains a configuration of targetId which all sourceIds will resolve to."
        },
        "createdAt": {
          "type": "string",
          "description": "The timestamp of when the ID namespace was created."
        },
        "updatedAt": {
          "type": "string",
          "description": "The timestamp of when the ID namespace was last updated."
        }
      },
      "required": [
        "idNamespaceName",
        "idNamespaceArn",
        "type",
        "createdAt",
        "updatedAt"
      ]
    }
  }
}