Closed handrews closed 6 years ago
This will be simpler if json-schema-org/json-schema-spec#228 gets into draft 6, as it will no longer be necessary to inline JSON Pointers into the templates in order to assign a schema for input validation.
Let's do the following:
{foo}
rather than :foo
as the former syntax not only matches URI Templates, but is also readable in situations where the variable appears somewhere other than as a full path component"hrefSchema"
, so let's put this in the draft-04 milestoneThis set of packages is being deprecated in favor of the JSON Schema Tools monorepo. The new packages use URI Templates per RFC 6570.
The new UI is still being designed, but the back-end already fills out example curl requests using RFC 6570. Feel free to file at cloudflare/json-schema-tools if you want to track work related to this in the new UI specifically.
Currently we're using a PHP-ish ":", but given that hyper-schema is written using RFC 6570 URI Templates we should stay consistent with that.