{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dpf-it-com/json-schema/dpf-it-com-test-connection-response-schema.json",
  "title": "TestConnectionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dpf-it-com-connections-api-openapi.yml#/components/schemas/TestConnectionResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "properties": {
        "connectionId": {
          "type": "string",
          "format": "uuid"
        },
        "success": {
          "type": "boolean",
          "description": "Whether the connection test itself succeeded."
        },
        "entryCount": {
          "type": "integer",
          "description": "sftp only. Number of directory entries returned (present on success)."
        },
        "fileCount": {
          "type": "integer",
          "description": "sftp only. Number of regular files in the listing (present on success)."
        },
        "account": {
          "type": "string",
          "description": "aws_s3 only. The AWS account ID of the assumed role (present on success)."
        },
        "assumedRoleArn": {
          "type": "string",
          "description": "aws_s3 only. The full STS-assumed-role identity ARN (present on success)."
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}