Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] All custom validation rules don't seem to be save in the downloaded file #193

Open
flaneuse opened this issue Sep 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@flaneuse
Copy link
Collaborator

Describe the bug
Weirdness with custom definitions! I created a bunch of new definitions; 4/5 of them appear in the Preview/Download.

To Reproduce
Steps to reproduce the behavior:
Create a new definition in the Schema Editor/Validator. Preview, then Download

Expected behavior
All custom definitions should be included in the downloaded .jsonld

Screenshots
I think it might be related to the fact that organization is only called within an array of anyOf?
Screen Shot 2022-09-16 at 4 39 29 PM

Screen Shot 2022-09-16 at 4 39 44 PM

Screen Shot 2022-09-16 at 4 40 44 PM

@flaneuse flaneuse added the bug Something isn't working label Sep 16, 2022
@flaneuse
Copy link
Collaborator Author

Ran into this issue again when making the Dataset schema -- even though it uses the same validation rules and reuses most of the properties, citation and organization definitions were missing in the download. It leads to a super annoying 500 error in the schema visualizer, which is hard to track down the source unless you know what you're looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants