hyperledger / anoncreds-spec

The specification for AnonCreds verifiable credential exchange.
https://hyperledger.github.io/anoncreds-spec/
Apache License 2.0
45 stars 24 forks source link

w3c credentialSchema MUST include an id #191

Closed TimoGlastra closed 8 months ago

TimoGlastra commented 8 months ago

currently it has type, definition and schema

Each credentialSchema MUST specify its type (for example, JsonSchemaValidator2018), and an id property that MUST be a URI identifying the schema file. The precise contents of each data schema is determined by the specific type definition.

TimoGlastra commented 8 months ago

@swcurran for the WG call later today

swcurran commented 8 months ago

The minimum change here is that "definition" is to be changed to "id".

However, we still have the issue of whether we want to keep the information there, or move it to into the proof, and further, if we want to move it into the signature.

Driver is whether we can/should eliminate the @context for AnonCreds entirely. For that, we would need a strategy for each existing item. The biggest tradeoff seems to be the lack of human visibility to the credential -- and whether or not that matters.

Next step is to summarize into a presentation to facilitate a discuss with Manu et al. from the W3C Data Integrity / VC group.

swcurran commented 8 months ago

Resolved as we sorted out the W3C VC formatting.