Skip to content

Conversation

madbence
Copy link

@madbence madbence commented Aug 9, 2021

This PR kinda fixes #26 by maintaining an internal map to defined schemas.

I tried it with this schema: https://raw.githubusercontent.com/usnistgov/OSCAL/main/json/schema/oscal_assessment-results_schema.json

The UI renders the schema, but some links are messed up (usually after the second navigation). I guess this happens because navigation depends on the fact that references are supposed to be JSON pointers (?).

I'm not sure about browser support or used polyfills for bundling, but this feature depends on URL.

@robertmassaioli
Copy link
Collaborator

The UI renders the schema, but some links are messed up (usually after the second navigation). I guess this happens because navigation depends on the fact that references are supposed to be JSON pointers (?).

Thank you for this submission, but, as you can see, this change does not solve the problem in its entirety. There still seem to be a few bugs that remain. I'll have a look at this problem holistically and see what is possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support internal non-pointer references

2 participants