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
Task
Create a new block which should take accept a JSON Schema document URL as input, and output a JSON Schema document as a string, or a JSON Schema object.
This would use dereferencing, a technique for merging referenced data from definitions that are stored in path addresses, into a merged schema.
How does JSON Schema Dereferencing work?
JSON Schema document dereferencing returns a merged JSON Schema document by following the reference location (from the same document, or an external URL) and replacing the $ref with the resolved content of the definition directly in the schema.
Input: Take JSON Schema URL string (content must point to a valid JSON schema)
Task
Create a new block which should take accept a JSON Schema document URL as input, and output a JSON Schema document as a string, or a JSON Schema object.
This would use dereferencing, a technique for merging referenced data from definitions that are stored in path addresses, into a merged schema.
How does JSON Schema Dereferencing work?
JSON Schema document dereferencing returns a merged JSON Schema document by following the reference location (from the same document, or an external URL) and replacing the $ref with the resolved content of the definition directly in the schema.
Input: Take JSON Schema URL string (content must point to a valid JSON schema)
Output: string or JSON Object
Example of using a JSON Schema Dereferencing library on a JSON Schema we tried to use:
https://github.com/kendraio/kendraio-gists/blob/main/schema_merge_tool.ts
The text was updated successfully, but these errors were encountered: