{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-hub-contents-request-schema.json",
  "title": "ListHubContentsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-hub-content-api-openapi.yml#/components/schemas/ListHubContentsRequest",
  "type": "object",
  "properties": {
    "HubName": {
      "type": "string",
      "description": "The name of the hub to list the contents of."
    },
    "HubContentType": {
      "type": "string",
      "enum": [
        "Model",
        "Notebook",
        "ModelReference",
        "DataSet",
        "JsonDoc"
      ],
      "description": "The type of hub content to list."
    },
    "NameContains": {
      "type": "string",
      "description": "Only list hub content if the name contains the specified string."
    },
    "MaxSchemaVersion": {
      "type": "string",
      "description": "The upper bound of the hub content schema verion."
    },
    "CreationTimeBefore": {
      "type": "string",
      "format": "date-time",
      "description": "Only list hub content that was created before the time specified."
    },
    "CreationTimeAfter": {
      "type": "string",
      "format": "date-time",
      "description": "Only list hub content that was created after the time specified."
    },
    "SortBy": {
      "type": "string",
      "enum": [
        "HubContentName",
        "CreationTime",
        "HubContentStatus"
      ],
      "description": "Sort hub content versions by either name or creation time."
    },
    "SortOrder": {
      "type": "string",
      "enum": [
        "Ascending",
        "Descending"
      ],
      "description": "Sort hubs by ascending or descending order."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum amount of hub content to list."
    },
    "NextToken": {
      "type": "string",
      "description": "If the response to a previous ListHubContents request was truncated, the response includes a NextToken. To retrieve the next set of hub content, use the token in the next request."
    }
  },
  "required": [
    "HubName",
    "HubContentType"
  ]
}