tlodderstedt / Verifiable-Global-ID

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verifiable Global ID

Table of contents

Introduction

Specification for a global identity credential.

Folder structure

In the repository, we have one main folder schemas where we store all JSON schemas. Global Verifiable ID schema is extensible, hence every JSON schema lives in its directory. The schemas/core directory is reserved for the core JSON schema. Other schemas must extend the JSON schema.

In every schema folder you can find

  • A README.md, which describes the schema and links to relevant documentation.
  • A versioned folder YYYY-MM(_VV), e.g., 2022-08. Year and month mark the stable version publication date and are mandatory, version number is optional VV and should be added if several versions are published within the same month.
  • In every versioned folder YYYY-MM(_VV) we store
    • schema.json which is the main schema
    • examples folder that contains one or more valid examples
    • optional html folder that contains human-readable JSON schema representation in HTML format (see section [Convert JSON Schema to human-readable format])
    • optional definitions folder that contains one or more JSON schemas that are referenced in the main schema.json

Converting JSON Schema to human-readable format

We are using JSON Schema for humans to convert schemas into a human-readable HTML format.

After installing the schema doc generator, run

generate-schema-doc --minify --no-link-to-reused-ref schema.json html/

A successful conversion will result in a html/schema_doc.html file.

Build the HTML

docker run -v `pwd`:/data danielfett/markdown2rfc main.md

References

About


Languages

Language:HTML 99.6%Language:CSS 0.4%