{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-associations-request-schema.json",
  "title": "ListAssociationsRequest",
  "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/ListAssociationsRequest",
  "type": "object",
  "properties": {
    "SourceArn": {
      "type": "string",
      "description": "A filter that returns only associations with the specified source ARN."
    },
    "DestinationArn": {
      "type": "string",
      "description": "A filter that returns only associations with the specified destination Amazon Resource Name (ARN)."
    },
    "SourceType": {
      "type": "string",
      "description": "A filter that returns only associations with the specified source type."
    },
    "DestinationType": {
      "type": "string",
      "description": "A filter that returns only associations with the specified destination type."
    },
    "AssociationType": {
      "type": "string",
      "enum": [
        "ContributedTo",
        "AssociatedWith",
        "DerivedFrom",
        "Produced",
        "SameAs"
      ],
      "description": "A filter that returns only associations of the specified type."
    },
    "CreatedAfter": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only associations created on or after the specified time."
    },
    "CreatedBefore": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only associations created on or before the specified time."
    },
    "SortBy": {
      "type": "string",
      "enum": [
        "SourceArn",
        "DestinationArn",
        "SourceType",
        "DestinationType",
        "CreationTime"
      ],
      "description": "The property used to sort results. The default value is CreationTime."
    },
    "SortOrder": {
      "type": "string",
      "enum": [
        "Ascending",
        "Descending"
      ],
      "description": "The sort order. The default value is Descending."
    },
    "NextToken": {
      "type": "string",
      "description": "If the previous call to ListAssociations didn't return the full set of associations, the call returns a token for getting the next set of associations."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of associations to return in the response. The default value is 10."
    }
  }
}