Skip to content

Commit

Permalink
Merge pull request #2321 from microbiomedata/2320-make-structured-ali…
Browse files Browse the repository at this point in the history
…ases-for-jat-template-keys

Add structured aliases for jat template keys
  • Loading branch information
turbomam authored Jan 17, 2025
2 parents 55e96d9 + c7ed4a4 commit 86eddd8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/schema/basic_classes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,11 @@ slots:
range: DataGeneration
mappings:
- prov:wasInformedBy
structured_aliases:
was_informed_by:
contexts:
- https://bitbucket.org/berkeleylab/jgi-jat/macros/nmdc_metadata.yaml
predicate: EXACT_SYNONYM
principal_investigator:
aliases:
- PI
Expand Down
20 changes: 19 additions & 1 deletion src/schema/basic_slots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ slots:
examples:
- value: FT ICR-MS Analysis Results
- value: GC-MS Metabolomics Results

structured_aliases:
data_object_type:
contexts:
- https://bitbucket.org/berkeleylab/jgi-jat/macros/nmdc_metadata.yaml
predicate: EXACT_SYNONYM
data_category:
range: DataCategoryEnum
description: The category of the file, such as instrument data from data generation or processed data from a workflow execution.
Expand Down Expand Up @@ -428,6 +432,11 @@ slots:
- https://github.com/microbiomedata/nmdc-schema/issues/1048
- https://github.com/microbiomedata/nmdc-schema/issues/1233
- https://github.com/microbiomedata/nmdc-schema/issues/248
structured_aliases:
workflow_execution_class:
contexts:
- https://bitbucket.org/berkeleylab/jgi-jat/macros/nmdc_metadata.yaml
predicate: NARROW_SYNONYM
examples:
- value: nmdc:Biosample
- value: nmdc:Study
Expand Down Expand Up @@ -482,6 +491,15 @@ slots:
description: >-
A unique identifier for a thing.
Must be either a CURIE shorthand for a URI or a complete URI
structured_aliases:
workflow_execution_id:
contexts:
- https://bitbucket.org/berkeleylab/jgi-jat/macros/nmdc_metadata.yaml
predicate: NARROW_SYNONYM
data_object_id:
contexts:
- https://bitbucket.org/berkeleylab/jgi-jat/macros/nmdc_metadata.yaml
predicate: NARROW_SYNONYM
notes:
- "abstracted pattern: prefix:typecode-authshoulder-blade(.version)?(_seqsuffix)?"
- 'a minimum length of 3 characters is suggested for typecodes, but 1 or 2 characters will be accepted'
Expand Down

0 comments on commit 86eddd8

Please sign in to comment.