ietf-wg-httpapi / mediatypes

Other
5 stars 4 forks source link

jsonschema media types #7

Closed ioggstream closed 2 years ago

ioggstream commented 2 years ago

I expect

application/schema+json #19 application/schema-instance+json #19 ~application/schema+yaml~ moved to #18

Cc @jasondesrosiers @relequestual

It would be great to reserve the media type so that it can be used in the wild even before jsonschema is out.

Supporting versioning we can do Eg

application/schema+json; v=draft-2020

Thx++ R

jdesrosiers commented 2 years ago

Thanks, @ioggstream. I'll see if I can submit a PR for JSON Schema some time this week. Thanks for including us!

It would be great to reserve the media type so that it can be used in the wild even before jsonschema is out.

We don't consider JSON Schema in a pre-release state. We only call releases "drafts" for historical reasons. And the media type has been used in the wild for years, which is why we want to get it officially registered!

ioggstream commented 2 years ago

about filename extension https://github.com/json-schema-org/json-schema-spec/issues/1130

cjaccino commented 2 years ago

Could we include registration of JSON Schema in YAML format as well?

ioggstream commented 2 years ago

@cjaccino could you please integrate your considerations in #18 ?