{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-search-provisioned-products-input-schema.json",
  "title": "SearchProvisionedProductsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-provisioned-products-api-openapi.yml#/components/schemas/SearchProvisionedProductsInput",
  "type": "object",
  "properties": {
    "AcceptLanguage": {
      "type": "string",
      "description": "The language code. jp - Japanese zh - Chinese"
    },
    "AccessLevelFilter": {
      "$ref": "#/$defs/AccessLevelFilter"
    },
    "Filters": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "The search filters. When the key is SearchQuery, the searchable fields are arn, createdTime, id, lastRecordId, idempotencyToken, name, physicalId, productId, provisioningArtifactId, type, status, tags, userArn, userArnSession, lastProvisioningRecordId, lastSuccessfulProvisioningRecordId, productName, and provisioningArtifactName. Example: \"SearchQuery\":[\"status:AVAILABLE\"]"
    },
    "SortBy": {
      "type": "string",
      "description": "The sort field. If no value is specified, the results are not sorted. The valid values are arn, id, name, and lastRecordId."
    },
    "SortOrder": {
      "type": "string",
      "enum": [
        "ASCENDING",
        "DESCENDING"
      ],
      "description": "The sort order. If no value is specified, the results are not sorted."
    },
    "PageSize": {
      "type": "integer",
      "description": "The maximum number of items to return with this call."
    },
    "PageToken": {
      "type": "string",
      "description": "The page token for the next set of results. To retrieve the first set of results, use null."
    }
  },
  "$defs": {
    "AccessLevelFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "enum": [
            "Account",
            "Role",
            "User"
          ],
          "description": "The access level. Account - Filter results based on the account. Role - Filter results based on the federated role of the specified user. User - Filter results based on the specified user."
        },
        "Value": {
          "type": "string",
          "description": "The user to which the access level applies. The only supported value is self."
        }
      }
    }
  }
}