@tiangong-lca/tidas-sdk 0.4.0 → 0.5.0

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.
Files changed (75) hide show
  1. package/dist/contracts/public-rules-assets/public-rules.source.v1.json +1 -1
  2. package/dist/core/entities/TidasFlow.js +1 -1
  3. package/dist/core/entities/TidasFlow.js.map +1 -1
  4. package/dist/core/validation/json-schema.d.ts +2 -0
  5. package/dist/core/validation/json-schema.d.ts.map +1 -1
  6. package/dist/core/validation/json-schema.js +10 -0
  7. package/dist/core/validation/json-schema.js.map +1 -1
  8. package/dist/data/bundled-methodologies.json +1167 -6
  9. package/dist/runtime-assets/tidas/methodologies/tidas_processes.yaml +950 -10
  10. package/dist/runtime-assets/tidas/schema.lock.json +61 -61
  11. package/dist/runtime-assets/tidas/schemas/tidas_contacts.json +110 -49
  12. package/dist/runtime-assets/tidas/schemas/tidas_flowproperties.json +78 -20
  13. package/dist/runtime-assets/tidas/schemas/tidas_flows.json +118 -91
  14. package/dist/runtime-assets/tidas/schemas/tidas_lciamethods.json +1388 -283
  15. package/dist/runtime-assets/tidas/schemas/tidas_lifecyclemodels.json +506 -185
  16. package/dist/runtime-assets/tidas/schemas/tidas_processes.json +338 -121
  17. package/dist/runtime-assets/tidas/schemas/tidas_sources.json +80 -22
  18. package/dist/runtime-assets/tidas/schemas/tidas_unitgroups.json +102 -29
  19. package/dist/runtime-assets/tidas/schemas_zh/tidas_contacts.json +110 -49
  20. package/dist/runtime-assets/tidas/schemas_zh/tidas_flowproperties.json +78 -20
  21. package/dist/runtime-assets/tidas/schemas_zh/tidas_flows.json +118 -91
  22. package/dist/runtime-assets/tidas/schemas_zh/tidas_lciamethods.json +1388 -283
  23. package/dist/runtime-assets/tidas/schemas_zh/tidas_lifecyclemodels.json +506 -185
  24. package/dist/runtime-assets/tidas/schemas_zh/tidas_processes.json +338 -121
  25. package/dist/runtime-assets/tidas/schemas_zh/tidas_sources.json +80 -22
  26. package/dist/runtime-assets/tidas/schemas_zh/tidas_unitgroups.json +102 -29
  27. package/dist/schemas/tidas_contacts.schema.d.ts +14 -2
  28. package/dist/schemas/tidas_contacts.schema.d.ts.map +1 -1
  29. package/dist/schemas/tidas_contacts.schema.js +33 -14
  30. package/dist/schemas/tidas_contacts.schema.js.map +1 -1
  31. package/dist/schemas/tidas_flowproperties.schema.d.ts +13 -2
  32. package/dist/schemas/tidas_flowproperties.schema.d.ts.map +1 -1
  33. package/dist/schemas/tidas_flowproperties.schema.js +26 -8
  34. package/dist/schemas/tidas_flowproperties.schema.js.map +1 -1
  35. package/dist/schemas/tidas_flows.schema.d.ts +10 -3
  36. package/dist/schemas/tidas_flows.schema.d.ts.map +1 -1
  37. package/dist/schemas/tidas_flows.schema.js +31 -37
  38. package/dist/schemas/tidas_flows.schema.js.map +1 -1
  39. package/dist/schemas/tidas_lciamethods.schema.d.ts +13698 -8203
  40. package/dist/schemas/tidas_lciamethods.schema.d.ts.map +1 -1
  41. package/dist/schemas/tidas_lciamethods.schema.js +639 -162
  42. package/dist/schemas/tidas_lciamethods.schema.js.map +1 -1
  43. package/dist/schemas/tidas_lifecyclemodels.schema.d.ts +1658 -25
  44. package/dist/schemas/tidas_lifecyclemodels.schema.d.ts.map +1 -1
  45. package/dist/schemas/tidas_lifecyclemodels.schema.js +204 -120
  46. package/dist/schemas/tidas_lifecyclemodels.schema.js.map +1 -1
  47. package/dist/schemas/tidas_processes.schema.d.ts +786 -12
  48. package/dist/schemas/tidas_processes.schema.d.ts.map +1 -1
  49. package/dist/schemas/tidas_processes.schema.js +197 -91
  50. package/dist/schemas/tidas_processes.schema.js.map +1 -1
  51. package/dist/schemas/tidas_sources.schema.d.ts +13 -2
  52. package/dist/schemas/tidas_sources.schema.d.ts.map +1 -1
  53. package/dist/schemas/tidas_sources.schema.js +26 -8
  54. package/dist/schemas/tidas_sources.schema.js.map +1 -1
  55. package/dist/schemas/tidas_unitgroups.schema.d.ts +22 -10
  56. package/dist/schemas/tidas_unitgroups.schema.d.ts.map +1 -1
  57. package/dist/schemas/tidas_unitgroups.schema.js +35 -20
  58. package/dist/schemas/tidas_unitgroups.schema.js.map +1 -1
  59. package/dist/types/tidas_contacts.d.ts +13 -1
  60. package/dist/types/tidas_contacts.d.ts.map +1 -1
  61. package/dist/types/tidas_flowproperties.d.ts +12 -1
  62. package/dist/types/tidas_flowproperties.d.ts.map +1 -1
  63. package/dist/types/tidas_flows.d.ts +26 -2
  64. package/dist/types/tidas_flows.d.ts.map +1 -1
  65. package/dist/types/tidas_lciamethods.d.ts +119 -16
  66. package/dist/types/tidas_lciamethods.d.ts.map +1 -1
  67. package/dist/types/tidas_lifecyclemodels.d.ts +43 -14
  68. package/dist/types/tidas_lifecyclemodels.d.ts.map +1 -1
  69. package/dist/types/tidas_processes.d.ts +26 -8
  70. package/dist/types/tidas_processes.d.ts.map +1 -1
  71. package/dist/types/tidas_sources.d.ts +12 -1
  72. package/dist/types/tidas_sources.d.ts.map +1 -1
  73. package/dist/types/tidas_unitgroups.d.ts +19 -7
  74. package/dist/types/tidas_unitgroups.d.ts.map +1 -1
  75. package/package.json +1 -1
