{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-list-profiles-response-schema.json",
  "title": "ListProfilesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-list-profiles-api-openapi.yml#/components/schemas/ListProfilesResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "Returns a token that you can use to call ListProfiles again and receive additional results, if there are any."
    },
    "Profiles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedProfile"
      },
      "description": "Returns an array, where each item contains the details of a profile."
    }
  },
  "required": [
    "Profiles"
  ],
  "$defs": {
    "ListedProfile": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the specified profile."
        },
        "ProfileId": {
          "type": "string",
          "description": "A unique identifier for the local or partner AS2 profile."
        },
        "As2Id": {
          "type": "string",
          "description": "The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces."
        },
        "ProfileType": {
          "type": "string",
          "enum": [
            "LOCAL",
            "PARTNER"
          ],
          "description": "Indicates whether to list only LOCAL type profiles or only PARTNER type profiles. If not supplied in the request, the command lists all types of profiles."
        }
      }
    }
  }
}