devongovett / protobuf-jsonschema

Compiles Protobuf IDL to JSON Schema
120 stars 37 forks source link

what draft? schema field is missing #12

Open tommyjcarpenter opened 5 years ago

tommyjcarpenter commented 5 years ago

Converting a .proto file to json using this tool creates a list of definitions, but none of them have the $schema$ field. This is a problem, because then you don't know what version of JSONschema the schema is, and you can't validate it against it.

In the short term however, what draft of jsonschema does this tool generate out?

tomdeering-wf commented 2 years ago

Agree, you can't do much with a json-schema if you don't know what version of the specification to use.