@@ -323,7 +323,10 @@
323
323
  "groupName": {
324
324
  "$ref": "tidas_data_types.json#/$defs/StringMultiLang"
325
325
  }
326
- }
326
+ },
327
+ "required": [
328
+ "@id"
329
+ ]
327
330
  },
328
331
  {
329
332
  "type": "array",
@@ -337,7 +340,10 @@
337
340
  "groupName": {
338
341
  "$ref": "tidas_data_types.json#/$defs/StringMultiLang"
339
342
  }
340
- }
343
+ },
344
+ "required": [
345
+ "@id"
346
+ ]
341
347
  }
342
348
  }
343
349
  ]
@@ -369,10 +375,6 @@
369
375
  "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
370
376
  "description": "Reference to the process data set, including its version, that is included in the eILCD archive of the Life cycle model and/or accessible at a remote location, i.e. a URI or URL."
371
377
  },
372
- "scalingFactors": {
373
- "$ref": "tidas_data_types.json#/$defs/Real",
374
- "description": "A multiplicative scaling factor for the entire inventory of this process instance, used e.g. to scale the \"Reference process\" to the aimed-at amount of product (and thereby indirectly the entire inventory of the life cycle model). Note: Care is to be taken that models are not over- or under-specified - note that each process instance scaling is reducing the model's degree of freedom by one."
375
- },
376
378
  "groups": {
377
379
  "type": "object",
378
380
  "description": "Group(s) to which this process instance belongs.",
@@ -388,7 +390,10 @@
388
390
  "pattern": "^-?\\d+$",
389
391
  "description": "Data set internal ID of the group."
390
392
  }
391
- }
393
+ },
394
+ "required": [
395
+ "@groupId"
396
+ ]
392
397
  },
393
398
  {
394
399
  "type": "array",
@@ -400,7 +405,10 @@
400
405
  "pattern": "^-?\\d+$",
401
406
  "description": "Data set internal ID of the group."
402
407
  }
403
- }
408
+ },
409
+ "required": [
410
+ "@groupId"
411
+ ]
404
412
  }
405
413
  }
406
414
  ]
@@ -418,10 +426,35 @@
418
426
  "type": "object",
