Skip to content

Commit 0c05511

Browse files
clevinsonclaude
andcommitted
add VariableType enum and variable_type slot
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 50d3904 commit 0c05511

5 files changed

Lines changed: 335 additions & 2 deletions

File tree

project/jsonschema/oae_data_protocol.schema.json

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,18 @@
454454
"description": "Unit of measurement for this variable.",
455455
"title": "Unit",
456456
"type": "string"
457+
},
458+
"variable_type": {
459+
"$ref": "#/$defs/VariableType",
460+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
461+
"title": "Variable Type"
457462
}
458463
},
459464
"required": [
460465
"genesis",
461466
"calculation_method_and_parameters",
462467
"units",
468+
"variable_type",
463469
"dataset_variable_name",
464470
"long_name"
465471
],
@@ -709,6 +715,11 @@
709715
"description": "Unit of measurement for this variable.",
710716
"title": "Unit",
711717
"type": "string"
718+
},
719+
"variable_type": {
720+
"$ref": "#/$defs/VariableType",
721+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
722+
"title": "Variable Type"
712723
}
713724
},
714725
"required": [
@@ -726,6 +737,7 @@
726737
"uncertainty_definition",
727738
"missing_value_indicators",
728739
"units",
740+
"variable_type",
729741
"dataset_variable_name",
730742
"long_name"
731743
],
@@ -863,6 +875,11 @@
863875
"description": "Unit of measurement for this variable.",
864876
"title": "Unit",
865877
"type": "string"
878+
},
879+
"variable_type": {
880+
"$ref": "#/$defs/VariableType",
881+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
882+
"title": "Variable Type"
866883
}
867884
},
868885
"required": [
@@ -879,6 +896,7 @@
879896
"uncertainty_definition",
880897
"missing_value_indicators",
881898
"units",
899+
"variable_type",
882900
"dataset_variable_name",
883901
"long_name"
884902
],
@@ -1021,6 +1039,11 @@
10211039
"description": "Unit of measurement for this variable.",
10221040
"title": "Unit",
10231041
"type": "string"
1042+
},
1043+
"variable_type": {
1044+
"$ref": "#/$defs/VariableType",
1045+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
1046+
"title": "Variable Type"
10241047
}
10251048
},
10261049
"required": [
@@ -1037,6 +1060,7 @@
10371060
"uncertainty_definition",
10381061
"missing_value_indicators",
10391062
"units",
1063+
"variable_type",
10401064
"dataset_variable_name",
10411065
"long_name"
10421066
],
@@ -1194,6 +1218,11 @@
11941218
"description": "Unit of measurement for this variable.",
11951219
"title": "Unit",
11961220
"type": "string"
1221+
},
1222+
"variable_type": {
1223+
"$ref": "#/$defs/VariableType",
1224+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
1225+
"title": "Variable Type"
11971226
}
11981227
},
11991228
"required": [
@@ -1214,6 +1243,7 @@
12141243
"uncertainty_definition",
12151244
"missing_value_indicators",
12161245
"units",
1246+
"variable_type",
12171247
"dataset_variable_name",
12181248
"long_name"
12191249
],
@@ -1361,6 +1391,11 @@
13611391
"description": "Unit of measurement for this variable.",
13621392
"title": "Unit",
13631393
"type": "string"
1394+
},
1395+
"variable_type": {
1396+
"$ref": "#/$defs/VariableType",
1397+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
1398+
"title": "Variable Type"
13641399
}
13651400
},
13661401
"required": [
@@ -1378,6 +1413,7 @@
13781413
"uncertainty_definition",
13791414
"missing_value_indicators",
13801415
"units",
1416+
"variable_type",
13811417
"dataset_variable_name",
13821418
"long_name"
13831419
],
@@ -1652,6 +1688,11 @@
16521688
"title": "Unit",
16531689
"type": "string"
16541690
},
1691+
"variable_type": {
1692+
"$ref": "#/$defs/VariableType",
1693+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
1694+
"title": "Variable Type"
1695+
},
16551696
"water_vapor_correction_method": {
16561697
"description": "How the water vapor pressure inside the equilibrator was determined.",
16571698
"title": "Water vapor correction method",
@@ -1674,6 +1715,7 @@
16741715
"uncertainty_definition",
16751716
"missing_value_indicators",
16761717
"units",
1718+
"variable_type",
16771719
"dataset_variable_name",
16781720
"long_name"
16791721
],
@@ -1821,6 +1863,11 @@
18211863
"description": "Unit of measurement for this variable.",
18221864
"title": "Unit",
18231865
"type": "string"
1866+
},
1867+
"variable_type": {
1868+
"$ref": "#/$defs/VariableType",
1869+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
1870+
"title": "Variable Type"
18241871
}
18251872
},
18261873
"required": [
@@ -1839,6 +1886,7 @@
18391886
"uncertainty_definition",
18401887
"missing_value_indicators",
18411888
"units",
1889+
"variable_type",
18421890
"dataset_variable_name",
18431891
"long_name"
18441892
],
@@ -1966,6 +2014,11 @@
19662014
"description": "Unit of measurement for this variable.",
19672015
"title": "Unit",
19682016
"type": "string"
2017+
},
2018+
"variable_type": {
2019+
"$ref": "#/$defs/VariableType",
2020+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
2021+
"title": "Variable Type"
19692022
}
19702023
},
19712024
"required": [
@@ -1981,6 +2034,7 @@
19812034
"uncertainty_definition",
19822035
"missing_value_indicators",
19832036
"units",
2037+
"variable_type",
19842038
"dataset_variable_name",
19852039
"long_name"
19862040
],
@@ -2128,6 +2182,11 @@
21282182
"description": "Unit of measurement for this variable.",
21292183
"title": "Unit",
21302184
"type": "string"
2185+
},
2186+
"variable_type": {
2187+
"$ref": "#/$defs/VariableType",
2188+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
2189+
"title": "Variable Type"
21312190
}
21322191
},
21332192
"required": [
@@ -2145,6 +2204,7 @@
21452204
"uncertainty_definition",
21462205
"missing_value_indicators",
21472206
"units",
2207+
"variable_type",
21482208
"dataset_variable_name",
21492209
"long_name"
21502210
],
@@ -2292,6 +2352,11 @@
22922352
"description": "Unit of measurement for this variable.",
22932353
"title": "Unit",
22942354
"type": "string"
2355+
},
2356+
"variable_type": {
2357+
"$ref": "#/$defs/VariableType",
2358+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
2359+
"title": "Variable Type"
22952360
}
22962361
},
22972362
"required": [
@@ -2311,6 +2376,7 @@
23112376
"uncertainty_definition",
23122377
"missing_value_indicators",
23132378
"units",
2379+
"variable_type",
23142380
"dataset_variable_name",
23152381
"long_name"
23162382
],
@@ -2473,6 +2539,11 @@
24732539
"description": "Unit of measurement for this variable.",
24742540
"title": "Unit",
24752541
"type": "string"
2542+
},
2543+
"variable_type": {
2544+
"$ref": "#/$defs/VariableType",
2545+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
2546+
"title": "Variable Type"
24762547
}
24772548
},
24782549
"required": [
@@ -2492,6 +2563,7 @@
24922563
"uncertainty_definition",
24932564
"missing_value_indicators",
24942565
"units",
2566+
"variable_type",
24952567
"dataset_variable_name",
24962568
"long_name"
24972569
],
@@ -3074,6 +3146,11 @@
30743146
"description": "Unit of measurement for this variable.",
30753147
"title": "Unit",
30763148
"type": "string"
3149+
},
3150+
"variable_type": {
3151+
"$ref": "#/$defs/VariableType",
3152+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
3153+
"title": "Variable Type"
30773154
}
30783155
},
30793156
"required": [
@@ -3090,6 +3167,7 @@
30903167
"uncertainty_definition",
30913168
"missing_value_indicators",
30923169
"units",
3170+
"variable_type",
30933171
"dataset_variable_name",
30943172
"long_name"
30953173
],
@@ -4421,9 +4499,15 @@
44214499
"description": "Unit of measurement for this variable.",
44224500
"title": "Unit",
44234501
"type": "string"
4502+
},
4503+
"variable_type": {
4504+
"$ref": "#/$defs/VariableType",
4505+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
4506+
"title": "Variable Type"
44244507
}
44254508
},
44264509
"required": [
4510+
"variable_type",
44274511
"dataset_variable_name",
44284512
"long_name"
44294513
],
@@ -4566,6 +4650,11 @@
45664650
"description": "Unit of measurement for this variable.",
45674651
"title": "Unit",
45684652
"type": "string"
4653+
},
4654+
"variable_type": {
4655+
"$ref": "#/$defs/VariableType",
4656+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
4657+
"title": "Variable Type"
45694658
}
45704659
},
45714660
"required": [
@@ -4581,6 +4670,7 @@
45814670
"uncertainty_definition",
45824671
"missing_value_indicators",
45834672
"units",
4673+
"variable_type",
45844674
"dataset_variable_name",
45854675
"long_name"
45864676
],
@@ -5581,16 +5671,37 @@
55815671
"description": "Unit of measurement for this variable.",
55825672
"title": "Unit",
55835673
"type": "string"
5674+
},
5675+
"variable_type": {
5676+
"$ref": "#/$defs/VariableType",
5677+
"description": "High-level classification of the variable. Determines which standard identifiers are available and, combined with genesis and sampling, which schema class to use.",
5678+
"title": "Variable Type"
55845679
}
55855680
},
55865681
"required": [
55875682
"units",
5683+
"variable_type",
55885684
"dataset_variable_name",
55895685
"long_name"
55905686
],
55915687
"title": "Variable",
55925688
"type": "object"
55935689
},
5690+
"VariableType": {
5691+
"description": "High-level classification of the variable",
5692+
"enum": [
5693+
"pH",
5694+
"ta",
5695+
"dic",
5696+
"co2",
5697+
"sediment",
5698+
"hplc",
5699+
"other",
5700+
"non_measured"
5701+
],
5702+
"title": "VariableType",
5703+
"type": "string"
5704+
},
55945705
"VerticalExtent": {
55955706
"additionalProperties": false,
55965707
"description": "The vertical extent of a place or structure in meters.",

0 commit comments

Comments
 (0)