nmdc-schema 11.11.0__py3-none-any.whl → 11.12.0rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_1.py +2 -2
- nmdc_schema/nmdc-pydantic.py +601 -224
- nmdc_schema/nmdc.py +133 -39
- nmdc_schema/nmdc.schema.json +37 -14
- nmdc_schema/nmdc_materialized_patterns.json +1090 -57
- nmdc_schema/nmdc_materialized_patterns.schema.json +37 -14
- nmdc_schema/nmdc_materialized_patterns.yaml +845 -52
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.12.0rc1.dist-info}/METADATA +1 -1
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.12.0rc1.dist-info}/RECORD +12 -12
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.12.0rc1.dist-info}/WHEEL +1 -1
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.12.0rc1.dist-info}/entry_points.txt +9 -0
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.12.0rc1.dist-info}/licenses/LICENSE +0 -0
nmdc_schema/nmdc.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Auto generated from nmdc.yaml by pythongen.py version: 0.0.1
|
|
2
|
-
# Generation date: 2025-09-
|
|
2
|
+
# Generation date: 2025-09-25T19:35:29
|
|
3
3
|
# Schema: NMDC
|
|
4
4
|
#
|
|
5
5
|
# id: https://w3id.org/nmdc/nmdc
|
|
@@ -60,7 +60,7 @@ from linkml_runtime.linkml_model.types import Boolean, Decimal, Double, Float, I
|
|
|
60
60
|
from linkml_runtime.utils.metamodelcore import Bool, Decimal, URIorCURIE
|
|
61
61
|
|
|
62
62
|
metamodel_version = "1.7.0"
|
|
63
|
-
version = "11.
|
|
63
|
+
version = "11.12.0rc1"
|
|
64
64
|
|
|
65
65
|
# Namespaces
|
|
66
66
|
BFO = CurieNamespace('BFO', 'http://purl.obolibrary.org/obo/BFO_')
|
|
@@ -6950,6 +6950,9 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
6950
6950
|
cm = PermissibleValue(
|
|
6951
6951
|
text="cm",
|
|
6952
6952
|
description="The Unified Code for Units of Measure (UCUM) representation of centimeter.")
|
|
6953
|
+
cP = PermissibleValue(
|
|
6954
|
+
text="cP",
|
|
6955
|
+
description="The Unified Code for Units of Measure (UCUM) representation of centipoise.")
|
|
6953
6956
|
d = PermissibleValue(
|
|
6954
6957
|
text="d",
|
|
6955
6958
|
description="The Unified Code for Units of Measure (UCUM) representation of day.")
|
|
@@ -6989,24 +6992,15 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
6989
6992
|
mV = PermissibleValue(
|
|
6990
6993
|
text="mV",
|
|
6991
6994
|
description="The Unified Code for Units of Measure (UCUM) representation of millivolt.")
|
|
6992
|
-
PSU = PermissibleValue(
|
|
6993
|
-
text="PSU",
|
|
6994
|
-
description="The Unified Code for Units of Measure (UCUM) representation of practical salinity unit.")
|
|
6995
6995
|
L = PermissibleValue(
|
|
6996
6996
|
text="L",
|
|
6997
6997
|
description="The Unified Code for Units of Measure (UCUM) representation of liter.")
|
|
6998
6998
|
um = PermissibleValue(
|
|
6999
6999
|
text="um",
|
|
7000
7000
|
description="The Unified Code for Units of Measure (UCUM) representation of micrometer.")
|
|
7001
|
-
y = PermissibleValue(
|
|
7002
|
-
text="y",
|
|
7003
|
-
description="The Unified Code for Units of Measure (UCUM) representation of year.")
|
|
7004
7001
|
kg = PermissibleValue(
|
|
7005
7002
|
text="kg",
|
|
7006
7003
|
description="The Unified Code for Units of Measure (UCUM) representation of kilogram.")
|
|
7007
|
-
ppt = PermissibleValue(
|
|
7008
|
-
text="ppt",
|
|
7009
|
-
description="The Unified Code for Units of Measure (UCUM) representation of parts per thousand.")
|
|
7010
7004
|
lx = PermissibleValue(
|
|
7011
7005
|
text="lx",
|
|
7012
7006
|
description="The Unified Code for Units of Measure (UCUM) representation of lux.")
|
|
@@ -7106,30 +7100,30 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7106
7100
|
kW = PermissibleValue(
|
|
7107
7101
|
text="kW",
|
|
7108
7102
|
description="The Unified Code for Units of Measure (UCUM) representation of kilowatt.")
|
|
7109
|
-
API = PermissibleValue(
|
|
7110
|
-
text="API",
|
|
7111
|
-
description="The Unified Code for Units of Measure (UCUM) representation of API units.")
|
|
7112
7103
|
mbar = PermissibleValue(
|
|
7113
7104
|
text="mbar",
|
|
7114
7105
|
description="The Unified Code for Units of Measure (UCUM) representation of millibar.")
|
|
7115
|
-
|
|
7116
|
-
text="
|
|
7117
|
-
description="The Unified Code for Units of Measure (UCUM) representation of
|
|
7118
|
-
|
|
7119
|
-
text="
|
|
7120
|
-
description="The Unified Code for Units of Measure (UCUM) representation of
|
|
7121
|
-
|
|
7122
|
-
text="
|
|
7123
|
-
description="The Unified Code for Units of Measure (UCUM) representation of
|
|
7124
|
-
|
|
7125
|
-
text="
|
|
7126
|
-
description="The Unified Code for Units of Measure (UCUM) representation of
|
|
7127
|
-
|
|
7128
|
-
text="
|
|
7129
|
-
description="The Unified Code for Units of Measure (UCUM) representation of
|
|
7130
|
-
|
|
7131
|
-
text="
|
|
7132
|
-
description="The Unified Code for Units of Measure (UCUM) representation of
|
|
7106
|
+
mg = PermissibleValue(
|
|
7107
|
+
text="mg",
|
|
7108
|
+
description="The Unified Code for Units of Measure (UCUM) representation of milligram.")
|
|
7109
|
+
wk = PermissibleValue(
|
|
7110
|
+
text="wk",
|
|
7111
|
+
description="The Unified Code for Units of Measure (UCUM) representation of week.")
|
|
7112
|
+
Gy = PermissibleValue(
|
|
7113
|
+
text="Gy",
|
|
7114
|
+
description="The Unified Code for Units of Measure (UCUM) representation of gray (absorbed dose).")
|
|
7115
|
+
RAD = PermissibleValue(
|
|
7116
|
+
text="RAD",
|
|
7117
|
+
description="The Unified Code for Units of Measure (UCUM) representation of rad (radiation absorbed dose).")
|
|
7118
|
+
m3 = PermissibleValue(
|
|
7119
|
+
text="m3",
|
|
7120
|
+
description="The Unified Code for Units of Measure (UCUM) representation of cubic meter.")
|
|
7121
|
+
ug = PermissibleValue(
|
|
7122
|
+
text="ug",
|
|
7123
|
+
description="The Unified Code for Units of Measure (UCUM) representation of microgram.")
|
|
7124
|
+
cm2 = PermissibleValue(
|
|
7125
|
+
text="cm2",
|
|
7126
|
+
description="The Unified Code for Units of Measure (UCUM) representation of square centimeter.")
|
|
7133
7127
|
|
|
7134
7128
|
_defn = EnumDefinition(
|
|
7135
7129
|
name="UnitEnum",
|
|
@@ -7237,6 +7231,10 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7237
7231
|
PermissibleValue(
|
|
7238
7232
|
text="uL/kg",
|
|
7239
7233
|
description="""The Unified Code for Units of Measure (UCUM) representation of microliters per kilogram."""))
|
|
7234
|
+
setattr(cls, "[ppth]",
|
|
7235
|
+
PermissibleValue(
|
|
7236
|
+
text="[ppth]",
|
|
7237
|
+
description="The Unified Code for Units of Measure (UCUM) representation of parts per thousand."))
|
|
7240
7238
|
setattr(cls, "g/g",
|
|
7241
7239
|
PermissibleValue(
|
|
7242
7240
|
text="g/g",
|
|
@@ -7297,14 +7295,10 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7297
7295
|
PermissibleValue(
|
|
7298
7296
|
text="pg/mL",
|
|
7299
7297
|
description="""The Unified Code for Units of Measure (UCUM) representation of picograms per milliliter."""))
|
|
7300
|
-
setattr(cls, "
|
|
7298
|
+
setattr(cls, "1/d",
|
|
7301
7299
|
PermissibleValue(
|
|
7302
|
-
text="
|
|
7303
|
-
description="The Unified Code for Units of Measure (UCUM) representation of
|
|
7304
|
-
setattr(cls, "uE/m2/s",
|
|
7305
|
-
PermissibleValue(
|
|
7306
|
-
text="uE/m2/s",
|
|
7307
|
-
description="""The Unified Code for Units of Measure (UCUM) representation of microeinsteins per square meter per second."""))
|
|
7300
|
+
text="1/d",
|
|
7301
|
+
description="The Unified Code for Units of Measure (UCUM) representation of per day (frequency)."))
|
|
7308
7302
|
setattr(cls, "kW/m2",
|
|
7309
7303
|
PermissibleValue(
|
|
7310
7304
|
text="kW/m2",
|
|
@@ -7321,10 +7315,22 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7321
7315
|
PermissibleValue(
|
|
7322
7316
|
text="L/h",
|
|
7323
7317
|
description="The Unified Code for Units of Measure (UCUM) representation of liters per hour."))
|
|
7318
|
+
setattr(cls, "[pH]",
|
|
7319
|
+
PermissibleValue(
|
|
7320
|
+
text="[pH]",
|
|
7321
|
+
description="The Unified Code for Units of Measure (UCUM) representation of pH units."))
|
|
7324
7322
|
setattr(cls, "kW/m2/d",
|
|
7325
7323
|
PermissibleValue(
|
|
7326
7324
|
text="kW/m2/d",
|
|
7327
7325
|
description="""The Unified Code for Units of Measure (UCUM) representation of kilowatts per square meter per day."""))
|
|
7326
|
+
setattr(cls, "[NTU]",
|
|
7327
|
+
PermissibleValue(
|
|
7328
|
+
text="[NTU]",
|
|
7329
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of Nephelometric Turbidity Units."""))
|
|
7330
|
+
setattr(cls, "[FNU]",
|
|
7331
|
+
PermissibleValue(
|
|
7332
|
+
text="[FNU]",
|
|
7333
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of Formazin Nephelometric Units."""))
|
|
7328
7334
|
setattr(cls, "m3/min",
|
|
7329
7335
|
PermissibleValue(
|
|
7330
7336
|
text="m3/min",
|
|
@@ -7333,6 +7339,94 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7333
7339
|
PermissibleValue(
|
|
7334
7340
|
text="km/h",
|
|
7335
7341
|
description="The Unified Code for Units of Measure (UCUM) representation of kilometers per hour."))
|
|
7342
|
+
setattr(cls, "[lb_av]",
|
|
7343
|
+
PermissibleValue(
|
|
7344
|
+
text="[lb_av]",
|
|
7345
|
+
description="The Unified Code for Units of Measure (UCUM) representation of pound (avoirdupois)."))
|
|
7346
|
+
setattr(cls, "kg/kg",
|
|
7347
|
+
PermissibleValue(
|
|
7348
|
+
text="kg/kg",
|
|
7349
|
+
description="The Unified Code for Units of Measure (UCUM) representation of kilogram per kilogram."))
|
|
7350
|
+
setattr(cls, "ug/m3",
|
|
7351
|
+
PermissibleValue(
|
|
7352
|
+
text="ug/m3",
|
|
7353
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of micrograms per cubic meter."""))
|
|
7354
|
+
setattr(cls, "meq/L",
|
|
7355
|
+
PermissibleValue(
|
|
7356
|
+
text="meq/L",
|
|
7357
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of milliequivalents per liter."""))
|
|
7358
|
+
setattr(cls, "lm/m2",
|
|
7359
|
+
PermissibleValue(
|
|
7360
|
+
text="lm/m2",
|
|
7361
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of lumens per square meter."""))
|
|
7362
|
+
setattr(cls, "umol/L/h",
|
|
7363
|
+
PermissibleValue(
|
|
7364
|
+
text="umol/L/h",
|
|
7365
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of micromoles per liter per hour."""))
|
|
7366
|
+
setattr(cls, "g/cm3",
|
|
7367
|
+
PermissibleValue(
|
|
7368
|
+
text="g/cm3",
|
|
7369
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of grams per cubic centimeter."""))
|
|
7370
|
+
setattr(cls, "g/L",
|
|
7371
|
+
PermissibleValue(
|
|
7372
|
+
text="g/L",
|
|
7373
|
+
description="The Unified Code for Units of Measure (UCUM) representation of grams per liter."))
|
|
7374
|
+
setattr(cls, "[g]",
|
|
7375
|
+
PermissibleValue(
|
|
7376
|
+
text="[g]",
|
|
7377
|
+
description="The Unified Code for Units of Measure (UCUM) representation of standard gravity."))
|
|
7378
|
+
setattr(cls, "m/s2",
|
|
7379
|
+
PermissibleValue(
|
|
7380
|
+
text="m/s2",
|
|
7381
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of meters per second squared."""))
|
|
7382
|
+
setattr(cls, "mol/g",
|
|
7383
|
+
PermissibleValue(
|
|
7384
|
+
text="mol/g",
|
|
7385
|
+
description="The Unified Code for Units of Measure (UCUM) representation of moles per gram."))
|
|
7386
|
+
setattr(cls, "g/m2/d",
|
|
7387
|
+
PermissibleValue(
|
|
7388
|
+
text="g/m2/d",
|
|
7389
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of grams per square meter per day."""))
|
|
7390
|
+
setattr(cls, "[sft_i]",
|
|
7391
|
+
PermissibleValue(
|
|
7392
|
+
text="[sft_i]",
|
|
7393
|
+
description="The Unified Code for Units of Measure (UCUM) representation of square feet."))
|
|
7394
|
+
setattr(cls, "[cft_i]",
|
|
7395
|
+
PermissibleValue(
|
|
7396
|
+
text="[cft_i]",
|
|
7397
|
+
description="The Unified Code for Units of Measure (UCUM) representation of cubic feet."))
|
|
7398
|
+
setattr(cls, "mm/a",
|
|
7399
|
+
PermissibleValue(
|
|
7400
|
+
text="mm/a",
|
|
7401
|
+
description="The Unified Code for Units of Measure (UCUM) representation of millimeters per year."))
|
|
7402
|
+
setattr(cls, "erg/cm2/s",
|
|
7403
|
+
PermissibleValue(
|
|
7404
|
+
text="erg/cm2/s",
|
|
7405
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of ergs per square centimeter per second."""))
|
|
7406
|
+
setattr(cls, "g/m2",
|
|
7407
|
+
PermissibleValue(
|
|
7408
|
+
text="g/m2",
|
|
7409
|
+
description="The Unified Code for Units of Measure (UCUM) representation of grams per square meter."))
|
|
7410
|
+
setattr(cls, "L/s",
|
|
7411
|
+
PermissibleValue(
|
|
7412
|
+
text="L/s",
|
|
7413
|
+
description="The Unified Code for Units of Measure (UCUM) representation of liters per second."))
|
|
7414
|
+
setattr(cls, "cm3/cm3",
|
|
7415
|
+
PermissibleValue(
|
|
7416
|
+
text="cm3/cm3",
|
|
7417
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of cubic centimeters per cubic centimeter."""))
|
|
7418
|
+
setattr(cls, "[kn_i]",
|
|
7419
|
+
PermissibleValue(
|
|
7420
|
+
text="[kn_i]",
|
|
7421
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of knot (nautical miles per hour)."""))
|
|
7422
|
+
setattr(cls, "m3/s",
|
|
7423
|
+
PermissibleValue(
|
|
7424
|
+
text="m3/s",
|
|
7425
|
+
description="""The Unified Code for Units of Measure (UCUM) representation of cubic meters per second."""))
|
|
7426
|
+
setattr(cls, "[in_i]",
|
|
7427
|
+
PermissibleValue(
|
|
7428
|
+
text="[in_i]",
|
|
7429
|
+
description="The Unified Code for Units of Measure (UCUM) representation of inch."))
|
|
7336
7430
|
|
|
7337
7431
|
class ExecutionResourceEnum(EnumDefinitionImpl):
|
|
7338
7432
|
|
nmdc_schema/nmdc.schema.json
CHANGED
|
@@ -14988,6 +14988,7 @@
|
|
|
14988
14988
|
"J/K",
|
|
14989
14989
|
"Cel",
|
|
14990
14990
|
"cm",
|
|
14991
|
+
"cP",
|
|
14991
14992
|
"d",
|
|
14992
14993
|
"g",
|
|
14993
14994
|
"h",
|
|
@@ -15022,14 +15023,12 @@
|
|
|
15022
15023
|
"m2",
|
|
15023
15024
|
"atm",
|
|
15024
15025
|
"mV",
|
|
15025
|
-
"PSU",
|
|
15026
15026
|
"L",
|
|
15027
15027
|
"um",
|
|
15028
|
-
"y",
|
|
15029
15028
|
"1",
|
|
15030
15029
|
"uL/kg",
|
|
15031
15030
|
"kg",
|
|
15032
|
-
"
|
|
15031
|
+
"[ppth]",
|
|
15033
15032
|
"g/g",
|
|
15034
15033
|
"lx",
|
|
15035
15034
|
"mg/m3/d",
|
|
@@ -15068,6 +15067,7 @@
|
|
|
15068
15067
|
"rad",
|
|
15069
15068
|
"sr",
|
|
15070
15069
|
"Hz",
|
|
15070
|
+
"1/d",
|
|
15071
15071
|
"kHz",
|
|
15072
15072
|
"MHz",
|
|
15073
15073
|
"GHz",
|
|
@@ -15078,23 +15078,46 @@
|
|
|
15078
15078
|
"MJ",
|
|
15079
15079
|
"W",
|
|
15080
15080
|
"kW",
|
|
15081
|
-
"API",
|
|
15082
15081
|
"mbar",
|
|
15083
|
-
"ratio",
|
|
15084
|
-
"J/Cel",
|
|
15085
|
-
"uE/m2/s",
|
|
15086
15082
|
"kW/m2",
|
|
15087
|
-
"people",
|
|
15088
|
-
"pets",
|
|
15089
|
-
"plants",
|
|
15090
15083
|
"umol/s/m2",
|
|
15091
15084
|
"m3/d",
|
|
15092
15085
|
"L/h",
|
|
15093
|
-
"pH",
|
|
15086
|
+
"[pH]",
|
|
15094
15087
|
"kW/m2/d",
|
|
15095
|
-
"NTU",
|
|
15088
|
+
"[NTU]",
|
|
15089
|
+
"[FNU]",
|
|
15096
15090
|
"m3/min",
|
|
15097
|
-
"km/h"
|
|
15091
|
+
"km/h",
|
|
15092
|
+
"[lb_av]",
|
|
15093
|
+
"kg/kg",
|
|
15094
|
+
"ug/m3",
|
|
15095
|
+
"meq/L",
|
|
15096
|
+
"lm/m2",
|
|
15097
|
+
"mg",
|
|
15098
|
+
"umol/L/h",
|
|
15099
|
+
"g/cm3",
|
|
15100
|
+
"g/L",
|
|
15101
|
+
"wk",
|
|
15102
|
+
"[g]",
|
|
15103
|
+
"m/s2",
|
|
15104
|
+
"mol/g",
|
|
15105
|
+
"g/m2/d",
|
|
15106
|
+
"Gy",
|
|
15107
|
+
"RAD",
|
|
15108
|
+
"[sft_i]",
|
|
15109
|
+
"[cft_i]",
|
|
15110
|
+
"m3",
|
|
15111
|
+
"ug",
|
|
15112
|
+
"mm/a",
|
|
15113
|
+
"cm2",
|
|
15114
|
+
"erg/cm2/s",
|
|
15115
|
+
"g/m2",
|
|
15116
|
+
"L/s",
|
|
15117
|
+
"cm3/cm3",
|
|
15118
|
+
"[kn_i]",
|
|
15119
|
+
"m3/s",
|
|
15120
|
+
"[in_i]"
|
|
15098
15121
|
],
|
|
15099
15122
|
"title": "UnitEnum",
|
|
15100
15123
|
"type": "string"
|
|
@@ -15555,5 +15578,5 @@
|
|
|
15555
15578
|
},
|
|
15556
15579
|
"title": "NMDC",
|
|
15557
15580
|
"type": "object",
|
|
15558
|
-
"version": "11.
|
|
15581
|
+
"version": "11.12.0rc1"
|
|
15559
15582
|
}
|