Closed ioggstream closed 3 years ago
The redirect (302) should point to https://raw.githubusercontent.com/ehn-dcc-development/ehn-dcc-schema/release/1.3.0/DCC.ValueSets.schema.json
I guess you could try reading the FAQ https://github.com/ehn-dcc-development/ehn-dcc-schema/wiki/FAQ#schema-location which begins with "I get a 404 when trying to download the Schema from the URI."
@gabywh thanks for your reply.
The observable behaviour though is that:
https://id.uvci.eu/DCC.ValueSets.schema.json
is currently resolved to an URL https://raw.githubusercontent.com/ehn-digital-green-development/ehn-dgc-schema/release/1.0.1/DCC.ValueSets.schema.json
The behavior described in the FAQ should have been a straight 404
then, not a 302.
Another correct behavior could have been linking the FAQ in the 404 content.
id.uvci,eu - also there as a dev stop-gap (with no strong guarantees) until a DCC Gateway endpoint for retrievable valuesets was made available.
You should be getting the valuesets from the DCC Gateway in any case - there is an explicit API made available to obtain them. Please talk to T-Systems if you don't know the details of this.
HTH, Gaby.
Another correct behavior could have been linking the FAQ in the 404 content.
Another correct behavior would be to understand that id.uvci.eu is a URI and not a URL, as per the JSON Schema spec etc.
Backing of that URI to a resolvable URL was a termporary stop-gap. The DCC Gateway should now be providing the valuesets. The DCC Schema itself you should retrieve from here (https://github.com/ehn-dcc-development/ehn-dcc-schema) - but note that the DCC Schema contains a URI that does not need to be resolvable (e.g. id.uvci.eu).
Reproduce
curl -Li https://id.uvci.eu/DCC.ValueSets.schema.json
I expect
The json file
Instead