In an application, I'd like users to be able to declare, through a signed 32 byte number, the bitcoin protocol rules and data formats they will adhere to.
Presently, I'm envisaging this being the hash value of an annotated schema description document (e.g. JSON Schema). The schema will describe the construction of block header, coinbase tx and other transactions together with annotations to describe the nature of each component. It does not need to include the peer to peer message passing conventions.
I'm expecting the schema document to have many "synonyms". For example, changing a full-stop in the schema annotations will likely result in a wholly compatible schema, but with a different hash-value.
Does anything like this already exist?
Or, is there something else I could hash to achieve the same thing (the bitcoin core source code, compilers, and white paper for example)?