Skip to content

Commit 06eb9ad

Browse files
authored
Add some missing justifications (#407)
There must be a better way to do this in LinkML by now! - [ ] `docs/` have been added/updated if necessary - [ ] `make test` has been run locally - [ ] tests have been added/updated (if applicable) - [ ] [CHANGELOG.md](https://github.com/mapping-commons/sssom/blob/master/CHANGELOG.md) has been updated. If you are proposing a change to the SSSOM metadata model, you must - [ ] provide a full, working and valid example in `examples/` - [ ] provide a link to the related GitHub issue in the `see_also` field of the linkml model - [ ] provide a link to a valid example in the `see_also` field of the linkml model - [ ] run SSSOM-Py test suite against the updated model This is adding a number of newer justifications to the validation rules of the schema. - [ ] Ask LinkML community what the state of the art way to do this is!
1 parent 551d641 commit 06eb9ad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sssom_schema/schema/sssom_schema.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ slots:
277277
mapping_justification:
278278
description: A mapping justification is an action (or the written representation of that action) of showing a mapping to be right or reasonable.
279279
range: EntityReference
280-
pattern: "^semapv:(MappingReview|ManualMappingCuration|LogicalReasoning|LexicalMatching|CompositeMatching|UnspecifiedMatching|SemanticSimilarityThresholdMatching|LexicalSimilarityThresholdMatching|MappingChaining)$"
280+
pattern: "^semapv:(MappingReview|ManualMappingCuration|LogicalReasoning|LexicalMatching|CompositeMatching|UnspecifiedMatching|SemanticSimilarityThresholdMatching|LexicalSimilarityThresholdMatching|MappingChaining|MappingInversion|StructuralMatching|InstanceBasedMatching|BackgroundKnowledgeBasedMatching)$"
281281
required: true
282282
any_of:
283283
- equals_string: semapv:LexicalMatching
@@ -289,6 +289,10 @@ slots:
289289
- equals_string: semapv:MappingChaining
290290
- equals_string: semapv:MappingReview
291291
- equals_string: semapv:ManualMappingCuration
292+
- equals_string: semapv:MappingInversion
293+
- equals_string: semapv:StructuralMatching
294+
- equals_string: semapv:InstanceBasedMatching
295+
- equals_string: semapv:BackgroundKnowledgeBasedMatching
292296
examples:
293297
- value: semapv:LexicalMatching
294298
- value: semapv:ManualMappingCuration

0 commit comments

Comments
 (0)