{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-model-cards-request-schema.json",
  "title": "ListModelCardsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-model-card-api-openapi.yml#/components/schemas/ListModelCardsRequest",
  "type": "object",
  "properties": {
    "CreationTimeAfter": {
      "type": "string",
      "format": "date-time",
      "description": "Only list model cards that were created after the time specified."
    },
    "CreationTimeBefore": {
      "type": "string",
      "format": "date-time",
      "description": "Only list model cards that were created before the time specified."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of model cards to list."
    },
    "NameContains": {
      "type": "string",
      "description": "Only list model cards with names that contain the specified string."
    },
    "ModelCardStatus": {
      "type": "string",
      "enum": [
        "Draft",
        "PendingReview",
        "Approved",
        "Archived"
      ],
      "description": "Only list model cards with the specified approval status."
    },
    "NextToken": {
      "type": "string",
      "description": "If the response to a previous ListModelCards request was truncated, the response includes a NextToken. To retrieve the next set of model cards, use the token in the next request."
    },
    "SortBy": {
      "type": "string",
      "enum": [
        "Name",
        "CreationTime"
      ],
      "description": "Sort model cards by either name or creation time. Sorts by creation time by default."
    },
    "SortOrder": {
      "type": "string",
      "enum": [
        "Ascending",
        "Descending"
      ],
      "description": "Sort model cards by ascending or descending order."
    }
  }
}