{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-contexts-request-schema.json",
  "title": "ListContextsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-context-api-openapi.yml#/components/schemas/ListContextsRequest",
  "type": "object",
  "properties": {
    "SourceUri": {
      "type": "string",
      "description": "A filter that returns only contexts with the specified source URI."
    },
    "ContextType": {
      "type": "string",
      "description": "A filter that returns only contexts of the specified type."
    },
    "CreatedAfter": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only contexts created on or after the specified time."
    },
    "CreatedBefore": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only contexts created on or before the specified time."
    },
    "SortBy": {
      "type": "string",
      "enum": [
        "Name",
        "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 ListContexts didn't return the full set of contexts, the call returns a token for getting the next set of contexts."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of contexts to return in the response. The default value is 10."
    }
  }
}