{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/connections-icu/json-schema/connections-icu-warm-paths-response-schema.json",
  "title": "WarmPathsResponse",
  "description": "Result of GET /network/warm-paths.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/connections-icu-network-api-openapi.yml#/components/schemas/WarmPathsResponse",
  "type": "object",
  "required": [
    "target",
    "paths"
  ],
  "properties": {
    "target": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "linked": {
          "type": "boolean"
        }
      }
    },
    "paths": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "viaSub": {
            "type": "string"
          },
          "viaDisplayName": {
            "type": "string"
          },
          "touches90d": {
            "type": "integer"
          },
          "lastTouchAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "type": "number"
          }
        }
      }
    },
    "fallback": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "first_degree_network",
        null
      ]
    },
    "firstDegreeNetwork": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Present only when fallback is first_degree_network."
    }
  }
}