{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-list-agreements-response-schema.json",
  "title": "ListAgreementsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-listagreements-api-openapi.yml#/components/schemas/ListAgreementsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "Returns a token that you can use to call ListAgreements again and receive additional results, if there are any."
    },
    "Agreements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedAgreement"
      },
      "description": "Returns an array, where each item contains the details of an agreement."
    }
  },
  "required": [
    "Agreements"
  ],
  "$defs": {
    "ListedAgreement": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the specified agreement."
        },
        "AgreementId": {
          "type": "string",
          "description": "A unique identifier for the agreement. This identifier is returned when you create an agreement."
        },
        "Description": {
          "type": "string",
          "description": "The current description for the agreement. You can change it by calling the UpdateAgreement operation and providing a new description."
        },
        "Status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE"
          ],
          "description": "The agreement can be either ACTIVE or INACTIVE."
        },
        "ServerId": {
          "type": "string",
          "description": "The unique identifier for the agreement."
        },
        "LocalProfileId": {
          "type": "string",
          "description": "A unique identifier for the AS2 local profile."
        },
        "PartnerProfileId": {
          "type": "string",
          "description": "A unique identifier for the partner profile."
        }
      }
    }
  }
}