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

chore: update schema-files (DEV-449) #187

Merged
merged 5 commits into from Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion knora/dsplib/schemas/ontology.json
Expand Up @@ -1178,7 +1178,6 @@
"required": [
"shortcode",
"shortname",
"longname",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why should longname be optional? I think it's important to have it...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jnussbaum that came from me. I saw this already some time ago and asked @gNahcab to adjust it. From the API side it's not mandatory: https://docs.dasch.swiss/DSP-API/03-apis/api-admin/projects/#create-a-new-project
I think it is good if DSP-TOOLS has the same restrictions as the API. Otherwise we need to maintain two different systems / logics which is much harder to keep up to date.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for explaining, Irina. I approved the PR, and you can merge, @gNahcab 👍

"descriptions",
"ontologies",
"keywords"
Expand Down
179 changes: 0 additions & 179 deletions knora/dsplib/utils/knora-schema-properties-only.json

This file was deleted.