Jason Desrosiers
Jason Desrosiers
That type intentionally only includes JSON types, which doesn't include "integer". However, it appears I have incorrectly used that type in the Schema types such as, https://github.com/hyperjump-io/json-schema-validator/blob/main/lib/draft-2020-12.d.ts#L51. I'll need to...
`JsonSchema.validate` doesn't take a raw schema, it takes a SchemaDocument instance. You need to use `JsonSchema.add` to load your schema into the system, then use `JsonSchema.get` to get a SchemaDocument...
I expect that once the media type is registered, any content related to media-types will be removed and be replaced with a reference to the media type registration.
I'm not sure how this makes anything easier. Vocabularies should be organized to make it easy to combine them to make new dialects. For example, if I'm defining a dialect...
> what is the use of separating `items` and `prefixItems` from `minItems` and `maxItems`? This is exactly the example I gave. If I'm creating a DDL dialect, I only want...
> This table would certainly be useful to include on the documentation site; When we get around to documenting vocabularies, I agree that something like this would be useful. >...
> For what it's worth, that's what I did when I first picked up JSON Schema. Point taken. This was too strong a statement. I'll rephrase to, "In my experience,...
Hyperjump JSV doesn't collect annotations, so I'm not going to be any help.
You can't use two vocabularies with conflicting keyword names in the same dialect. Technically, the spec says the behavior is undefined, so the behavior depends on the implementation and you...
> @karenetheridge: “all PRs should have an associated issue” — I mostly agree, except for draft PRs - as sometimes, the best way to express an idea is to show...