Skip to content

Commit

Permalink
Merge pull request #2288 from microbiomedata/2287-standardize-the-nam…
Browse files Browse the repository at this point in the history
…es-of-types-decimal-degree-and-language-code-whitewspace-underscore

removed white-space in type names
  • Loading branch information
turbomam authored Dec 4, 2024
2 parents 80c3c02 + 2820374 commit 07bdeda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/schema/basic_slots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ slots:
- See issue 207 - this clashes with the mixs field

language:
range: language code
range: language_code
description: Should use ISO 639-1 code e.g. "en", "fr"

has_raw_value:
Expand Down Expand Up @@ -173,7 +173,7 @@ slots:
range: boolean

latitude:
range: decimal degree
range: decimal_degree
description: latitude
slot_uri: wgs84:lat
examples:
Expand All @@ -182,7 +182,7 @@ slots:
- schema:latitude

longitude:
range: decimal degree
range: decimal_degree
description: longitude
slot_uri: wgs84:long
examples:
Expand Down
4 changes: 2 additions & 2 deletions src/schema/nmdc_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ types:
see_also:
- UO:0000233

decimal degree:
decimal_degree:
description: A decimal degree expresses latitude or longitude as decimal fractions.
uri: xsd:decimal
base: float
see_also:
- https://en.wikipedia.org/wiki/Decimal_degrees

language code:
language_code:
description: A language code conforming to ISO_639-1
see_also:
- https://en.wikipedia.org/wiki/ISO_639-1
Expand Down

0 comments on commit 07bdeda

Please sign in to comment.