openwallet-foundation / credential-format-comparison-sig

Information about available credential formats
https://openwallet-foundation.github.io/credential-format-comparison-sig/
Creative Commons Attribution 4.0 International
11 stars 16 forks source link

Validate unique fields in the CICD #58

Closed cre8 closed 1 year ago

cre8 commented 1 year ago

The name of an object like a key management is not defined by the file name (that has to be unique), but inside the object. Because of this we need to validate in the CI, that all names are unique in each resource. Two objects are allowed to have the same name, if they are in different resources (one is a key agreement, the other one is a credential format).

In case we find a twin, we stop the CI and throw an error.

cre8 commented 1 year ago

this is already solved in the validate.mjs script