{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-list-profile-objects-request-schema.json",
  "title": "ListProfileObjectsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-profiles-api-openapi.yml#/components/schemas/ListProfileObjectsRequest",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "The pagination token from the previous call to ListProfileObjects."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of objects returned per page."
    },
    "DomainName": {
      "type": "string",
      "description": "The unique name of the domain."
    },
    "ObjectTypeName": {
      "type": "string",
      "description": "The name of the profile object type."
    },
    "ProfileId": {
      "type": "string",
      "description": "The unique identifier of a customer profile."
    },
    "ObjectFilter": {
      "$ref": "#/$defs/ObjectFilter"
    }
  },
  "required": [
    "DomainName",
    "ObjectTypeName",
    "ProfileId"
  ],
  "$defs": {
    "ObjectFilter": {
      "type": "object",
      "properties": {
        "KeyName": {
          "type": "string",
          "description": "A searchable identifier of a profile object. The predefined keys you can use to search for _asset include: _assetId, _assetName, and _serialNumber. The predefined keys you can use to search for _case include: _caseId. The predefined keys you can use to search for _order include: _orderId."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of key values."
        }
      },
      "required": [
        "KeyName",
        "Values"
      ]
    }
  }
}