You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A class method utility to find a JSON Schema segment (or segments) for a given JSON object (along with the schema's parent and parent property for potential manipulation)
Type-based searches (which utilize the class method utility) which are JSON Schema aware, e.g., instead of just $..*@string(), we could support something like $..*@type(mySchemaType)
The text was updated successfully, but these errors were encountered:
brettz9
changed the title
Find JSON Schema segment for JSON; allow type-based searches to be JSON Schema aware
Find JSON Schema segment(s) for JSON; allow type-based searches to be JSON Schema aware
Dec 14, 2015
One further possibility would be to allow Ajax retrieval of the JSON and automatically do schema URL detection (and optional retrieval, e.g., if there is a @type() path component) from the recommended header of JSON, e.g., Content-Type: application/my-media-type+json; profile=http://example.com/my-hyper-schema#. This might be particularly justified with issue #61 calling for Ajax abilities anyways.
I would like to see:
$..*@string()
, we could support something like$..*@type(mySchemaType)
The text was updated successfully, but these errors were encountered: