{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-model-package-groups-input-schema.json",
  "title": "ListModelPackageGroupsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-model-package-group-api-openapi.yml#/components/schemas/ListModelPackageGroupsInput",
  "type": "object",
  "properties": {
    "CreationTimeAfter": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only model groups created after the specified time."
    },
    "CreationTimeBefore": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only model groups created before the specified time."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of results to return in the response."
    },
    "NameContains": {
      "type": "string",
      "description": "A string in the model group name. This filter returns only model groups whose name contains the specified string."
    },
    "NextToken": {
      "type": "string",
      "description": "If the result of the previous ListModelPackageGroups request was truncated, the response includes a NextToken. To retrieve the next set of model groups, use the token in the next request."
    },
    "SortBy": {
      "type": "string",
      "enum": [
        "Name",
        "CreationTime"
      ],
      "description": "The field to sort results by. The default is CreationTime."
    },
    "SortOrder": {
      "type": "string",
      "enum": [
        "Ascending",
        "Descending"
      ],
      "description": "The sort order for results. The default is Ascending."
    },
    "CrossAccountFilterOption": {
      "type": "string",
      "enum": [
        "SameAccount",
        "CrossAccount"
      ],
      "description": "A filter that returns either model groups shared with you or model groups in your own account. When the value is CrossAccount, the results show the resources made discoverable to you from other accounts. When the value is SameAccount or null, the results show resources from your account. The default is SameAccount."
    }
  }
}