419
427
  "properties": {
420
428
  "@name": {
421
- "$ref": "tidas_data_types.json#/$defs/MatV",
422
- "description": "Name of free parameter"
429
+ "$ref": "tidas_data_types.json#/$defs/MatV"
430
+ },
431
+ "#text": {
432
+ "$ref": "tidas_data_types.json#/$defs/Real"
433
+ },
434
+ "parameter": {
435
+ "$ref": "tidas_data_types.json#/$defs/Real",
436
+ "$comment": "Legacy compatibility representation; prefer the canonical field documented in the specification."
423
437
  }
424
- }
438
+ },
439
+ "required": [
440
+ "@name"
441
+ ],
442
+ "allOf": [
443
+ {
444
+ "oneOf": [
445
+ {
446
+ "required": [
447
+ "#text"
448
+ ]
449
+ },
450
+ {
451
+ "required": [
452
+ "parameter"
453
+ ]
454
+ }
455
+ ]
456
+ }
457
+ ]
425
458
  },
426
459
  {
427
460
  "type": "array",
@@ -429,10 +462,35 @@
429
462
  "type": "object",
430
463
  "properties": {
431
464
  "@name": {
432
- "$ref": "tidas_data_types.json#/$defs/MatV",
433
- "description": "Name of free parameter"
465
+ "$ref": "tidas_data_types.json#/$defs/MatV"
466
+ },
467
+ "#text": {
468
+ "$ref": "tidas_data_types.json#/$defs/Real"
469
+ },
470
+ "parameter": {
471
+ "$ref": "tidas_data_types.json#/$defs/Real",
472
+ "$comment": "Legacy compatibility representation; prefer the canonical field documented in the specification."
434
473
  }
435
- }
474
+ },
475
+ "required": [
476
+ "@name"
477
+ ],
478
+ "allOf": [
479
+ {
480
+ "oneOf": [
481
+ {
482
+ "required": [
483
+ "#text"
484
+ ]
485
+ },
486
+ {
487
+ "required": [
488
+ "parameter"
489
+ ]
490
+ }
491
+ ]
492
+ }
493
+ ]
436
494
  }
437
495
  }
438
496
  ]
@@ -659,16 +717,38 @@
659
717
  }
660
718
  ]
661
719
  }
662
- }
720
+ },
721
+ "required": [
722
+ "outputExchange"
723
+ ]
663
724
  },
664
725
  "common:other": {
665
726
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
727
+ },
728
+ "scalingFactor": {
729
+ "$ref": "tidas_data_types.json#/$defs/Real",
730
+ "description": "A multiplicative scaling factor for the entire inventory of this process instance, used e.g. to scale the \"Reference process\" to the aimed-at amount of product (and thereby indirectly the entire inventory of the life cycle model). Note: Care is to be taken that models are not over- or under-specified - note that each process instance scaling is reducing the model's degree of freedom by one."
731
+ },
732
+ "scalingFactors": {
733
+ "$ref": "tidas_data_types.json#/$defs/Real",
734
+ "description": "A multiplicative scaling factor for the entire inventory of this process instance, used e.g. to scale the \"Reference process\" to the aimed-at amount of product (and thereby indirectly the entire inventory of the life cycle model). Note: Care is to be taken that models are not over- or under-specified - note that each process instance scaling is reducing the model's degree of freedom by one.",
735
+ "$comment": "Legacy compatibility representation; prefer the canonical field documented in the specification."
666
736
  }
667
737
  },
668
738
  "required": [
669
739
  "@dataSetInternalID",
670
740
  "@multiplicationFactor",
671
741
  "referenceToProcess"
742
+ ],
743
+ "allOf": [
744
+ {
745
+ "not": {
746
+ "required": [
747
+ "scalingFactor",
748
+ "scalingFactors"
749
+ ]
750
+ }
751
+ }
672
752
  ]
673
753
  }
674
754
  },
@@ -688,10 +768,6 @@
688
768
  "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
689
769
  "description": "Reference to the process data set, including its version, that is included in the eILCD archive of the Life cycle model and/or accessible at a remote location, i.e. a URI or URL."
690
770
  },
691
- "scalingFactors": {
692
- "$ref": "tidas_data_types.json#/$defs/Real",
693
- "description": "A multiplicative scaling factor for the entire inventory of this process instance, used e.g. to scale the \"Reference process\" to the aimed-at amount of product (and thereby indirectly the entire inventory of the life cycle model). Note: Care is to be taken that models are not over- or under-specified - note that each process instance scaling is reducing the model's degree of freedom by one."
694
- },
695
771
  "groups": {
696
772
  "type": "object",
697
773
  "description": "Group(s) to which this process instance belongs.",
@@ -707,7 +783,10 @@
707
783
  "pattern": "^-?\\d+$",
708
784
  "description": "Data set internal ID of the group."
709
785
  }
