{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://xcim.invalid/ietf/nb01/schemas/node-view.schema.json",
  "title": "NB01-F01 node-view",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact_version",
    "adapter_result",
    "receiver_id",
    "node_id",
    "bootstrap_commitment",
    "bor_finalized",
    "bor_node_finalized",
    "heimdall_committed",
    "anchor_block",
    "anchor_id",
    "state_block_hash",
    "effective_deadline",
    "cache_remaining_ms",
    "floor_revision",
    "consensus_proof_verified",
    "can_assert_xcim_pass"
  ],
  "properties": {
    "artifact_version": {
      "const": "nb-01"
    },
    "adapter_result": {
      "const": "NB01_NODE_CONSISTENCY_OK"
    },
    "receiver_id": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/id"
    },
    "node_id": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/id"
    },
    "bootstrap_commitment": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hash"
    },
    "bor_finalized": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/block"
    },
    "bor_node_finalized": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/block"
    },
    "heimdall_committed": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/block"
    },
    "anchor_block": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/block"
    },
    "anchor_id": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "state_block_hash": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "effective_deadline": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/positive"
    },
    "cache_remaining_ms": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/positive"
    },
    "floor_revision": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/positive"
    },
    "consensus_proof_verified": {
      "const": false
    },
    "can_assert_xcim_pass": {
      "const": false
    }
  }
}
