@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
@@ -618,7 +618,18 @@
618
618
  ]
619
619
  },
620
620
  "referenceToReferenceFlow": {
621
- "$ref": "tidas_data_types.json#/$defs/Int6"
621
+ "anyOf": [
622
+ {
623
+ "$ref": "tidas_data_types.json#/$defs/Int6"
624
+ },
625
+ {
626
+ "type": "array",
627
+ "minItems": 1,
628
+ "items": {
629
+ "$ref": "tidas_data_types.json#/$defs/Int6"
630
+ }
631
+ }
632
+ ]
622
633
  },
623
634
  "functionalUnitOrOther": {
624
635
  "$ref": "tidas_data_types.json#/$defs/StringMultiLang"
@@ -628,8 +639,47 @@
628
639
  }
629
640
  },
630
641
  "required": [
631
- "@type",
632
- "referenceToReferenceFlow"
642
+ "@type"
643
+ ],
644
+ "allOf": [
645
+ {
646
+ "if": {
647
+ "properties": {
648
+ "@type": {
649
+ "const": "Reference flow(s)"
650
+ }
651
+ },
652
+ "required": [
653
+ "@type"
654
+ ]
655
+ },
656
+ "then": {
657
+ "required": [
658
+ "referenceToReferenceFlow"
659
+ ]
660
+ }
661
+ },
662
+ {
663
+ "if": {
664
+ "properties": {
665
+ "@type": {
666
+ "enum": [
667
+ "Functional unit",
668
+ "Other parameter",
669
+ "Production period"
670
+ ]
671
+ }
672
+ },
673
+ "required": [
674
+ "@type"
675
+ ]
676
+ },
677
+ "then": {
678
+ "required": [
679
+ "functionalUnitOrOther"
680
+ ]
681
+ }
682
+ }
633
683
  ]
634
684
  },
635
685
  "time": {
@@ -682,24 +732,51 @@
682
732
  ]
683
733
  },