710
- }
786
+ },
787
+ "required": [
788
+ "@groupId"
789
+ ]
711
790
  },
712
791
  {
713
792
  "type": "array",
@@ -719,7 +798,10 @@
719
798
  "pattern": "^-?\\d+$",
720
799
  "description": "Data set internal ID of the group."
721
800
  }
722
- }
801
+ },
802
+ "required": [
803
+ "@groupId"
804
+ ]
723
805
  }
724
806
  }
725
807
  ]
@@ -737,14 +819,35 @@
737
819
  "type": "object",
738
820
  "properties": {
739
821
  "@name": {
740
- "type": "string",
741
- "description": "Name of free parameter"
822
+ "$ref": "tidas_data_types.json#/$defs/MatV"
742
823
  },
743
824
  "parameter": {
744
825
  "$ref": "tidas_data_types.json#/$defs/Real",
745
- "description": "Value of the parameter."
826
+ "$comment": "Legacy compatibility representation; prefer the canonical field documented in the specification."
827
+ },
828
+ "#text": {
829
+ "$ref": "tidas_data_types.json#/$defs/Real"
746
830
  }
747
- }
831
+ },
832
+ "required": [
833
+ "@name"
834
+ ],
835
+ "allOf": [
836
+ {
837
+ "oneOf": [
838
+ {
839
+ "required": [
840
+ "#text"
841
+ ]
842
+ },
843
+ {
844
+ "required": [
845
+ "parameter"
846
+ ]
847
+ }
848
+ ]
849
+ }
850
+ ]
748
851
  },
749
852
  {
750
853
  "type": "array",
@@ -752,14 +855,35 @@
752
855
  "type": "object",
753
856
  "properties": {
754
857
  "@name": {
755
- "type": "string",
756
- "description": "Name of free parameter"
858
+ "$ref": "tidas_data_types.json#/$defs/MatV"
757
859
  },
758
860
  "parameter": {
759
861
  "$ref": "tidas_data_types.json#/$defs/Real",
760
- "description": "Value of the parameter."
862
+ "$comment": "Legacy compatibility representation; prefer the canonical field documented in the specification."
863
+ },
864
+ "#text": {
865
+ "$ref": "tidas_data_types.json#/$defs/Real"
761
866
  }
762
- }
867
+ },
868
+ "required": [
869
+ "@name"
870
+ ],
871
+ "allOf": [
872
+ {
873
+ "oneOf": [
874
+ {
875
+ "required": [
876
+ "#text"
877
+ ]
878
+ },
879
+ {
880
+ "required": [
881
+ "parameter"
882
+ ]
883
+ }
884
+ ]
885
+ }
886
+ ]
763
887
  }
764
888
  }
765
889
  ]
@@ -993,12 +1117,31 @@
993
1117
  },
994
1118
  "common:other": {
995
1119
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
1120
+ },
1121
+ "scalingFactor": {
1122
+ "$ref": "tidas_data_types.json#/$defs/Real",
1123
+ "description": "A multiplicative scaling factor for the entire inventory of this process instance, used e.g. to scale the \"Reference process\" to the aimed-at amount of product (and thereby indirectly the entire inventory of the life cycle model). Note: Care is to be taken that models are not over- or under-specified - note that each process instance scaling is reducing the model's degree of freedom by one."
1124
+ },
1125
+ "scalingFactors": {
1126
+ "$ref": "tidas_data_types.json#/$defs/Real",
1127
+ "description": "A multiplicative scaling factor for the entire inventory of this process instance, used e.g. to scale the \"Reference process\" to the aimed-at amount of product (and thereby indirectly the entire inventory of the life cycle model). Note: Care is to be taken that models are not over- or under-specified - note that each process instance scaling is reducing the model's degree of freedom by one.",
1128
+ "$comment": "Legacy compatibility representation; prefer the canonical field documented in the specification."
996
1129
  }
997
1130
  },
998
1131
  "required": [
999
1132
  "@dataSetInternalID",
1000
1133
  "@multiplicationFactor",
1001
1134
  "referenceToProcess"
1135
+ ],
1136
+ "allOf": [
1137
+ {
1138
+ "not": {
1139
+ "required": [
1140
+ "scalingFactor",
1141
+ "scalingFactors"
1142
+ ]
1143
+ }
1144
+ }
1002
1145
  ]
