{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-associations-response-schema.json",
  "title": "ListAssociationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-association-api-openapi.yml#/components/schemas/ListAssociationsResponse",
  "type": "object",
  "properties": {
    "AssociationSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssociationSummary"
      },
      "description": "A list of associations and their properties."
    },
    "NextToken": {
      "type": "string",
      "description": "A token for getting the next set of associations, if there are any."
    }
  },
  "$defs": {
    "AssociationSummary": {
      "type": "object",
      "properties": {
        "SourceArn": {
          "type": "string",
          "description": "The ARN of the source."
        },
        "DestinationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the destination."
        },
        "SourceType": {
          "type": "string",
          "description": "The source type."
        },
        "DestinationType": {
          "type": "string",
          "description": "The destination type."
        },
        "AssociationType": {
          "type": "string",
          "enum": [
            "ContributedTo",
            "AssociatedWith",
            "DerivedFrom",
            "Produced",
            "SameAs"
          ],
          "description": "The type of the association."
        },
        "SourceName": {
          "type": "string",
          "description": "The name of the source."
        },
        "DestinationName": {
          "type": "string",
          "description": "The name of the destination."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the association was created."
        },
        "CreatedBy": {
          "$ref": "#/$defs/UserContext"
        }
      }
    },
    "IamIdentity": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM identity."
        },
        "PrincipalId": {
          "type": "string",
          "description": "The ID of the principal that assumes the IAM identity."
        },
        "SourceIdentity": {
          "type": "string",
          "description": "The person or application which assumes the IAM identity."
        }
      }
    },
    "UserContext": {
      "type": "object",
      "properties": {
        "UserProfileArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the user's profile."
        },
        "UserProfileName": {
          "type": "string",
          "description": "The name of the user's profile."
        },
        "DomainId": {
          "type": "string",
          "description": "The domain associated with the user."
        },
        "IamIdentity": {
          "$ref": "#/$defs/IamIdentity"
        }
      }
    }
  }
}