{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-list-certificates-response-schema.json",
  "title": "ListCertificatesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-listcertificates-api-openapi.yml#/components/schemas/ListCertificatesResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "Returns the next token, which you can use to list the next certificate."
    },
    "Certificates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedCertificate"
      },
      "description": "Returns an array of the certificates that are specified in the ListCertificates call."
    }
  },
  "required": [
    "Certificates"
  ],
  "$defs": {
    "ListedCertificate": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the specified certificate."
        },
        "CertificateId": {
          "type": "string",
          "description": "An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles."
        },
        "Usage": {
          "type": "string",
          "enum": [
            "SIGNING",
            "ENCRYPTION",
            "TLS"
          ],
          "description": "Specifies how this certificate is used. It can be used in the following ways: SIGNING: For signing AS2 messages ENCRYPTION: For encrypting AS2 messages TLS: For securing AS2 communications sent over HTTPS"
        },
        "Status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "PENDING_ROTATION",
            "INACTIVE"
          ],
          "description": "The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires."
        },
        "ActiveDate": {
          "type": "string",
          "format": "date-time",
          "description": "An optional date that specifies when the certificate becomes active. If you do not specify a value, ActiveDate takes the same value as NotBeforeDate, which is specified by the CA."
        },
        "InactiveDate": {
          "type": "string",
          "format": "date-time",
          "description": "An optional date that specifies when the certificate becomes inactive. If you do not specify a value, InactiveDate takes the same value as NotAfterDate, which is specified by the CA."
        },
        "Type": {
          "type": "string",
          "enum": [
            "CERTIFICATE",
            "CERTIFICATE_WITH_PRIVATE_KEY"
          ],
          "description": "The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE."
        },
        "Description": {
          "type": "string",
          "description": "The name or short description that's used to identify the certificate."
        }
      }
    }
  }
}