cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 37 forks source link

Validate implementations against pinned schema #194

Closed vdice closed 4 years ago

vdice commented 4 years ago

We have a need to validate the implementations in this library of various CNAB objects (bundle, claim, etc.) against the JSON schema that lives in https://github.com/cnabio/cnab-spec.

However, we want to avoid fetching these schema from their hosted URLs (https://cnab.io/v1/bundle.schema.json, etc.) in order to support airgap scenarios, etc.

We may also need to work in tandem with producing and serving schema of all historical versions from cnabio/cnab-spec or the cnab.io website...

AC: