mapping-commons / sssom

Simple Standard for Sharing Ontology Mappings
https://mapping-commons.github.io/sssom/
BSD 3-Clause "New" or "Revised" License
146 stars 24 forks source link

JSON Schema help #127

Closed matentzn closed 2 years ago

matentzn commented 2 years ago

I am trying to capture @cthoyt tests in JSON Schema.

I am wondering about this: https://github.com/OBOFoundry/OBOFoundry.github.io/pull/1683/files?authenticity_token=f0OigYhnTMbqNI6Myxx704tAwrM%2B9YW%2B1llkaq5SE1KVgbMFSAOQKGIs0q8RJUXviyZLle%2Bh%2Bnemks3kKgIdyA%3D%3D&file-filters%5B%5D=.py#diff-d3729917c38df2205697e14a000d45f5f574d8c5204f05a1f2930111fb4a5b8fR85

How can I reflect this?

It seems to me that the tests themselves can easily be added to the schema.

https://github.com/OBOFoundry/OBOFoundry.github.io/pull/1683/files?authenticity_token=f0OigYhnTMbqNI6Myxx704tAwrM%2B9YW%2B1llkaq5SE1KVgbMFSAOQKGIs0q8RJUXviyZLle%2Bh%2Bnemks3kKgIdyA%3D%3D&file-filters%5B%5D=.py#diff-d3729917c38df2205697e14a000d45f5f574d8c5204f05a1f2930111fb4a5b8fR93

But how do i tell JSON Schema that these conditions only apply to active ontologies?

matentzn commented 2 years ago

Wrong repo