{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anomalyarmor-ai/json-schema/anomalyarmor-ai-connection-test-response-schema.json",
  "title": "ConnectionTestResponse",
  "description": "Response schema for connection test.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anomalyarmor-ai-connections-api-openapi.yml#/components/schemas/ConnectionTestResponse",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "asset_id": {
      "type": "integer",
      "title": "Asset Id"
    },
    "test_type": {
      "type": "string",
      "title": "Test Type"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "started_at": {
      "type": "string",
      "title": "Started At"
    },
    "is_successful": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Successful"
    },
    "duration_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Ms"
    },
    "error_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Message"
    },
    "latency_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latency Ms"
    }
  },
  "type": "object",
  "required": [
    "id",
    "asset_id",
    "test_type",
    "status",
    "started_at"
  ]
}