Skip to content

The schema for digital certificates on the Bitcoin blockchain

License

Notifications You must be signed in to change notification settings

cedriccolle/cert-schema

 
 

Repository files navigation

Build Status PyPI version

cert-schema

The cert-schema project contains the Blockchain Certificate JSON schema and JSON LD specification. These are extensions to Open Badges schemas allowing the entire certificate contents to be registered and verified on a blockchain.

The cert-schema python package allows verification of a Blockchain Certificate against the JSON schemas. This is not the same as validating the contents of a certificate against what is stored on the blockchain. See the cert-verifier project.

JSON LD

In 1.2 we've added a JSON LD schema to provide semantically rich linked data.

Certificate JSON LD

JSON Schema Raw

Running the python code lcoally

  1. Ensure you have an python environment. Recommendations

  2. Git clone the repository and change to the directory

git clone https://github.com/blockchain-certificates/cert-schema.git && cd cert-schema
  1. Run cert-schema setup
pip install .

Publishing package to pypi

Unit tests

This project uses tox to validate against several python environments.

  1. Ensure you have an python environment. Recommendations

  2. Run tests

    ./run_tests.sh
    

Compile markdown from schema

Note that json-schema-to-markdown doesn't handle ref schemas well, so you will need to manually update any 'undefined' references.

scripts/generate_markdown.js builds the markdown-formatted schemas from json

Contact

Contact info@blockcerts.org with questions

About

The schema for digital certificates on the Bitcoin blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.2%
  • JavaScript 16.7%
  • Shell 1.1%