cnabio / cnab-go

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

Add schema version to the claim struct #182

Closed carolynvs closed 4 years ago

carolynvs commented 4 years ago

Just like we put the schema version for the CNAB core spec on the bundle.json, so that tools can detect the format of the data contained, we need to do the same for claims. Especially now that we are introducing breaking changes that tools will need to detect and migrate gracefully.

See https://github.com/cnabio/cnab-go/pull/181/files#r382648846, the PR where we changed Claim.Name to Claim.Installation for context.