684
734
  "subLocationOfOperationSupplyOrProduction": {
685
- "type": "object",
686
735
  "description": "所述“位置”的一个或多个地理子单位。这样的子单元可以是例如公司平均数据集的采样点、区域平均数据集的国家或国家平均数据集的特定站点。 [注意:对于单个站点数据集,此字段为空,站点在“位置”字段中命名。]",
687
- "properties": {
688
- "@subLocation": {
689
- "$ref": "tidas_locations_category.json"
690
- },
691
- "@latitudeAndLongitude": {
692
- "$ref": "tidas_data_types.json#/$defs/GIS",
693
- "description": "“位置”/“子位置”的地理纬度和经度参考。对于区域类型位置(例如国家、大洲),该字段为空。"
694
- },
695
- "descriptionOfRestrictions": {
696
- "$ref": "tidas_data_types.json#/$defs/FTMultiLang",
697
- "description": "有关该位置其他方面的进一步说明:例如公司和/或站点描述和地址,数据集是否对于“位置”内的某些子区域无效,数据是否仅对指定位置内的某些区域有效,或者某些基本流或中间产品流是否是从另一个地理区域推断出来的。"
736
+ "anyOf": [
737
+ {
738
+ "type": "object",
739
+ "properties": {
740
+ "@subLocation": {
741
+ "$ref": "tidas_locations_category.json"
742
+ },
743
+ "@latitudeAndLongitude": {
744
+ "$ref": "tidas_data_types.json#/$defs/GIS",
745
+ "description": "“位置”/“子位置”的地理纬度和经度参考。对于区域类型位置(例如国家、大洲),该字段为空。"
746
+ },
747
+ "descriptionOfRestrictions": {
748
+ "$ref": "tidas_data_types.json#/$defs/FTMultiLang",
749
+ "description": "有关该位置其他方面的进一步说明:例如公司和/或站点描述和地址,数据集是否对于“位置”内的某些子区域无效,数据是否仅对指定位置内的某些区域有效,或者某些基本流或中间产品流是否是从另一个地理区域推断出来的。"
750
+ },
751
+ "common:other": {
752
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
753
+ }
754
+ }
698
755
  },
699
- "common:other": {
700
- "$ref": "tidas_data_types.json#/$defs/CommonOther"
756
+ {
757
+ "type": "array",
758
+ "minItems": 1,
759
+ "items": {
760
+ "type": "object",
761
+ "properties": {
762
+ "@subLocation": {
763
+ "$ref": "tidas_locations_category.json"
764
+ },
765
+ "@latitudeAndLongitude": {
766
+ "$ref": "tidas_data_types.json#/$defs/GIS",
767
+ "description": "“位置”/“子位置”的地理纬度和经度参考。对于区域类型位置(例如国家、大洲),该字段为空。"
768
+ },
769
+ "descriptionOfRestrictions": {
770
+ "$ref": "tidas_data_types.json#/$defs/FTMultiLang",
771
+ "description": "有关该位置其他方面的进一步说明:例如公司和/或站点描述和地址,数据集是否对于“位置”内的某些子区域无效,数据是否仅对指定位置内的某些区域有效,或者某些基本流或中间产品流是否是从另一个地理区域推断出来的。"
772
+ },
773
+ "common:other": {
774
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
775
+ }
776
+ }
777
+ }
701
778
  }
702
- }
779
+ ]
703
780
  },
704
781
  "common:other": {
705
782
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
@@ -748,49 +825,108 @@
748
825
  "description": "本节数学关系中表示的模型的描述。可以涵盖有关限制、模型优点和缺点等的信息。(注意:另请参阅“注释”字段中提供的有关各个公式级别的信息以及“技术”部分字段中的一般流程描述中提供的信息。)"
749
826
  },
750
827
  "variableParameter": {
751
- "type": "object",
752
- "properties": {
753
- "@name": {
754
- "$ref": "tidas_data_types.json#/$defs/MatV",
755
- "description": "数学模型中变量参数的名称。"
756
- },
757
- "formula": {
758
- "$ref": "tidas_data_types.json#/$defs/MatR",
759
- "description": "数学模型中变量参数的公式。"
760
- },
761
- "meanValue": {
762
- "$ref": "tidas_data_types.json#/$defs/Real",
763
- "description": "评论数学模型中的可变参数。"
764
- },
765
- "minimumValue": {
766
- "$ref": "tidas_data_types.json#/$defs/Real",
767
- "description": "评论数学模型中的可变参数。"
768
- },
769
- "maximumValue": {
770
- "$ref": "tidas_data_types.json#/$defs/Real",
771
- "description": "评论数学模型中的可变参数。"
772
- },
773
- "uncertaintyDistributionType": {
774
- "type": "string",
775
- "description": "定义对该特定对象或参数有效的不确定性分布类型。",
776
- "enum": [
777
- "undefined",
778
- "log-normal",
779
- "normal",
780
- "triangular",
781
- "uniform"
828
+ "anyOf": [
829
+ {
830
+ "type": "object",
831
+ "properties": {
832
+ "@name": {
833
+ "$ref": "tidas_data_types.json#/$defs/MatV",
834
+ "description": "数学模型中变量参数的名称。"
835
+ },
836
+ "formula": {
837
+ "$ref": "tidas_data_types.json#/$defs/MatR",
838
+ "description": "数学模型中变量参数的公式。"
839
+ },
840
+ "meanValue": {
841
+ "$ref": "tidas_data_types.json#/$defs/Real",
842
+ "description": "评论数学模型中的可变参数。"
843
+ },
844
+ "minimumValue": {
845
+ "$ref": "tidas_data_types.json#/$defs/Real",
846
+ "description": "评论数学模型中的可变参数。"
847
+ },
848
+ "maximumValue": {
849
+ "$ref": "tidas_data_types.json#/$defs/Real",
850
+ "description": "评论数学模型中的可变参数。"
851
+ },
852
+ "uncertaintyDistributionType": {
853
+ "type": "string",
854
+ "description": "定义对该特定对象或参数有效的不确定性分布类型。",
855
+ "enum": [
856
+ "undefined",
857
+ "log-normal",
858
+ "normal",
859
+ "triangular",
860
+ "uniform"
861
+ ]
862
+ },
863
+ "relativeStandardDeviation95In": {
864
+ "$ref": "tidas_data_types.json#/$defs/Perc"
865
+ },
866
+ "comment": {
867
+ "$ref": "tidas_data_types.json#/$defs/StringMultiLang"
868
+ },
869
+ "common:other": {
870
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
871
+ }
872
+ },
873
+ "required": [
874
+ "@name"
782
875
  ]
783
876
  },
784
- "relativeStandardDeviation95In": {
785
- "$ref": "tidas_data_types.json#/$defs/Perc"
786
- },
787
- "comment": {
788
- "$ref": "tidas_data_types.json#/$defs/StringMultiLang"
789
- },
790
- "common:other": {
791
- "$ref": "tidas_data_types.json#/$defs/CommonOther"
877
+ {
878
+ "type": "array",
879
+ "minItems": 1,
880
+ "items": {
881
+ "type": "object",
882
+ "properties": {
883
+ "@name": {
884
+ "$ref": "tidas_data_types.json#/$defs/MatV",
885
+ "description": "数学模型中变量参数的名称。"
886
+ },
887
+ "formula": {
888
+ "$ref": "tidas_data_types.json#/$defs/MatR",
889
+ "description": "数学模型中变量参数的公式。"
890
+ },
891
+ "meanValue": {
892
+ "$ref": "tidas_data_types.json#/$defs/Real",
893
+ "description": "评论数学模型中的可变参数。"
894
+ },
895
+ "minimumValue": {
896
+ "$ref": "tidas_data_types.json#/$defs/Real",
897
+ "description": "评论数学模型中的可变参数。"
898
+ },
899
+ "maximumValue": {
900
+ "$ref": "tidas_data_types.json#/$defs/Real",
901
+ "description": "评论数学模型中的可变参数。"
902
+ },
903
+ "uncertaintyDistributionType": {
904
+ "type": "string",
905
+ "description": "定义对该特定对象或参数有效的不确定性分布类型。",
906
+ "enum": [
907
+ "undefined",
908
+ "log-normal",
909
+ "normal",
910
+ "triangular",
911
+ "uniform"
912
+ ]
913
+ },
914
+ "relativeStandardDeviation95In": {
915
+ "$ref": "tidas_data_types.json#/$defs/Perc"
916
+ },
917
+ "comment": {
918
+ "$ref": "tidas_data_types.json#/$defs/StringMultiLang"
919
+ },
920
+ "common:other": {
921
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
922
+ }
923
+ },
924
+ "required": [
925
+ "@name"
926
+ ]
927
+ }
792
928
  }
793
- }
929
+ ]
794
930
  },
795
931
  "common:other": {
796
932
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
@@ -841,32 +977,68 @@
841
977
  "description": "对与一般“LCI 方法原则”的任何偏差的简短描述以及附加解释。特别指未应用所述“归因”或“后果”方法的特定过程/案例。或者偏离了应用“具有归因成分的后果”方法的任何特定规则。此处也可以提及数据收集的“预期应用”。分配的联产品也可以在此处报告。如果没有(定量相关)偏离 LCI 方法原则,则应注明“无”。"
842
978
  },
843
979
  "LCIMethodApproaches": {
844
- "type": "string",
845
980
  "description": "简要说明 LCI 建模中使用的具体方法,例如分配、替代等。对于 LCI 结果和部分终止的系统数据集,这也涵盖了所包含的后台系统中应用的数据。",
846
- "enum": [
847
- "Allocation - market value",
848
- "Allocation - gross calorific value",
849
- "Allocation - net calorific value",
850
- "Allocation - exergetic content",
851
- "Allocation - element content",
852
- "Allocation - mass",
853
- "Allocation - volume",
854
- "Allocation - ability to bear",
855
- "Allocation - marginal causality",
856
- "Allocation - physical causality",
857
- "Allocation - 100% to main function",
858
- "Allocation - other explicit assignment",
859
- "Allocation - equal distribution",
860
- "Substitution - BAT",
861
- "Substitution - average, market price correction",
862
- "Substitution - average, technical properties correction",
863
- "Allocation - recycled content",
864
- "Substitution - recycling potential",
865
- "Substitution - average, no correction",
866
- "Substitution - specific",
867
- "Consequential effects - other",
868
- "Not applicable",
869
- "Other"
981
+ "anyOf": [
982
+ {
983
+ "type": "string",
984
+ "enum": [
985
+ "Allocation - market value",
986
+ "Allocation - gross calorific value",
987
+ "Allocation - net calorific value",
988
+ "Allocation - exergetic content",
989
+ "Allocation - element content",
990
+ "Allocation - mass",
991
+ "Allocation - volume",
992
+ "Allocation - ability to bear",
993
+ "Allocation - marginal causality",
994
+ "Allocation - physical causality",
995
+ "Allocation - 100% to main function",
996
+ "Allocation - other explicit assignment",
997
+ "Allocation - equal distribution",
998
+ "Substitution - BAT",
999
+ "Substitution - average, market price correction",
1000
+ "Substitution - average, technical properties correction",
1001
+ "Allocation - recycled content",
1002
+ "Substitution - recycling potential",
1003
+ "Substitution - average, no correction",
1004
+ "Substitution - specific",
1005
+ "Consequential effects - other",
1006
+ "Not applicable",
1007
+ "Other"
1008
+ ]
1009
+ },
1010
+ {
1011
+ "type": "array",
1012
+ "minItems": 1,
1013
+ "items": {
1014
+ "type": "string",
1015
+ "enum": [
1016
+ "Allocation - market value",
1017
+ "Allocation - gross calorific value",
1018
+ "Allocation - net calorific value",
1019
+ "Allocation - exergetic content",
1020
+ "Allocation - element content",
1021
+ "Allocation - mass",
1022
+ "Allocation - volume",
1023
+ "Allocation - ability to bear",
1024
+ "Allocation - marginal causality",
1025
+ "Allocation - physical causality",
1026
+ "Allocation - 100% to main function",
1027
+ "Allocation - other explicit assignment",
1028
+ "Allocation - equal distribution",
1029
+ "Substitution - BAT",
1030
+ "Substitution - average, market price correction",
1031
+ "Substitution - average, technical properties correction",
1032
+ "Allocation - recycled content",
1033
+ "Substitution - recycling potential",
1034
+ "Substitution - average, no correction",
1035
+ "Substitution - specific",
1036
+ "Consequential effects - other",
1037
+ "Not applicable",
1038
+ "Other"
1039
+ ]
1040
+ }
1041
+ }
870
1042
  ]
871
1043
  },
872
1044
  "deviationsFromLCIMethodApproaches": {
@@ -888,10 +1060,7 @@
888
1060
  "common:other": {
889
1061
  "$ref": "tidas_data_types.json#/$defs/CommonOther"
890
1062
  }
891
- },
892
- "required": [
893
- "typeOfDataSet"
894
- ]
1063
+ }
895
1064
  },
896
1065
  "dataSourcesTreatmentAndRepresentativeness": {
897
1066
  "type": "object",
@@ -980,42 +1149,87 @@
980
1149
  "description": "“LCIA 方法数据集”可应用于输入和输出部分中的基本流程,即所有这些流程均由相应的 LCIA 方法数据集引用(如果它们具有环境相关性并且为相应流程定义了表征因子)。 [注:如果发明包含一些基本流,其含义与 LCIA 方法数据集中引用的相同,但采用不同的命名法(因此不携带表征因子),或者如果流是在 LCIA 方法数据集中以不同方式处理的总和指示符或流组,则不给出适用性。]"
981
1150
  },
982
1151
  "completenessElementaryFlows": {
983
- "type": "object",
984
1152
  "description": "从影响的角度来看,该数据集的输入和输出部分中基本过程的完整性,涉及解决给定的单个中点问题领域/影响类别。完整性是指科学知识的最新水平,无论单个基本流程是否以相关方式对相应的中点主题做出贡献,例如ILCD 参考基本过程的基础。 [注:“完整性”声明并不自动意味着相关的 LCIA 方法存在或引用该数据集的基本流程。因此,为了直接适用现有 LCIA 方法,请检查“支持的 LCIA 方法数据集”字段。]",
985
- "properties": {
986
- "@type": {
987
- "type": "string",
988
- "enum": [
989
- "Climate change",
990
- "Ozone depletion",
991
- "Summer smog",
992
- "Eutrophication",
993
- "Acidification",
994
- "Human toxicity",
995
- "Freshwater ecotoxicity",
996
- "Seawater eco-toxicity",
997
- "Terrestric eco-toxicity",
998
- "Radioactivity",
999
- "Land use",
1000
- "Non-renewable material resource depletion",
1001
- "Renewable material resource consumption",
1002
- "Non-renewable primary energy depletion",
1003
- "Renewable primary energy consumption",
1004
- "Particulate matter/respiratory inorganics",
1005
- "Species depletion",
1006
- "Noise"
1007
- ]
1153
+ "anyOf": [
1154
+ {
1155
+ "type": "object",
1156
+ "properties": {
1157
+ "@type": {
1158
+ "type": "string",
1159
+ "enum": [
1160
+ "Climate change",
1161
+ "Ozone depletion",
1162
+ "Summer smog",
1163
+ "Eutrophication",
1164
+ "Acidification",
1165
+ "Human toxicity",
1166
+ "Freshwater ecotoxicity",
1167
+ "Seawater eco-toxicity",
1168
+ "Terrestric eco-toxicity",
1169
+ "Radioactivity",
1170
+ "Land use",
1171
+ "Non-renewable material resource depletion",
1172
+ "Renewable material resource consumption",
1173
+ "Non-renewable primary energy depletion",
1174
+ "Renewable primary energy consumption",
1175
+ "Particulate matter/respiratory inorganics",
1176
+ "Species depletion",
1177
+ "Noise"
1178
+ ]
1179
+ },
1180
+ "@value": {
1181
+ "type": "string",
1182
+ "enum": [
1183
+ "All relevant flows quantified",
1184
+ "Relevant flows missing",
1185
+ "Topic not relevant",
1186
+ "No statement"
1187
+ ]
1188
+ }
1189
+ }
1008
1190
  },
1009
- "@value": {
1010
- "type": "string",
1011
- "enum": [
1012
- "All relevant flows quantified",
1013
- "Relevant flows missing",
1014
- "Topic not relevant",
1015
- "No statement"
1016
- ]
1191
+ {
1192
+ "type": "array",
1193
+ "minItems": 1,
1194
+ "items": {
1195
+ "type": "object",
1196
+ "properties": {
1197
+ "@type": {
1198
+ "type": "string",
1199
+ "enum": [
1200
+ "Climate change",
1201
+ "Ozone depletion",
1202
+ "Summer smog",
1203
+ "Eutrophication",
1204
+ "Acidification",
1205
+ "Human toxicity",
1206
+ "Freshwater ecotoxicity",
1207
+ "Seawater eco-toxicity",
1208
+ "Terrestric eco-toxicity",
1209
+ "Radioactivity",
1210
+ "Land use",
1211
+ "Non-renewable material resource depletion",
1212
+ "Renewable material resource consumption",
1213
+ "Non-renewable primary energy depletion",
1214
+ "Renewable primary energy consumption",
1215
+ "Particulate matter/respiratory inorganics",
1216
+ "Species depletion",
1217
+ "Noise"
1218
+ ]
1219
+ },
1220
+ "@value": {
1221
+ "type": "string",
1222
+ "enum": [
1223
+ "All relevant flows quantified",
1224
+ "Relevant flows missing",
1225
+ "Topic not relevant",
1226
+ "No statement"
1227
+ ]
1228
+ }
1229
+ }
1230
+ }
1017
1231
  }
1018
- }
1232
+ ]
1019
1233
  },
1020
1234
  "completenessOtherProblemField": {
1021
1235
  "$ref": "tidas_data_types.json#/$defs/FTMultiLang",
@@ -1527,7 +1741,10 @@
1527
1741
  }
1528
1742
  ]
1529
1743
  }
1530
- }
1744
+ },
1745
+ "required": [
1746
+ "allocation"
1747
+ ]
1531
1748
  },
1532
1749
  "dataSourceType": {
1533
1750
  "type": "string",
@@ -44,39 +44,97 @@
44
44
  "description": "预计将用于构建数据库的源内容的源的层次结构分类。 (注意:标识源不需要此条目。不过,应避免在同一类中对源使用相同的名称。",
45
45
  "properties": {
46
46
  "common:classification": {
47
- "type": "object",
48
- "properties": {
49
- "common:class": {
47
+ "anyOf": [
48
+ {
50
49
  "type": "object",
51
50
  "properties": {
52
- "@level": {
53
- "$ref": "tidas_data_types.json#/$defs/LevelType",
54
- "const": "0"
51
+ "common:class": {
52
+ "type": "object",
53
+ "properties": {
54
+ "@level": {
55
+ "$ref": "tidas_data_types.json#/$defs/LevelType",
56
+ "const": "0"
57
+ },
58
+ "@classId": {
59
+ "type": "string"
60
+ },
61
+ "#text": {
62
+ "type": "string"
63
+ }
64
+ },
65
+ "required": [
66
+ "@level",
67
+ "@classId",
68
+ "#text"
69
+ ],
70
+ "dependencies": {
71
+ "@level": {
72
+ "$ref": "./tidas_sources_category.json#/$defs/Source"
73
+ }
74
+ }
55
75
  },
56
- "@classId": {
76
+ "common:other": {
77
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
78
+ },
79
+ "@name": {
57
80
  "type": "string"
58
81
  },
59
- "#text": {
82
+ "@classes": {
60
83
  "type": "string"
61
84
  }
62
85
  },
63
86
  "required": [
64
- "@level",
65
- "@classId",
66
- "#text"
67
- ],
68
- "dependencies": {
69
- "@level": {
70
- "$ref": "./tidas_sources_category.json#/$defs/Source"
71
- }
72
- }
87
+ "common:class"
88
+ ]
73
89
  },
74
- "common:other": {
75
- "$ref": "tidas_data_types.json#/$defs/CommonOther"
90
+ {
91
+ "type": "array",
92
+ "minItems": 1,
93
+ "items": {
94
+ "type": "object",
95
+ "description": "One named classification system (e.g. CPC or HS). Used in the array form to let multiple systems coexist.",
96
+ "properties": {
97
+ "@name": {
98
+ "type": "string",
99
+ "description": "Name of the classification system (e.g. CPC, ISIC, HS). Per ILCD this defaults to 'ILCD' when absent; set it explicitly for non-ILCD systems."
100
+ },
101
+ "@classes": {
102
+ "type": "string",
103
+ "description": "Optional URL or identifier of the classification file/system."
104
+ },
105
+ "common:class": {
106
+ "type": "array",
107
+ "minItems": 1,
108
+ "items": {
109
+ "type": "object",
110
+ "properties": {
111
+ "@level": {
112
+ "$ref": "tidas_data_types.json#/$defs/LevelType"
113
+ },
114
+ "@classId": {
115
+ "type": "string"
116
+ },
117
+ "#text": {
118
+ "type": "string"
119
+ }
120
+ },
121
+ "required": [
122
+ "@level",
123
+ "@classId",
124
+ "#text"
125
+ ]
126
+ }
127
+ },
128
+ "common:other": {
129
+ "$ref": "tidas_data_types.json#/$defs/CommonOther"
130
+ }
131
+ },
132
+ "required": [
133
+ "@name",
134
+ "common:class"
135
+ ]
136
+ }
76
137
  }
77
- },
78
- "required": [
79
- "common:class"
80
138
  ]
81
139
  }
82
140
  },