Schemas & API

Machine-readable definitions for implementors.

OpenAPI

The OpenAPI 3.1 specification defines all protocol endpoints from section 8.

JSON Schemas

SchemaCovers
channel-metadata.jsonSigned metadata documents (section 5)
channel-guide.jsonSigned guide documents (section 6)
migration.jsonSigned key migration documents (section 5.14)
node-info.json/.well-known/tltv responses (section 8.1)
peer-exchange.json/tltv/v1/peers responses (section 8.6)
defs.jsonShared type definitions

Test Vectors

FileCoverage
c1-identity.jsonChannel ID encoding (RFC 8032 test keypair)
c2-signing.jsonCanonical JSON + Ed25519 signatures
c3-complete-document.jsonFull signed metadata document
c4-uri-parsing.jsonURI parsing valid/invalid cases
c5-guide-document.jsonGuide document signing
c6-invalid-inputs.jsonNegative test cases
c7-key-migration.jsonKey migration document