Dialect URIs for stable spec #435
Replies: 6 comments 72 replies
-
Stable URI
Release URIs This is just a matter of preference I think. None have any issues I can think of. I prefer |
Beta Was this translation helpful? Give feedback.
-
Another aspect to consider is strictness of the meta-schema. I believe we landed on supplying both open and closed versions of the meta-schema as they're both useful for different scenarios. Because of this, I think it's beneficial to consider this in the URI discussion. I think for these, we have the primary be open and add |
Beta Was this translation helpful? Give feedback.
-
I think you should also consider using for the latest for specific need |
Beta Was this translation helpful? Give feedback.
-
I'm going to go ahead and propose a resolution. I propose we use |
Beta Was this translation helpful? Give feedback.
-
What started out as a joke to @jdesrosiers in DMs seems to have yielded a set of other options. There's a lot of confusion around whether the schemas identified by a URI that is also a URL should be available at that URL. Historically, JSON Schema has held that, no, these are just identifiers and implementations should not expect a document to be located at the associated network location. To alleviate this confusion, it makes sense to stop using URIs that look like network locations. That gives us:
I really like (2). It simple and pretty close to what we have (easily translatable), and it's fairly clear that it's not a network resource to be fetched. Jason also pointed out that it's important to consider that while implementations aren't expected to access network locations, they are expected to have some sort of internal schema store. The URIs we use do, in a way, locate a schema within that store, so the location semantics are somewhat important. This consideration rules out URNs since they convey no location semantics. |
Beta Was this translation helpful? Give feedback.
-
Okay... now that #460 is resolved, I think we can pick this discussion up again. The resolution was adding an explicit allowance that file/network access is permitted but SHOULD be disabled. This explicitly gives implementations that need to have it permission to do so, which is a bit stronger than the implicit permission that was present before. We also determined (in the discussion) that we should exemplify using non-locatable URIs for non-locatable resources. It's not a hard requirement, but if we pave the way, maybe others will follow our lead. To that end, since the stable meta-schema isn't going to be a published document, we need to define a non-locatable URI for it. I had proposed creating a new
|
Beta Was this translation helpful? Give feedback.
-
I think we've come the agreement that we will have snapshot meta-schemas for each release with unique identifiers but also have a stable URI that represents the latest version the consuming implementation supports. Let's decide what those URIs are going to be.
Here are some suggestions
Stable URI
Release URIs
Beta Was this translation helpful? Give feedback.
All reactions