Skip to content

what are the best practices for creating schema ids #1748

Answered by cmungall
turbomam asked this question in Q&A
Discussion options

You must be logged in to vote

For production schemas:

  • the schema id SHOULD be a https URL
  • if the schema id is a URL then it SHOULD be resolvable (this needs to be fixed in a number of repos)
  • w3id is a good choice but this is ultimately up to the provider
  • there SHOULD be resolvable URLs that are obtained from standard URLs using the id as the base, including:
    • {id}.yaml - source schema MUST be included
    • for others, see biolink config

Note that for schemas that are not in production, or are intended for demonstration or test purposes, there is no requirement for resolvability. Providers are encouraged not to submit a w3id.org request until the schema and namespace are stable and there is evidence of use by users exte…

Replies: 4 comments 3 replies

Comment options

turbomam
Nov 20, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

turbomam
Nov 20, 2023
Collaborator Author

You must be logged in to vote
2 replies
@cmungall
Comment options

@nlharris
Comment options

Comment options

turbomam
Nov 20, 2023
Collaborator Author

You must be logged in to vote
1 reply
@cmungall
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by cmungall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something that should work but isn't, with an example and a test case. question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #1742 on November 22, 2023 23:36.