Custom Unresolved Refs Component
- Viewer
- viewerOptions
- JSON Schema
Loading ....
{
UnresolvedRefsComponent: ({schema}) => (
`${schema.$ref || schema.$dynamicRef || schema.$recursiveRef || ""} was not resolved`
)
}
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/tree",
"$dynamicAnchor": "node",
"type": "object",
"properties": {
"data": true,
"children": {
"type": "array",
"items": {
"$dynamicRef": "#node"
}
}
}
}