Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,184 changes: 1,184 additions & 0 deletions library/schemas/GG4GHG/Soil_LinkML/schema.json

Large diffs are not rendered by default.

411 changes: 411 additions & 0 deletions library/schemas/GG4GHG/Soil_LinkML/schema.yaml

Large diffs are not rendered by default.

193 changes: 193 additions & 0 deletions library/schemas/GG4GHG/Soil_LinkML/schema_core.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
id: https://example.com/SoilChemistryData
name: SoilChemistryData
title: Soil chemistry data
description: A schema to describe soil chemistry measurements for GG4GHG data.
version: 0.0.0
in_language: en
imports:
- linkml:types
prefixes:
linkml: https://w3id.org/linkml/
classes:
SoilChemistryData:
name: SoilChemistryData
title: Soil chemistry data
description: A schema to describe soil chemistry measurements for GG4GHG data.
keywords: RDF106
Container:
name: Container
tree_root: true
attributes:
name: SoilChemistryDataData
multivalued: true
range: SoilChemistryData
inlined_as_list: true
slots: {}
enums:
SettingsMenu:
name: SettingsMenu
title: Regular Expressions
permissible_values:
AllCaps:
title: AllCaps
description: Entries of any length with only capital letters
AlphaText1-50:
title: AlphaText1-50
description: Capital or lower case letters only, at least 1 character, and
50 characters max
AlphaText0-50:
title: AlphaText0-50
description: Capital or lower case letters only, 50 characters max
FreeText0-50:
title: FreeText0-50
description: Short text, 50 characters max
FreeText0-250:
title: FreeText0-250
description: Short text, 250 characters max
FreeText0-800:
title: FreeText0-800
description: Long text, 800 characters max
FreeText0-4000:
title: FreeText0-4000
description: Long text, 4000 characters max
CanadianPostalCode:
title: CanadianPostalCode
description: Canadian postal codes (A1A 1A1)
ZipCode:
title: ZipCode
description: USA Zip code
EmailAddress:
title: EmailAddress
description: Email address
URL:
title: URL
description: Secure (https) URL
PhoneNumber:
title: PhoneNumber
description: Phone number with international and area code component.
Latitude:
title: Latitude
description: "Latitude in formats S30\xB015'45.678\" or N12\xB030.999\""
Longitude:
title: Longitude
description: "Longitude in formats E30\xB015'45.678\" or W90\xB000.000\""
ISO_YYYY-MM-DD:
title: ISO_YYYY-MM-DD
description: year month day
ISO_YYYYMMDD:
title: ISO_YYYYMMDD
ISO_YYYY-MM:
title: ISO_YYYY-MM
description: year month
ISO_YYYY-Www:
title: ISO_YYYY-Www
description: year week (e.g. W01)
ISO_YYYYWww:
title: ISO_YYYYWww
description: year week (e.g. W01)
ISO_YYYY-DDD:
title: ISO_YYYY-DDD
description: Ordinal date (day number from the year)
ISO_YYYYDDD:
title: ISO_YYYYDDD
description: Ordinal date (day number from the year)
ISO_YYYY:
title: ISO_YYYY
description: year
ISO_MM:
title: ISO_MM
description: month
ISO_DD:
title: ISO_DD
description: day
ISO_YYYY-MM-DDTHH.MM.SSZ:
title: ISO_YYYY-MM-DDTHH:MM:SSZ
description: Date and Time Combined (UTC)
ISO_YYYY-MM-DDTHH.MM.SS-hh.mm:
title: "ISO_YYYY-MM-DDTHH:MM:SS\xB1hh:mm"
description: Date and Time Combined (with Timezone Offset)
ISO_PnYnMnDTnHnMnS:
title: ISO_PnYnMnDTnHnMnS
description: durations e.g. P3Y6M4DT12H30M5S
ISO_HH.MM:
title: ISO_HH:MM
description: hour, minutes in 24 hour notation
ISO_HH.MM.SS:
title: ISO_HH:MM:SS
description: hour, minutes, seconds in 24 hour notation
SLASH_DD_MM_YYYY:
title: DD/MM/YYYY
description: day, month, year
SLASH_DD_MM_YY:
title: DD/MM/YY
description: day, month, year
SLASH_MM_DD_YYYY:
title: MM/DD/YYYY
description: month, day, year
DDMMYYYY:
title: DDMMYYYY
description: day, month, year
MMDDYYYY:
title: MMDDYYYY
description: month, day, year
YYYYMMDD:
title: YYYYMMDD
description: year, month, day
HH.MM.SS:
title: HH:MM:SS
description: hour, minutes, seconds 12 hour notation AM/PM
H.MM_or_HH.MM:
title: H:MM or HH:MM
description: hour, minutes AM/PM
types:
WhitespaceMinimizedString:
name: WhitespaceMinimizedString
typeof: string
description: 'A string that has all whitespace trimmed off of beginning and end,
and all internal whitespace segments reduced to single spaces. Whitespace includes
x9 (tab), #xA (linefeed), and #xD (carriage return).'
base: str
uri: xsd:token
settings:
Title_Case: ((?<=\b)[^a-z\W]\w*?|[\W])+
UPPER_CASE: '[A-Z\W\d_]*'
lower_case: '[a-z\W\d_]*'
AllCaps: ^[A-Z]*$
AlphaText1-50: ^[A-Za-z]{1,50}$
AlphaText0-50: ^[A-Za-z]{0,50}$
FreeText0-50: ^.{0,50}$
FreeText0-250: ^.{0,250}$
FreeText0-800: ^.{0,800}$
FreeText0-4000: ^.{0,4000}$
CanadianPostalCode: ^[A-Z][0-9][A-Z]\s[0-9][A-Z][0-9]$
ZipCode: ^\d{5,6}(?:[-\s]\d{4})?$
EmailAddress: ^[a-zA-Z0-9_\.\+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-\.]+
URL: ^https?\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,}$
PhoneNumber: ^\+?\(?\d{2,4}\)?[\d\s-]{3,}$
Latitude: "^[NS]-?(?:[0-8]?\\d|90)\xB0(?:\\d+(?:\\.\\d+)?)(?:'(\\d+(?:\\.\\d+)?)\"\
)?$"
Longitude: "^[WE]-?(?:[0-8]?\\d|90)\xB0(?:\\d+(?:\\.\\d+)?)(?:'(\\d+(?:\\.\\d+)?)\"\
)?$"
ISO_YYYY-MM-DD: ^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
ISO_YYYYMMDD: ^(\d{4})(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|3[0-1])$
ISO_YYYY-MM: ^(\d{4})-(0[1-9]|1[0-2])$
ISO_YYYY-Www: ^(?:\d{4})-W(0[1-9]|[1-4][0-9]|5[0-3])$
ISO_YYYYWww: ^(?:\d{4})W(0[1-9]|[1-4][0-9]|5[0-3])$
ISO_YYYY-DDD: ^(?:\d{4})-(00[1-9]|0[1-9][0-9]|[1-2][0-9]{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][0-9] ?[APMapm]{2}$
H.MM_or_HH.MM: ^(0?[1-9]|1[0-2]):[0-5][0-9] ?[APMapm]{2}$
35 changes: 35 additions & 0 deletions library/schemas/GG4GHG/Soil_LinkML/schema_enums.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
title name text meaning menu_1 menu_2 menu_3 menu_4 menu_5 description
aspect aspect
Community Community Plot
Focal Focal Plot
plant plant
CL Calamovilfa longifolia
DP Dalea purpurea
LL Linum lewisii
NV Nasella viridula
site site
ASQ NCC Asquith
BFP Buffalo Pound
BID Biddulph
CDE Condie
CFL Cranberry Flats
CPH Camp Hughes
DOG Douglas
DUN Dundurn
ECV Echo valley
ESL East Shoal Lake
FEL Fort Ellice – St. Lazare
GLE Grasslands E (west block)
GLW Grasslands W (west block)
GWR Goodwater
HDM Horod Moraine – Onanole
HZN Hazen
LAM Lake Alma
MAN Manitou
MAT Matador
MAY Maymonyt
MCK McKinney
RBL Redberry lake
SLO CFB Shilo
STD St. Denis
YQP Yellow Quill Prairie
12 changes: 12 additions & 0 deletions library/schemas/GG4GHG/Soil_LinkML/schema_slots.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class_name slot_group slot_uri name title range range_2 unit identifier multivalued minimum_cardinality maximum_cardinality required recommended minimum_value maximum_value pattern structured_pattern description comments examples annotations
SoilChemistryData General Plot Plot decimal The plot number associated with the sample
SoilChemistryData General ROC_perc ROC_perc decimal ROC as a percent.
SoilChemistryData General SOC_perc SOC_perc decimal Soil Organic Carbon percent
SoilChemistryData General TC TC decimal Total Carbon
SoilChemistryData General TIC900_perc TIC900_perc decimal TIC900 as a percent.
SoilChemistryData General TN TN decimal Total Nitrogen
SoilChemistryData General TOC400_perc TOC400_perc decimal TOC400 as a percent.
SoilChemistryData General aspect aspect WhitespaceMinimizedString aspect Whether it is a focal or community sample.
SoilChemistryData General name name WhitespaceMinimizedString The full name of the sample (Combination of plant, site, aspect and plot number).
SoilChemistryData General plant plant WhitespaceMinimizedString plant The focal species target.
SoilChemistryData General site site WhitespaceMinimizedString site The site the sample was taken from.
2 changes: 2 additions & 0 deletions library/schemas/GG4GHG/Soil_OCA_schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ parent: GG4GHG

[Download Semantic Engine Schema](Soil_OCA_package.json)

[Download LinkML Schema](Soil_LinkML/schema.json) ([yaml](Soil_LinkML/schema.yaml); table view: [fields](https://github.com/ClimateSmartAgCollab/HUB-Harmonization/blob/main/library/schemas/GG4GHG/Soil_LinkML/schema_slots.tsv), [picklists](https://github.com/ClimateSmartAgCollab/HUB-Harmonization/blob/main/library/schemas/GG4GHG/Soil_LinkML/schema_enums.tsv))

## Schema quick view

| Attribute | Label | Description |
Expand Down
2 changes: 2 additions & 0 deletions library/schemas/JT/Agri-genomics_Option_Survey_OCA_schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ parent: Just Transitions

[Download Schema](Agri-genomics_Option_Survey_OCA_package.json)

[Download LinkML Schema](GENOME_LinkML/schema.json) ([yaml](GENOME_LinkML/schema.yaml); table view: [fields](https://github.com/ClimateSmartAgCollab/HUB-Harmonization/blob/main/library/schemas/JT/GENOME_LinkML/schema_slots.tsv), [picklists](https://github.com/ClimateSmartAgCollab/HUB-Harmonization/blob/main/library/schemas/JT/GENOME_LinkML/schema_enums.tsv))

## Schema quick view

| Attribute | Label | Description |
Expand Down
Loading