ehn-dcc-development / eu-dcc-hcert-spec

Electronic Health Certificates Specification
363 stars 40 forks source link

Require vac, tst or rec #10

Closed sondaica closed 3 years ago

sondaica commented 3 years ago

Require vac, tst or rec objects. Also added json schema that most dev tools can generate classes from

jschlyter commented 3 years ago

I've moved the schema to its own repo – https://github.com/ehn-digital-green-development/hcert-schema, including a script to generate the JSON version.

jschlyter commented 3 years ago

I can merge your changes @sondaica

jschlyter commented 3 years ago

Isn't a payload with no proofs valid, e.g. only the subject? I'd say it's not worth much, but from a syntax point of view?

jschlyter commented 3 years ago

Most merged into https://github.com/ehn-digital-green-development/hcert-schema, anyOf pending discussion.

jschlyter commented 3 years ago

Closing this as the schemas has been moved.