{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carbon-arc/json-schema/carbon-arc-insight-linked-response-schema.json",
  "title": "InsightLinkedResponse",
  "description": "Insight ids linked to the requested entity / event scope.\n\nAdjacency only — the client already holds the store and intersects\nlocally, so scoping a browse costs an id list, not a listing.\n\n``incompatible_entities`` answers the picker's other question in the same\nround trip: of the candidate entities on screen, which ones share nothing\nwith the scope, so their cards must be disabled rather than allowed into a\ngroup that has nothing left to query. Only the incompatible pairs are\nlisted, because on a browse page they are the rare case and absence is the\nanswer the client acts on by doing nothing.\n\nAbsence is deliberately not a positive answer. A candidate the precompute\ncannot resolve is omitted for the same reason the adjacency lookup declines\nrather than returning an empty list, so a client must read \"not listed\" as\nselectable, never as verified-compatible.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carbon-arc-ontology-api-openapi.yml#/components/schemas/InsightLinkedResponse",
  "properties": {
    "insight_ids": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Insight Ids"
    },
    "incompatible_entities": {
      "items": {
        "prefixItems": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "type": "array",
        "maxItems": 2,
        "minItems": 2
      },
      "type": "array",
      "title": "Incompatible Entities",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "insight_ids"
  ]
}