{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://xcim.invalid/ietf/nb01/schemas/anchor-context.schema.json",
  "title": "NB01-F01 anchor-context",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "adapter_profile",
    "contract_address",
    "as_genesis_commitment",
    "anchor_intent_commitment",
    "identity_commitment",
    "runtime_code_keccak256",
    "deployment_transaction_hash",
    "deployment_block_hash",
    "creation_input_keccak256",
    "publisher",
    "guardian",
    "deployment_block_number"
  ],
  "properties": {
    "adapter_profile": {
      "const": "xcim-as01-evm-amoy-milestone-01"
    },
    "contract_address": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/address"
    },
    "as_genesis_commitment": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "anchor_intent_commitment": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "identity_commitment": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "runtime_code_keccak256": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "deployment_transaction_hash": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "deployment_block_hash": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "creation_input_keccak256": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/hex32"
    },
    "publisher": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/address"
    },
    "guardian": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/address"
    },
    "deployment_block_number": {
      "$ref": "https://xcim.invalid/ietf/nb01/schemas/common.schema.json#/$defs/positive"
    }
  }
}
