Skip to content

Name meta schemas something other than "draft-" #612

Closed
@handrews

Description

@handrews

We often get complaints about how confusing the draft numbering is, not just from people new to JSON Schema, but from people such as members of the IETF JSON working group.

We kept the sequential draft numbering for meta-schemas mostly because of inertia, and because that's how many of us (and others) would talk about future work even while things were stalled on draft-04 (the last meta-schema where the number appeared in at least one of the IETF draft names).

I propose dropping this for "draft-08" and calling the meta-schemas something else, ideally along with a shift to HTTPS. Since we will have a larger set of modular vocabulary meta-schemas (in addition to the core+applicators+validation+basic-annotation, and all of that +hyper-schema meta schemas that we have now, which will be retained for convenience), it feels like a good opportunity to reconsider how we identify these.

One option might be to take a cue from modern JavaScript and use years, or years+month as we at least sometimes publish two updates a year. Assuming a September publication of the next set:

meta would be for the convenience meta-schemas, which are all that most people would use:

https://json-schema.org/09-2018/meta/schema
https://json-schema.org/09-2018/meta/hyper-schema

vocab would be for per-vocabulary meta-schemas, which are mostly building blocks for the convenience meta-schemas (see #561)

https://json-schema.org/09-2018/vocab/core
https://json-schema.org/09-2018/vocab/applicators
https://json-schema.org/09-2018/vocab/validation
https://json-schema.org/09-2018/vocab/basic-annotation
https://json-schema.org/09-2018/vocab/hyper-schema

I don't like the name basic-annotation but that's not the point, please don't fixate on the exact list of vocabularies or their name, we will sort that out as the vocab PRs get written.

I'm not entirely sure what to do with the LDO schema. It's not really a meta-schema, as LDOs on their own are not schemas. Although they contain schemas. Possibly still meta? Or maybe something else like components? If we go forward with a hypermedia operations object, there would likely be another schema of this sort.

https://json-schema.org/09-2018/components/links

Thoughts?

Metadata

Metadata

Type

No type

Projects

Status

Closed

Relationships

None yet

Development

No branches or pull requests

Issue actions