Skip to main content

Schema Registry

SchemaRegistry stores schema metadata keyed by schemaId + version.

Core fields

  • schemaId: bytes32
  • version: uint32
  • uri: schema location (ipfs/http)
  • schemaHash: keccak256 of schema file

Key call

registerSchema(bytes32 schemaId, uint32 version, string uri, bytes32 schemaHash)