Open Relequestual opened 2 years ago
https://github.com/json-schema-org/json-schema-spec/pull/1346
Have a look at this if you haven't yet
I don't have much to discuss, though I do want to collect feedback on https://github.com/json-schema-org/community/discussions/257
📺 See Recording
⏪ Go To Previous Meeting
Agenda
Area of focus and interest of JSON Schema Org
Please read current-work README
Focus items list
Rolled over
to next meetingBowtie
calls for contributions to the suiteGood First Issues to tackle.
Tutorial for contributers. See Tutorial
JRef PR
JRI PR
Highlights
JRef
andJRI
merged to referencing repo and wg now seeks community feedback on the samemedia-type
overriding, explicit expectation etc.current-work
focus of JSON Schema org were shared. The list can be seen hereActions
Bowtie
Serialization
andDeserialized
use in implementationshref
etcmedia-type
Attendees
Details
Bowtie
Bowtie is a meta-validator of the JSON Schema specification. There are various issues that need help from contributors and interested people are encouraged to take a look at Bowtie Issues. A tutorial is provided for contributers. See Tutorial
Introduction was followed by a discussion on
skipped
verror/fail
as output from the meta-validator. Briefly put,skipped
is for when there are limitations of various kind an implementation is bound by or implementer decides as to why a behavior/test is skipped. For examplelua
not having a clear distinction between empty array and empty object. In such cases,skipped
allows to add a response providing explanation rather than outputingerror
which is for Bowtie to catch unexpected problems and providing an explicit trace.For an example of
skipped
, click onDetails
of .net implementation here.Unknown, explicit or overriding media-type
The discussion brought up concerns about security and trust establishment (where are the boundaries for trust drawn and moved under ambit of specification ?) with respect to media-type being served (locally or remotely) and overriding causing concerns with trust establishment boundary and security in certain contexts.
A few points made were, allowing user to explicitly describe an expected media-type (by use of additional keyword ?). Another addition to the discussion was regarding media-type loaded from HTTP content-type and the dereferencing function determining media-type of the URI, whereas schema loaded any other method being allowed to assume media-type. Furthermore,
JRI
provides hooks for picking a point for such a decision i.epreload
andserve
functions and expected media-type are in JRIxref
section.Further discussion are to be had in this regard and security section might need expanding.
Further Mentions