nmdc-schema 11.11.1__py3-none-any.whl → 11.12.0__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/migration_recursion.py +2 -0
- nmdc_schema/migrators/cli/run_migrator.py +10 -14
- nmdc_schema/migrators/helpers.py +24 -0
- nmdc_schema/migrators/migrator_from_11_11_0_to_11_12_0.py +35 -0
- nmdc_schema/migrators/partials/migrator_from_11_11_0_to_11_12_0/__init__.py +28 -0
- nmdc_schema/migrators/partials/migrator_from_11_11_0_to_11_12_0/migrator_from_11_11_0_to_11_12_0_part_1.py +187 -0
- nmdc_schema/migrators/partials/migrator_from_11_11_0_to_11_12_0/migrator_from_11_11_0_to_11_12_0_part_2.py +113 -0
- nmdc_schema/nmdc-pydantic.py +901 -346
- nmdc_schema/nmdc.py +283 -50
- nmdc_schema/nmdc.schema.json +185 -17
- nmdc_schema/nmdc_materialized_patterns.json +1487 -244
- nmdc_schema/nmdc_materialized_patterns.schema.json +185 -17
- nmdc_schema/nmdc_materialized_patterns.yaml +1194 -210
- nmdc_schema/nmdc_schema_validation_plugin.py +103 -0
- {nmdc_schema-11.11.1.dist-info → nmdc_schema-11.12.0.dist-info}/METADATA +1 -1
- {nmdc_schema-11.11.1.dist-info → nmdc_schema-11.12.0.dist-info}/RECORD +19 -14
- {nmdc_schema-11.11.1.dist-info → nmdc_schema-11.12.0.dist-info}/WHEEL +1 -1
- {nmdc_schema-11.11.1.dist-info → nmdc_schema-11.12.0.dist-info}/entry_points.txt +8 -0
- {nmdc_schema-11.11.1.dist-info → nmdc_schema-11.12.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -2649,9 +2649,9 @@
|
|
|
2649
2649
|
]
|
|
2650
2650
|
},
|
|
2651
2651
|
"misc_param": {
|
|
2652
|
-
"description": "
|
|
2652
|
+
"description": "Structured miscellaneous property assertions for this Biosample. Use when a value cannot cleanly fit an existing, policy-governed slot.",
|
|
2653
2653
|
"items": {
|
|
2654
|
-
"$ref": "#/$defs/
|
|
2654
|
+
"$ref": "#/$defs/PropertyAssertion"
|
|
2655
2655
|
},
|
|
2656
2656
|
"type": [
|
|
2657
2657
|
"array",
|
|
@@ -8540,7 +8540,7 @@
|
|
|
8540
8540
|
},
|
|
8541
8541
|
"Instrument": {
|
|
8542
8542
|
"additionalProperties": false,
|
|
8543
|
-
"description": "A material entity that is designed to perform a function in a scientific investigation, but is not a reagent.",
|
|
8543
|
+
"description": "A material entity that is designed to perform a function in a scientific investigation, but is not a reagent. This class models the make and model of the instrument, not the specific instance of the instrument.",
|
|
8544
8544
|
"properties": {
|
|
8545
8545
|
"alternative_identifiers": {
|
|
8546
8546
|
"description": "A list of alternative identifiers for the entity.",
|
|
@@ -13202,10 +13202,113 @@
|
|
|
13202
13202
|
"title": "ProfilePositionEnum",
|
|
13203
13203
|
"type": "string"
|
|
13204
13204
|
},
|
|
13205
|
+
"PropertyAssertion": {
|
|
13206
|
+
"additionalProperties": false,
|
|
13207
|
+
"description": "A structured record of data that doesn't fit nicely within the constraints of other NMDC AttributeValues. Uses primitive ranges only.",
|
|
13208
|
+
"properties": {
|
|
13209
|
+
"has_attribute_id": {
|
|
13210
|
+
"description": "CURIE or IRI for the property (MIxS slot, NMDC slot, ENVO/OBI term, etc.).",
|
|
13211
|
+
"type": [
|
|
13212
|
+
"string",
|
|
13213
|
+
"null"
|
|
13214
|
+
]
|
|
13215
|
+
},
|
|
13216
|
+
"has_attribute_label": {
|
|
13217
|
+
"description": "Human-readable label for the property (e.g., MIxS label, ENVO term label).",
|
|
13218
|
+
"type": [
|
|
13219
|
+
"string",
|
|
13220
|
+
"null"
|
|
13221
|
+
]
|
|
13222
|
+
},
|
|
13223
|
+
"has_boolean_value": {
|
|
13224
|
+
"description": "Links a quantity value to a boolean",
|
|
13225
|
+
"type": [
|
|
13226
|
+
"boolean",
|
|
13227
|
+
"null"
|
|
13228
|
+
]
|
|
13229
|
+
},
|
|
13230
|
+
"has_datetime_value": {
|
|
13231
|
+
"description": "Date-time value for the property in ISO-8601 format.",
|
|
13232
|
+
"type": [
|
|
13233
|
+
"string",
|
|
13234
|
+
"null"
|
|
13235
|
+
]
|
|
13236
|
+
},
|
|
13237
|
+
"has_maximum_numeric_value": {
|
|
13238
|
+
"description": "The maximum value part, expressed as number, of the quantity value when the value covers a range.",
|
|
13239
|
+
"type": [
|
|
13240
|
+
"number",
|
|
13241
|
+
"null"
|
|
13242
|
+
]
|
|
13243
|
+
},
|
|
13244
|
+
"has_minimum_numeric_value": {
|
|
13245
|
+
"description": "The minimum value part, expressed as number, of the quantity value when the value covers a range.",
|
|
13246
|
+
"type": [
|
|
13247
|
+
"number",
|
|
13248
|
+
"null"
|
|
13249
|
+
]
|
|
13250
|
+
},
|
|
13251
|
+
"has_numeric_value": {
|
|
13252
|
+
"description": "Links a quantity value to a number",
|
|
13253
|
+
"type": [
|
|
13254
|
+
"number",
|
|
13255
|
+
"null"
|
|
13256
|
+
]
|
|
13257
|
+
},
|
|
13258
|
+
"has_quantity_kind_id": {
|
|
13259
|
+
"description": "Optional CURIE or IRI for the physical quantity kind (e.g., qudt:QuantityKind).",
|
|
13260
|
+
"type": [
|
|
13261
|
+
"string",
|
|
13262
|
+
"null"
|
|
13263
|
+
]
|
|
13264
|
+
},
|
|
13265
|
+
"has_raw_value": {
|
|
13266
|
+
"description": "Original contributor string representation (unparsed)",
|
|
13267
|
+
"type": "string"
|
|
13268
|
+
},
|
|
13269
|
+
"has_unit": {
|
|
13270
|
+
"description": "UCUM unit code (required only when numeric value is present)",
|
|
13271
|
+
"type": [
|
|
13272
|
+
"string",
|
|
13273
|
+
"null"
|
|
13274
|
+
]
|
|
13275
|
+
},
|
|
13276
|
+
"has_value_term_id": {
|
|
13277
|
+
"description": "CURIE or IRI for categorical values (ENVO, PATO, METPO, etc.).",
|
|
13278
|
+
"type": [
|
|
13279
|
+
"string",
|
|
13280
|
+
"null"
|
|
13281
|
+
]
|
|
13282
|
+
},
|
|
13283
|
+
"type": {
|
|
13284
|
+
"description": "the class_uri of the class that has been instantiated",
|
|
13285
|
+
"enum": [
|
|
13286
|
+
"nmdc:PropertyAssertion"
|
|
13287
|
+
],
|
|
13288
|
+
"type": "string"
|
|
13289
|
+
}
|
|
13290
|
+
},
|
|
13291
|
+
"required": [
|
|
13292
|
+
"has_raw_value",
|
|
13293
|
+
"type"
|
|
13294
|
+
],
|
|
13295
|
+
"title": "PropertyAssertion",
|
|
13296
|
+
"type": "object"
|
|
13297
|
+
},
|
|
13205
13298
|
"Protocol": {
|
|
13206
13299
|
"additionalProperties": false,
|
|
13207
13300
|
"description": "",
|
|
13208
13301
|
"properties": {
|
|
13302
|
+
"analysis_type": {
|
|
13303
|
+
"description": "Select all the data types associated or available for this biosample",
|
|
13304
|
+
"items": {
|
|
13305
|
+
"$ref": "#/$defs/AnalysisTypeEnum"
|
|
13306
|
+
},
|
|
13307
|
+
"type": [
|
|
13308
|
+
"array",
|
|
13309
|
+
"null"
|
|
13310
|
+
]
|
|
13311
|
+
},
|
|
13209
13312
|
"description": {
|
|
13210
13313
|
"description": "a human-readable description of a thing",
|
|
13211
13314
|
"type": [
|
|
@@ -13220,6 +13323,10 @@
|
|
|
13220
13323
|
"null"
|
|
13221
13324
|
]
|
|
13222
13325
|
},
|
|
13326
|
+
"protocol_for": {
|
|
13327
|
+
"$ref": "#/$defs/ProtocolForEnum",
|
|
13328
|
+
"description": "The type of planned process that the protocol describes."
|
|
13329
|
+
},
|
|
13223
13330
|
"type": {
|
|
13224
13331
|
"description": "the class_uri of the class that has been instantiated",
|
|
13225
13332
|
"enum": [
|
|
@@ -13258,6 +13365,43 @@
|
|
|
13258
13365
|
"title": "ProtocolCategoryEnum",
|
|
13259
13366
|
"type": "string"
|
|
13260
13367
|
},
|
|
13368
|
+
"ProtocolForEnum": {
|
|
13369
|
+
"description": "The permitted values for describing the type of planned process that a protocol describes.",
|
|
13370
|
+
"enum": [
|
|
13371
|
+
"AnnotatingWorkflow",
|
|
13372
|
+
"ChemicalConversionProcess",
|
|
13373
|
+
"ChromatographicSeparationProcess",
|
|
13374
|
+
"CollectingBiosamplesFromSite",
|
|
13375
|
+
"DataEmitterProcess",
|
|
13376
|
+
"DataGeneration",
|
|
13377
|
+
"DissolvingProcess",
|
|
13378
|
+
"Extraction",
|
|
13379
|
+
"FiltrationProcess",
|
|
13380
|
+
"LibraryPreparation",
|
|
13381
|
+
"MagsAnalysis",
|
|
13382
|
+
"MassSpectrometry",
|
|
13383
|
+
"MaterialProcessing",
|
|
13384
|
+
"MetabolomicsAnalysis",
|
|
13385
|
+
"MetagenomeAnnotation",
|
|
13386
|
+
"MetagenomeAssembly",
|
|
13387
|
+
"MetaproteomicsAnalysis",
|
|
13388
|
+
"MetatranscriptomeAnnotation",
|
|
13389
|
+
"MetatranscriptomeAssembly",
|
|
13390
|
+
"MetatranscriptomeExpressionAnalysis",
|
|
13391
|
+
"MixingProcess",
|
|
13392
|
+
"NomAnalysis",
|
|
13393
|
+
"NucleotideSequencing",
|
|
13394
|
+
"PlannedProcess",
|
|
13395
|
+
"Pooling",
|
|
13396
|
+
"ReadBasedTaxonomyAnalysis",
|
|
13397
|
+
"ReadQcAnalysis",
|
|
13398
|
+
"StorageProcess",
|
|
13399
|
+
"SubSamplingProcess",
|
|
13400
|
+
"WorkflowExecution"
|
|
13401
|
+
],
|
|
13402
|
+
"title": "ProtocolForEnum",
|
|
13403
|
+
"type": "string"
|
|
13404
|
+
},
|
|
13261
13405
|
"QuadPosEnum": {
|
|
13262
13406
|
"description": "",
|
|
13263
13407
|
"enum": [
|
|
@@ -15074,6 +15218,7 @@
|
|
|
15074
15218
|
"J/K",
|
|
15075
15219
|
"Cel",
|
|
15076
15220
|
"cm",
|
|
15221
|
+
"cP",
|
|
15077
15222
|
"d",
|
|
15078
15223
|
"g",
|
|
15079
15224
|
"h",
|
|
@@ -15107,15 +15252,14 @@
|
|
|
15107
15252
|
"g/m3",
|
|
15108
15253
|
"m2",
|
|
15109
15254
|
"atm",
|
|
15255
|
+
"V",
|
|
15110
15256
|
"mV",
|
|
15111
|
-
"PSU",
|
|
15112
15257
|
"L",
|
|
15113
15258
|
"um",
|
|
15114
|
-
"y",
|
|
15115
15259
|
"1",
|
|
15116
15260
|
"uL/kg",
|
|
15117
15261
|
"kg",
|
|
15118
|
-
"
|
|
15262
|
+
"[ppth]",
|
|
15119
15263
|
"g/g",
|
|
15120
15264
|
"lx",
|
|
15121
15265
|
"mg/m3/d",
|
|
@@ -15154,6 +15298,7 @@
|
|
|
15154
15298
|
"rad",
|
|
15155
15299
|
"sr",
|
|
15156
15300
|
"Hz",
|
|
15301
|
+
"1/d",
|
|
15157
15302
|
"kHz",
|
|
15158
15303
|
"MHz",
|
|
15159
15304
|
"GHz",
|
|
@@ -15164,23 +15309,46 @@
|
|
|
15164
15309
|
"MJ",
|
|
15165
15310
|
"W",
|
|
15166
15311
|
"kW",
|
|
15167
|
-
"API",
|
|
15168
15312
|
"mbar",
|
|
15169
|
-
"ratio",
|
|
15170
|
-
"J/Cel",
|
|
15171
|
-
"uE/m2/s",
|
|
15172
15313
|
"kW/m2",
|
|
15173
|
-
"people",
|
|
15174
|
-
"pets",
|
|
15175
|
-
"plants",
|
|
15176
15314
|
"umol/s/m2",
|
|
15177
15315
|
"m3/d",
|
|
15178
15316
|
"L/h",
|
|
15179
|
-
"pH",
|
|
15317
|
+
"[pH]",
|
|
15180
15318
|
"kW/m2/d",
|
|
15181
|
-
"NTU",
|
|
15319
|
+
"[NTU]",
|
|
15320
|
+
"[FNU]",
|
|
15182
15321
|
"m3/min",
|
|
15183
|
-
"km/h"
|
|
15322
|
+
"km/h",
|
|
15323
|
+
"[lb_av]",
|
|
15324
|
+
"kg/kg",
|
|
15325
|
+
"ug/m3",
|
|
15326
|
+
"meq/L",
|
|
15327
|
+
"lm/m2",
|
|
15328
|
+
"mg",
|
|
15329
|
+
"umol/L/h",
|
|
15330
|
+
"g/cm3",
|
|
15331
|
+
"g/L",
|
|
15332
|
+
"wk",
|
|
15333
|
+
"[g]",
|
|
15334
|
+
"m/s2",
|
|
15335
|
+
"mol/g",
|
|
15336
|
+
"g/m2/d",
|
|
15337
|
+
"Gy",
|
|
15338
|
+
"RAD",
|
|
15339
|
+
"[sft_i]",
|
|
15340
|
+
"[cft_i]",
|
|
15341
|
+
"m3",
|
|
15342
|
+
"ug",
|
|
15343
|
+
"mm/a",
|
|
15344
|
+
"cm2",
|
|
15345
|
+
"erg/cm2/s",
|
|
15346
|
+
"g/m2",
|
|
15347
|
+
"L/s",
|
|
15348
|
+
"cm3/cm3",
|
|
15349
|
+
"[kn_i]",
|
|
15350
|
+
"m3/s",
|
|
15351
|
+
"[in_i]"
|
|
15184
15352
|
],
|
|
15185
15353
|
"title": "UnitEnum",
|
|
15186
15354
|
"type": "string"
|
|
@@ -15641,5 +15809,5 @@
|
|
|
15641
15809
|
},
|
|
15642
15810
|
"title": "NMDC",
|
|
15643
15811
|
"type": "object",
|
|
15644
|
-
"version": "11.
|
|
15812
|
+
"version": "11.12.0"
|
|
15645
15813
|
}
|