ehn-dcc-development / eu-dcc-schema

Schema for the ehn DCC payload
Apache License 2.0
164 stars 59 forks source link

Use schema 2020-12? #13

Closed jschlyter closed 3 years ago

jschlyter commented 3 years ago

I suggest that we use JSON schema 2020-12. If people need to use earlier versions for code generation, they can filter and downgrade, but the normative version should be a non-draft-version IMHO.

jschlyter commented 3 years ago

@martin-lindstrom hade some good input on this

martin-lindstrom commented 3 years ago

I haven't experienced any problems generating code from 2020-12 using for example the jsonschema2pojo-maven-plugin Maven plugin.

Is there anyone that has any objections of changing to JSON schema 2020-12?

jschlyter commented 3 years ago

@dirkx any thoughts? We used 2020-12 in the "old" repo and I have not seen the justifications for the change to draft7.

dirkx commented 3 years ago

No opinion! Fine with me either way.

martin-lindstrom commented 3 years ago

Let's go with 2020-12!