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
Sometimes, one may need to include a sub-schema without re-defining it completely, using the $ref attribute.
An example of such situation is if the object itself contains a json schema. One may want to avoid the overhead of inlining the entire JSON schema spec by using a direct reference to the schema's URL like so:
Sometimes, one may need to include a sub-schema without re-defining it completely, using the
$ref
attribute.An example of such situation is if the object itself contains a json schema. One may want to avoid the overhead of inlining the entire JSON schema spec by using a direct reference to the schema's URL like so:
Suggestion
One convenient way to achieve this would be to support a JSDoc annotation for this purpose:
The text was updated successfully, but these errors were encountered: