{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "EntryRef": {
      "properties": {
        "root_id": {
          "type": "string"
        },
        "space_id": {
          "type": "string"
        },
        "position": {
          "type": "integer"
        }
      },
      "type": "object",
      "required": [
        "root_id",
        "space_id",
        "position"
      ],
      "description": "EntryRef is the occurrence identity of one entry: a position in one journal."
    }
  },
  "properties": {
    "view": {
      "$ref": "#/$defs/EntryRef"
    },
    "assertion": {
      "type": "string"
    },
    "record": true,
    "defined_by": {
      "$ref": "#/$defs/EntryRef"
    },
    "adopted_by": {
      "oneOf": [
        {
          "$ref": "#/$defs/EntryRef"
        },
        {
          "type": "null"
        }
      ]
    },
    "disagreeing": {
      "items": {
        "$ref": "#/$defs/EntryRef"
      },
      "type": "array"
    }
  },
  "type": "object",
  "required": [
    "view",
    "assertion",
    "record",
    "defined_by",
    "disagreeing"
  ],
  "title": "ExplainResult",
  "description": "ExplainResult is the assertion's projected record, the declaration occurrence that defined it, the selection that adopted it, and the selected occurrences that disagree."
}
