{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-spaces-request-schema.json",
  "title": "ListSpacesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-space-api-openapi.yml#/components/schemas/ListSpacesRequest",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results."
    },
    "MaxResults": {
      "type": "integer",
      "description": "This parameter defines the maximum number of results that can be return in a single response. The MaxResults parameter is an upper bound, not a target. If there are more results available than the value specified, a NextToken is provided in the response. The NextToken indicates that the user should get the next set of results by providing this token as a part of a subsequent call. The default value for MaxResults is 10."
    },
    "SortOrder": {
      "type": "string",
      "enum": [
        "Ascending",
        "Descending"
      ],
      "description": "The sort order for the results. The default is Ascending."
    },
    "SortBy": {
      "type": "string",
      "enum": [
        "CreationTime",
        "LastModifiedTime"
      ],
      "description": "The parameter by which to sort the results. The default is CreationTime."
    },
    "DomainIdEquals": {
      "type": "string",
      "description": "A parameter to search for the domain ID."
    },
    "SpaceNameContains": {
      "type": "string",
      "description": "A parameter by which to filter the results."
    }
  }
}