1003
1146
  }
1004
1147
  ]
@@ -1109,173 +1252,351 @@
1109
1252
  },
1110
1253
  "complianceDeclarations": {
1111
1254
  "description": "One or more declarations of compliance to selected standards, schemes and other references, e.g. ISO 14040, ISO 14044, ILCD, EF, EN 15804, ...",
1112
- "type": "object",
1113
- "properties": {
1114
- "compliance": {
1115
- "description": "One compliance declaration. Multiple declarations may be provided.",
1116
- "anyOf": [
1117
- {
1118
- "type": "object",
1119
- "properties": {
1120
- "common:referenceToComplianceSystem": {
1121
- "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
1122
- "description": "\"Source data set\" of the \"Compliance system\" that is declared to be met by the data set."
1123
- },
1124
- "common:approvalOfOverallCompliance": {
1125
- "type": "string",
1126
- "description": "Official approval whether or not and in how far the data set meets all the requirements of the \"Compliance system\" refered to. This approval should be issued/confirmed by the owner of that compliance system, who is identified via the respective \"Contact data set\".",
1127
- "enum": [
1128
- "Fully compliant",
1129
- "Not compliant",
1130
- "Not defined"
1131
- ]
1132
- },
1133
- "common:nomenclatureCompliance": {
1134
- "type": "string",
1135
- "description": "Nomenclature compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1136
- "enum": [
1137
- "Fully compliant",
1138
- "Not compliant",
1139
- "Not defined"
1140
- ]
1141
- },
1142
- "common:methodologicalCompliance": {
1143
- "type": "string",
1144
- "description": "Methodological compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1145
- "enum": [
1146
- "Fully compliant",
1147
- "Not compliant",
1148
- "Not defined"
1149
- ]
1150
- },
1151
- "common:reviewCompliance": {
1152
- "type": "string",
1153
- "description": "Review/Verification compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1154
- "enum": [
1155
- "Fully compliant",
1156
- "Not compliant",
1157
- "Not defined"
1158
- ]
1159
- },
1160
- "common:documentationCompliance": {
1161
- "type": "string",
1162
- "description": "Documentation/Reporting compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1163
- "enum": [
1164
- "Fully compliant",
1165
- "Not compliant",
1166
- "Not defined"
1167
- ]
1168
- },
1169
- "common:qualityCompliance": {
1170
- "type": "string",
1171
- "description": "Quality compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1172
- "enum": [
1173
- "Fully compliant",
1174
- "Not compliant",
1175
- "Not defined"
1255
+ "anyOf": [
1256
+ {
1257
+ "type": "object",
1258
+ "properties": {
1259
+ "compliance": {
1260
+ "description": "One compliance declaration. Multiple declarations may be provided.",
1261
+ "anyOf": [
1262
+ {
1263
+ "type": "object",
1264
+ "properties": {
1265
+ "common:referenceToComplianceSystem": {
1266
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
1267
+ "description": "\"Source data set\" of the \"Compliance system\" that is declared to be met by the data set."
1268
+ },
1269
+ "common:approvalOfOverallCompliance": {
1270
+ "type": "string",
1271
+ "description": "Official approval whether or not and in how far the data set meets all the requirements of the \"Compliance system\" refered to. This approval should be issued/confirmed by the owner of that compliance system, who is identified via the respective \"Contact data set\".",
1272
+ "enum": [
1273
+ "Fully compliant",
1274
+ "Not compliant",
1275
+ "Not defined"
1276
+ ]
1277
+ },
1278
+ "common:nomenclatureCompliance": {
1279
+ "type": "string",
1280
+ "description": "Nomenclature compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1281
+ "enum": [
1282
+ "Fully compliant",
1283
+ "Not compliant",
1284
+ "Not defined"
1285
+ ]
1286
+ },
1287
+ "common:methodologicalCompliance": {
1288
+ "type": "string",
1289
+ "description": "Methodological compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1290
+ "enum": [
1291
+ "Fully compliant",
1292
+ "Not compliant",
1293
+ "Not defined"
1294
+ ]
1295
+ },
1296
+ "common:reviewCompliance": {
1297
+ "type": "string",
1298
+ "description": "Review/Verification compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1299
+ "enum": [
1300
+ "Fully compliant",
1301
+ "Not compliant",
1302
+ "Not defined"
1303
+ ]
1304
+ },
1305
+ "common:documentationCompliance": {
1306
+ "type": "string",
1307
+ "description": "Documentation/Reporting compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1308
+ "enum": [
1309
+ "Fully compliant",
1310
+ "Not compliant",
1311
+ "Not defined"
1312
+ ]
1313
+ },
1314
+ "common:qualityCompliance": {
1315
+ "type": "string",
1316
+ "description": "Quality compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1317
+ "enum": [
1318
+ "Fully compliant",
1319
+ "Not compliant",
1320
+ "Not defined"
1321
+ ]
1322
+ },
1323
+ "common:other": {
1324
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
1325
+ }
1326
+ },
1327
+ "required": [
1328
+ "common:referenceToComplianceSystem",
1329
+ "common:approvalOfOverallCompliance",
1330
+ "common:nomenclatureCompliance",
1331
+ "common:methodologicalCompliance",
1332
+ "common:reviewCompliance",
1333
+ "common:documentationCompliance",
1334
+ "common:qualityCompliance"
1176
1335
  ]
1177
1336
  },
1178
- "common:other": {
1179
- "$ref": "tidas_data_types.json#/$defs/CommonOther"
1337
+ {
1338
+ "type": "array",
1339
+ "items": {
1340
+ "type": "object",
1341
+ "properties": {
1342
+ "common:referenceToComplianceSystem": {
1343
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
1344
+ "description": "\"Source data set\" of the \"Compliance system\" that is declared to be met by the data set."
1345
+ },
1346
+ "common:approvalOfOverallCompliance": {
1347
+ "type": "string",
1348
+ "description": "Official approval whether or not and in how far the data set meets all the requirements of the \"Compliance system\" refered to. This approval should be issued/confirmed by the owner of that compliance system, who is identified via the respective \"Contact data set\".",
1349
+ "enum": [
1350
+ "Fully compliant",
1351
+ "Not compliant",
1352
+ "Not defined"
1353
+ ]
1354
+ },
1355
+ "common:nomenclatureCompliance": {
1356
+ "type": "string",
1357
+ "description": "Nomenclature compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1358
+ "enum": [
1359
+ "Fully compliant",
1360
+ "Not compliant",
1361
+ "Not defined"
1362
+ ]
1363
+ },
1364
+ "common:methodologicalCompliance": {
1365
+ "type": "string",
1366
+ "description": "Methodological compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1367
+ "enum": [
1368
+ "Fully compliant",
1369
+ "Not compliant",
1370
+ "Not defined"
1371
+ ]
1372
+ },
1373
+ "common:reviewCompliance": {
1374
+ "type": "string",
1375
+ "description": "Review/Verification compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1376
+ "enum": [
1377
+ "Fully compliant",
1378
+ "Not compliant",
1379
+ "Not defined"
1380
+ ]
1381
+ },
1382
+ "common:documentationCompliance": {
1383
+ "type": "string",
1384
+ "description": "Documentation/Reporting compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1385
+ "enum": [
1386
+ "Fully compliant",
1387
+ "Not compliant",
1388
+ "Not defined"
1389
+ ]
1390
+ },
1391
+ "common:qualityCompliance": {
1392
+ "type": "string",
1393
+ "description": "Quality compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1394
+ "enum": [
1395
+ "Fully compliant",
1396
+ "Not compliant",
1397
+ "Not defined"
1398
+ ]
1399
+ },
1400
+ "common:other": {
1401
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
1402
+ }
1403
+ },
1404
+ "required": [
1405
+ "common:referenceToComplianceSystem",
1406
+ "common:approvalOfOverallCompliance",
1407
+ "common:nomenclatureCompliance",
1408
+ "common:methodologicalCompliance",
1409
+ "common:reviewCompliance",
1410
+ "common:documentationCompliance",
1411
+ "common:qualityCompliance"
1412
+ ]
1413
+ },
1414
+ "minItems": 1
1180
1415
  }
1181
- },
1182
- "required": [
1183
- "common:referenceToComplianceSystem",
1184
- "common:approvalOfOverallCompliance",
1185
- "common:nomenclatureCompliance",
1186
- "common:methodologicalCompliance",
1187
- "common:reviewCompliance",
1188
- "common:documentationCompliance",
1189
- "common:qualityCompliance"
1190
1416
  ]
1191
1417
  },
1192
- {
1193
- "type": "array",
1194
- "items": {
1195
- "type": "object",
1196
- "properties": {
1197
- "common:referenceToComplianceSystem": {
1198
- "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
1199
- "description": "\"Source data set\" of the \"Compliance system\" that is declared to be met by the data set."
1200
- },
1201
- "common:approvalOfOverallCompliance": {
1202
- "type": "string",
1203
- "description": "Official approval whether or not and in how far the data set meets all the requirements of the \"Compliance system\" refered to. This approval should be issued/confirmed by the owner of that compliance system, who is identified via the respective \"Contact data set\".",
1204
- "enum": [
1205
- "Fully compliant",
1206
- "Not compliant",
1207
- "Not defined"
1208
- ]
1209
- },
1210
- "common:nomenclatureCompliance": {
1211
- "type": "string",
1212
- "description": "Nomenclature compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1213
- "enum": [
1214
- "Fully compliant",
1215
- "Not compliant",
1216
- "Not defined"
1217
- ]
1218
- },
1219
- "common:methodologicalCompliance": {
1220
- "type": "string",
1221
- "description": "Methodological compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1222
- "enum": [
1223
- "Fully compliant",
1224
- "Not compliant",
1225
- "Not defined"
1226
- ]
1227
- },
1228
- "common:reviewCompliance": {
1229
- "type": "string",
1230
- "description": "Review/Verification compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1231
- "enum": [
1232
- "Fully compliant",
1233
- "Not compliant",
1234
- "Not defined"
1235
- ]
1236
- },
1237
- "common:documentationCompliance": {
1238
- "type": "string",
1239
- "description": "Documentation/Reporting compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1240
- "enum": [
1241
- "Fully compliant",
1242
- "Not compliant",
1243
- "Not defined"
1244
- ]
1245
- },
1246
- "common:qualityCompliance": {
1247
- "type": "string",
1248
- "description": "Quality compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1249
- "enum": [
1250
- "Fully compliant",
1251
- "Not compliant",
1252
- "Not defined"
1418
+ "common:other": {
1419
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
1420
+ }
1421
+ },
1422
+ "required": [
1423
+ "compliance"
1424
+ ]
1425
+ },
1426
+ {
1427
+ "type": "array",
1428
+ "minItems": 1,
1429
+ "items": {
1430
+ "type": "object",
1431
+ "properties": {
1432
+ "compliance": {
1433
+ "description": "One compliance declaration. Multiple declarations may be provided.",
1434
+ "anyOf": [
1435
+ {
1436
+ "type": "object",
1437
+ "properties": {
1438
+ "common:referenceToComplianceSystem": {
1439
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
1440
+ "description": "\"Source data set\" of the \"Compliance system\" that is declared to be met by the data set."
1441
+ },
1442
+ "common:approvalOfOverallCompliance": {
1443
+ "type": "string",
1444
+ "description": "Official approval whether or not and in how far the data set meets all the requirements of the \"Compliance system\" refered to. This approval should be issued/confirmed by the owner of that compliance system, who is identified via the respective \"Contact data set\".",
1445
+ "enum": [
1446
+ "Fully compliant",
1447
+ "Not compliant",
1448
+ "Not defined"
1449
+ ]
1450
+ },
1451
+ "common:nomenclatureCompliance": {
1452
+ "type": "string",
1453
+ "description": "Nomenclature compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1454
+ "enum": [
1455
+ "Fully compliant",
1456
+ "Not compliant",
1457
+ "Not defined"
1458
+ ]
1459
+ },
1460
+ "common:methodologicalCompliance": {
1461
+ "type": "string",
1462
+ "description": "Methodological compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1463
+ "enum": [
1464
+ "Fully compliant",
1465
+ "Not compliant",
1466
+ "Not defined"
1467
+ ]
1468
+ },
1469
+ "common:reviewCompliance": {
1470
+ "type": "string",
1471
+ "description": "Review/Verification compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1472
+ "enum": [
1473
+ "Fully compliant",
1474
+ "Not compliant",
1475
+ "Not defined"
1476
+ ]
1477
+ },
1478
+ "common:documentationCompliance": {
1479
+ "type": "string",
1480
+ "description": "Documentation/Reporting compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1481
+ "enum": [
1482
+ "Fully compliant",
1483
+ "Not compliant",
1484
+ "Not defined"
1485
+ ]
1486
+ },
1487
+ "common:qualityCompliance": {
1488
+ "type": "string",
1489
+ "description": "Quality compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1490
+ "enum": [
1491
+ "Fully compliant",
1492
+ "Not compliant",
1493
+ "Not defined"
1494
+ ]
1495
+ },
1496
+ "common:other": {
1497
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
1498
+ }
1499
+ },
1500
+ "required": [
1501
+ "common:referenceToComplianceSystem",
1502
+ "common:approvalOfOverallCompliance",
1503
+ "common:nomenclatureCompliance",
1504
+ "common:methodologicalCompliance",
1505
+ "common:reviewCompliance",
1506
+ "common:documentationCompliance",
1507
+ "common:qualityCompliance"
1253
1508
  ]
1254
1509
  },
1255
- "common:other": {
1256
- "$ref": "tidas_data_types.json#/$defs/CommonOther"
1510
+ {
1511
+ "type": "array",
1512
+ "items": {
1513
+ "type": "object",
1514
+ "properties": {
1515
+ "common:referenceToComplianceSystem": {
1516
+ "$ref": "tidas_data_types.json#/$defs/GlobalReferenceType",
1517
+ "description": "\"Source data set\" of the \"Compliance system\" that is declared to be met by the data set."
1518
+ },
1519
+ "common:approvalOfOverallCompliance": {
1520
+ "type": "string",
1521
+ "description": "Official approval whether or not and in how far the data set meets all the requirements of the \"Compliance system\" refered to. This approval should be issued/confirmed by the owner of that compliance system, who is identified via the respective \"Contact data set\".",
1522
+ "enum": [
1523
+ "Fully compliant",
1524
+ "Not compliant",
1525
+ "Not defined"
1526
+ ]
1527
+ },
1528
+ "common:nomenclatureCompliance": {
1529
+ "type": "string",
1530
+ "description": "Nomenclature compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1531
+ "enum": [
1532
+ "Fully compliant",
1533
+ "Not compliant",
1534
+ "Not defined"
1535
+ ]
1536
+ },
1537
+ "common:methodologicalCompliance": {
1538
+ "type": "string",
1539
+ "description": "Methodological compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1540
+ "enum": [
1541
+ "Fully compliant",
1542
+ "Not compliant",
1543
+ "Not defined"
1544
+ ]
1545
+ },
1546
+ "common:reviewCompliance": {
1547
+ "type": "string",
1548
+ "description": "Review/Verification compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1549
+ "enum": [
1550
+ "Fully compliant",
1551
+ "Not compliant",
1552
+ "Not defined"
1553
+ ]
1554
+ },
1555
+ "common:documentationCompliance": {
1556
+ "type": "string",
1557
+ "description": "Documentation/Reporting compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1558
+ "enum": [
1559
+ "Fully compliant",
1560
+ "Not compliant",
1561
+ "Not defined"
1562
+ ]
1563
+ },
1564
+ "common:qualityCompliance": {
1565
+ "type": "string",
1566
+ "description": "Quality compliance of this data set with the respective requirements set by the \"compliance system\" refered to.",
1567
+ "enum": [
1568
+ "Fully compliant",
1569
+ "Not compliant",
1570
+ "Not defined"
1571
+ ]
1572
+ },
1573
+ "common:other": {
1574
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
1575
+ }
1576
+ },
1577
+ "required": [
1578
+ "common:referenceToComplianceSystem",
1579
+ "common:approvalOfOverallCompliance",
1580
+ "common:nomenclatureCompliance",
1581
+ "common:methodologicalCompliance",
1582
+ "common:reviewCompliance",
1583
+ "common:documentationCompliance",
1584
+ "common:qualityCompliance"
1585
+ ]
1586
+ },
1587
+ "minItems": 1
1257
1588
  }
1258
- },
1259
- "required": [
1260
- "common:referenceToComplianceSystem",
1261
- "common:approvalOfOverallCompliance",
1262
- "common:nomenclatureCompliance",
1263
- "common:methodologicalCompliance",
1264
- "common:reviewCompliance",
1265
- "common:documentationCompliance",
1266
- "common:qualityCompliance"
1267
1589
  ]
1268
1590
  },
1269
- "minItems": 1
1270
- }
1271
- ]
1272
- },
1273
- "common:other": {
1274
- "$ref": "tidas_data_types.json#/$defs/CommonOther"
1591
+ "common:other": {
1592
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
1593
+ }
1594
+ },
1595
+ "required": [
1596
+ "compliance"
1597
+ ]
1598
+ }
1275
1599
  }
1276
- },
1277
- "required": [
1278
- "compliance"
1279
1600
  ]
1280
1601
  },
1281
1602
  "common:other": {