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
nmdc_schema/nmdc.schema.json
CHANGED
|
@@ -2647,9 +2647,9 @@
|
|
|
2647
2647
|
]
|
|
2648
2648
|
},
|
|
2649
2649
|
"misc_param": {
|
|
2650
|
-
"description": "
|
|
2650
|
+
"description": "Structured miscellaneous property assertions for this Biosample. Use when a value cannot cleanly fit an existing, policy-governed slot.",
|
|
2651
2651
|
"items": {
|
|
2652
|
-
"$ref": "#/$defs/
|
|
2652
|
+
"$ref": "#/$defs/PropertyAssertion"
|
|
2653
2653
|
},
|
|
2654
2654
|
"type": [
|
|
2655
2655
|
"array",
|
|
@@ -8515,7 +8515,7 @@
|
|
|
8515
8515
|
},
|
|
8516
8516
|
"Instrument": {
|
|
8517
8517
|
"additionalProperties": false,
|
|
8518
|
-
"description": "A material entity that is designed to perform a function in a scientific investigation, but is not a reagent.",
|
|
8518
|
+
"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.",
|
|
8519
8519
|
"properties": {
|
|
8520
8520
|
"alternative_identifiers": {
|
|
8521
8521
|
"description": "A list of alternative identifiers for the entity.",
|
|
@@ -13128,10 +13128,113 @@
|
|
|
13128
13128
|
"title": "ProfilePositionEnum",
|
|
13129
13129
|
"type": "string"
|
|
13130
13130
|
},
|
|
13131
|
+
"PropertyAssertion": {
|
|
13132
|
+
"additionalProperties": false,
|
|
13133
|
+
"description": "A structured record of data that doesn't fit nicely within the constraints of other NMDC AttributeValues. Uses primitive ranges only.",
|
|
13134
|
+
"properties": {
|
|
13135
|
+
"has_attribute_id": {
|
|
13136
|
+
"description": "CURIE or IRI for the property (MIxS slot, NMDC slot, ENVO/OBI term, etc.).",
|
|
13137
|
+
"type": [
|
|
13138
|
+
"string",
|
|
13139
|
+
"null"
|
|
13140
|
+
]
|
|
13141
|
+
},
|
|
13142
|
+
"has_attribute_label": {
|
|
13143
|
+
"description": "Human-readable label for the property (e.g., MIxS label, ENVO term label).",
|
|
13144
|
+
"type": [
|
|
13145
|
+
"string",
|
|
13146
|
+
"null"
|
|
13147
|
+
]
|
|
13148
|
+
},
|
|
13149
|
+
"has_boolean_value": {
|
|
13150
|
+
"description": "Links a quantity value to a boolean",
|
|
13151
|
+
"type": [
|
|
13152
|
+
"boolean",
|
|
13153
|
+
"null"
|
|
13154
|
+
]
|
|
13155
|
+
},
|
|
13156
|
+
"has_datetime_value": {
|
|
13157
|
+
"description": "Date-time value for the property in ISO-8601 format.",
|
|
13158
|
+
"type": [
|
|
13159
|
+
"string",
|
|
13160
|
+
"null"
|
|
13161
|
+
]
|
|
13162
|
+
},
|
|
13163
|
+
"has_maximum_numeric_value": {
|
|
13164
|
+
"description": "The maximum value part, expressed as number, of the quantity value when the value covers a range.",
|
|
13165
|
+
"type": [
|
|
13166
|
+
"number",
|
|
13167
|
+
"null"
|
|
13168
|
+
]
|
|
13169
|
+
},
|
|
13170
|
+
"has_minimum_numeric_value": {
|
|
13171
|
+
"description": "The minimum value part, expressed as number, of the quantity value when the value covers a range.",
|
|
13172
|
+
"type": [
|
|
13173
|
+
"number",
|
|
13174
|
+
"null"
|
|
13175
|
+
]
|
|
13176
|
+
},
|
|
13177
|
+
"has_numeric_value": {
|
|
13178
|
+
"description": "Links a quantity value to a number",
|
|
13179
|
+
"type": [
|
|
13180
|
+
"number",
|
|
13181
|
+
"null"
|
|
13182
|
+
]
|
|
13183
|
+
},
|
|
13184
|
+
"has_quantity_kind_id": {
|
|
13185
|
+
"description": "Optional CURIE or IRI for the physical quantity kind (e.g., qudt:QuantityKind).",
|
|
13186
|
+
"type": [
|
|
13187
|
+
"string",
|
|
13188
|
+
"null"
|
|
13189
|
+
]
|
|
13190
|
+
},
|
|
13191
|
+
"has_raw_value": {
|
|
13192
|
+
"description": "Original contributor string representation (unparsed)",
|
|
13193
|
+
"type": "string"
|
|
13194
|
+
},
|
|
13195
|
+
"has_unit": {
|
|
13196
|
+
"description": "UCUM unit code (required only when numeric value is present)",
|
|
13197
|
+
"type": [
|
|
13198
|
+
"string",
|
|
13199
|
+
"null"
|
|
13200
|
+
]
|
|
13201
|
+
},
|
|
13202
|
+
"has_value_term_id": {
|
|
13203
|
+
"description": "CURIE or IRI for categorical values (ENVO, PATO, METPO, etc.).",
|
|
13204
|
+
"type": [
|
|
13205
|
+
"string",
|
|
13206
|
+
"null"
|
|
13207
|
+
]
|
|
13208
|
+
},
|
|
13209
|
+
"type": {
|
|
13210
|
+
"description": "the class_uri of the class that has been instantiated",
|
|
13211
|
+
"enum": [
|
|
13212
|
+
"nmdc:PropertyAssertion"
|
|
13213
|
+
],
|
|
13214
|
+
"type": "string"
|
|
13215
|
+
}
|
|
13216
|
+
},
|
|
13217
|
+
"required": [
|
|
13218
|
+
"has_raw_value",
|
|
13219
|
+
"type"
|
|
13220
|
+
],
|
|
13221
|
+
"title": "PropertyAssertion",
|
|
13222
|
+
"type": "object"
|
|
13223
|
+
},
|
|
13131
13224
|
"Protocol": {
|
|
13132
13225
|
"additionalProperties": false,
|
|
13133
13226
|
"description": "",
|
|
13134
13227
|
"properties": {
|
|
13228
|
+
"analysis_type": {
|
|
13229
|
+
"description": "Select all the data types associated or available for this biosample",
|
|
13230
|
+
"items": {
|
|
13231
|
+
"$ref": "#/$defs/AnalysisTypeEnum"
|
|
13232
|
+
},
|
|
13233
|
+
"type": [
|
|
13234
|
+
"array",
|
|
13235
|
+
"null"
|
|
13236
|
+
]
|
|
13237
|
+
},
|
|
13135
13238
|
"description": {
|
|
13136
13239
|
"description": "a human-readable description of a thing",
|
|
13137
13240
|
"type": [
|
|
@@ -13146,6 +13249,10 @@
|
|
|
13146
13249
|
"null"
|
|
13147
13250
|
]
|
|
13148
13251
|
},
|
|
13252
|
+
"protocol_for": {
|
|
13253
|
+
"$ref": "#/$defs/ProtocolForEnum",
|
|
13254
|
+
"description": "The type of planned process that the protocol describes."
|
|
13255
|
+
},
|
|
13149
13256
|
"type": {
|
|
13150
13257
|
"description": "the class_uri of the class that has been instantiated",
|
|
13151
13258
|
"enum": [
|
|
@@ -13184,6 +13291,43 @@
|
|
|
13184
13291
|
"title": "ProtocolCategoryEnum",
|
|
13185
13292
|
"type": "string"
|
|
13186
13293
|
},
|
|
13294
|
+
"ProtocolForEnum": {
|
|
13295
|
+
"description": "The permitted values for describing the type of planned process that a protocol describes.",
|
|
13296
|
+
"enum": [
|
|
13297
|
+
"AnnotatingWorkflow",
|
|
13298
|
+
"ChemicalConversionProcess",
|
|
13299
|
+
"ChromatographicSeparationProcess",
|
|
13300
|
+
"CollectingBiosamplesFromSite",
|
|
13301
|
+
"DataEmitterProcess",
|
|
13302
|
+
"DataGeneration",
|
|
13303
|
+
"DissolvingProcess",
|
|
13304
|
+
"Extraction",
|
|
13305
|
+
"FiltrationProcess",
|
|
13306
|
+
"LibraryPreparation",
|
|
13307
|
+
"MagsAnalysis",
|
|
13308
|
+
"MassSpectrometry",
|
|
13309
|
+
"MaterialProcessing",
|
|
13310
|
+
"MetabolomicsAnalysis",
|
|
13311
|
+
"MetagenomeAnnotation",
|
|
13312
|
+
"MetagenomeAssembly",
|
|
13313
|
+
"MetaproteomicsAnalysis",
|
|
13314
|
+
"MetatranscriptomeAnnotation",
|
|
13315
|
+
"MetatranscriptomeAssembly",
|
|
13316
|
+
"MetatranscriptomeExpressionAnalysis",
|
|
13317
|
+
"MixingProcess",
|
|
13318
|
+
"NomAnalysis",
|
|
13319
|
+
"NucleotideSequencing",
|
|
13320
|
+
"PlannedProcess",
|
|
13321
|
+
"Pooling",
|
|
13322
|
+
"ReadBasedTaxonomyAnalysis",
|
|
13323
|
+
"ReadQcAnalysis",
|
|
13324
|
+
"StorageProcess",
|
|
13325
|
+
"SubSamplingProcess",
|
|
13326
|
+
"WorkflowExecution"
|
|
13327
|
+
],
|
|
13328
|
+
"title": "ProtocolForEnum",
|
|
13329
|
+
"type": "string"
|
|
13330
|
+
},
|
|
13187
13331
|
"QuadPosEnum": {
|
|
13188
13332
|
"description": "",
|
|
13189
13333
|
"enum": [
|
|
@@ -14988,6 +15132,7 @@
|
|
|
14988
15132
|
"J/K",
|
|
14989
15133
|
"Cel",
|
|
14990
15134
|
"cm",
|
|
15135
|
+
"cP",
|
|
14991
15136
|
"d",
|
|
14992
15137
|
"g",
|
|
14993
15138
|
"h",
|
|
@@ -15021,15 +15166,14 @@
|
|
|
15021
15166
|
"g/m3",
|
|
15022
15167
|
"m2",
|
|
15023
15168
|
"atm",
|
|
15169
|
+
"V",
|
|
15024
15170
|
"mV",
|
|
15025
|
-
"PSU",
|
|
15026
15171
|
"L",
|
|
15027
15172
|
"um",
|
|
15028
|
-
"y",
|
|
15029
15173
|
"1",
|
|
15030
15174
|
"uL/kg",
|
|
15031
15175
|
"kg",
|
|
15032
|
-
"
|
|
15176
|
+
"[ppth]",
|
|
15033
15177
|
"g/g",
|
|
15034
15178
|
"lx",
|
|
15035
15179
|
"mg/m3/d",
|
|
@@ -15068,6 +15212,7 @@
|
|
|
15068
15212
|
"rad",
|
|
15069
15213
|
"sr",
|
|
15070
15214
|
"Hz",
|
|
15215
|
+
"1/d",
|
|
15071
15216
|
"kHz",
|
|
15072
15217
|
"MHz",
|
|
15073
15218
|
"GHz",
|
|
@@ -15078,23 +15223,46 @@
|
|
|
15078
15223
|
"MJ",
|
|
15079
15224
|
"W",
|
|
15080
15225
|
"kW",
|
|
15081
|
-
"API",
|
|
15082
15226
|
"mbar",
|
|
15083
|
-
"ratio",
|
|
15084
|
-
"J/Cel",
|
|
15085
|
-
"uE/m2/s",
|
|
15086
15227
|
"kW/m2",
|
|
15087
|
-
"people",
|
|
15088
|
-
"pets",
|
|
15089
|
-
"plants",
|
|
15090
15228
|
"umol/s/m2",
|
|
15091
15229
|
"m3/d",
|
|
15092
15230
|
"L/h",
|
|
15093
|
-
"pH",
|
|
15231
|
+
"[pH]",
|
|
15094
15232
|
"kW/m2/d",
|
|
15095
|
-
"NTU",
|
|
15233
|
+
"[NTU]",
|
|
15234
|
+
"[FNU]",
|
|
15096
15235
|
"m3/min",
|
|
15097
|
-
"km/h"
|
|
15236
|
+
"km/h",
|
|
15237
|
+
"[lb_av]",
|
|
15238
|
+
"kg/kg",
|
|
15239
|
+
"ug/m3",
|
|
15240
|
+
"meq/L",
|
|
15241
|
+
"lm/m2",
|
|
15242
|
+
"mg",
|
|
15243
|
+
"umol/L/h",
|
|
15244
|
+
"g/cm3",
|
|
15245
|
+
"g/L",
|
|
15246
|
+
"wk",
|
|
15247
|
+
"[g]",
|
|
15248
|
+
"m/s2",
|
|
15249
|
+
"mol/g",
|
|
15250
|
+
"g/m2/d",
|
|
15251
|
+
"Gy",
|
|
15252
|
+
"RAD",
|
|
15253
|
+
"[sft_i]",
|
|
15254
|
+
"[cft_i]",
|
|
15255
|
+
"m3",
|
|
15256
|
+
"ug",
|
|
15257
|
+
"mm/a",
|
|
15258
|
+
"cm2",
|
|
15259
|
+
"erg/cm2/s",
|
|
15260
|
+
"g/m2",
|
|
15261
|
+
"L/s",
|
|
15262
|
+
"cm3/cm3",
|
|
15263
|
+
"[kn_i]",
|
|
15264
|
+
"m3/s",
|
|
15265
|
+
"[in_i]"
|
|
15098
15266
|
],
|
|
15099
15267
|
"title": "UnitEnum",
|
|
15100
15268
|
"type": "string"
|
|
@@ -15555,5 +15723,5 @@
|
|
|
15555
15723
|
},
|
|
15556
15724
|
"title": "NMDC",
|
|
15557
15725
|
"type": "object",
|
|
15558
|
-
"version": "11.
|
|
15726
|
+
"version": "11.12.0"
|
|
15559
15727
|
}
|