ehn-dcc-development / hcert-schema

Electronic Health Certificates Payload Schema
2 stars 4 forks source link

Property cert.ty needs clarification #19

Closed jschlyter closed 3 years ago

chris-baumann-at commented 3 years ago

This is based on the assumption, that a DGC contains exactly one "type" of data: vaccination, test or recovery, as we interpret the regulation. If so, it allows a detection of the type by reading just this property instead of "trying" if it is a vac, tst or rec.

jschlyter commented 3 years ago

I would not assume that, even though it may be a policy right now, and just remove the property. It is obvious when looking at the data structure what it contains, we do not need to waste space to repeat that IMHO.