@tiangong-lca/tidas-sdk 0.1.35 → 0.1.37
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.
- package/dist/runtime-assets/tidas/schemas/tidas_contacts.json +11 -11
- package/dist/runtime-assets/tidas/schemas/tidas_data_types.json +48 -0
- package/dist/runtime-assets/tidas/schemas/tidas_flowproperties.json +11 -11
- package/dist/runtime-assets/tidas/schemas/tidas_flows.json +20 -20
- package/dist/runtime-assets/tidas/schemas/tidas_lciamethods.json +25 -25
- package/dist/runtime-assets/tidas/schemas/tidas_lifecyclemodels.json +35 -35
- package/dist/runtime-assets/tidas/schemas/tidas_processes.json +43 -42
- package/dist/runtime-assets/tidas/schemas/tidas_sources.json +8 -8
- package/dist/runtime-assets/tidas/schemas/tidas_unitgroups.json +16 -16
- package/dist/schemas/tidas_contacts.schema.d.ts +8 -8
- package/dist/schemas/tidas_contacts.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_contacts.schema.js +8 -8
- package/dist/schemas/tidas_contacts.schema.js.map +1 -1
- package/dist/schemas/tidas_data_types.schema.d.ts +3 -0
- package/dist/schemas/tidas_data_types.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_data_types.schema.js +43 -1
- package/dist/schemas/tidas_data_types.schema.js.map +1 -1
- package/dist/schemas/tidas_flowproperties.schema.d.ts +11 -11
- package/dist/schemas/tidas_flowproperties.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_flowproperties.schema.js +11 -11
- package/dist/schemas/tidas_flowproperties.schema.js.map +1 -1
- package/dist/schemas/tidas_flows.schema.d.ts +18 -18
- package/dist/schemas/tidas_flows.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_flows.schema.js +18 -18
- package/dist/schemas/tidas_flows.schema.js.map +1 -1
- package/dist/schemas/tidas_lciamethods.schema.d.ts +22 -22
- package/dist/schemas/tidas_lciamethods.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_lciamethods.schema.js +22 -22
- package/dist/schemas/tidas_lciamethods.schema.js.map +1 -1
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts +21 -21
- package/dist/schemas/tidas_lifecyclemodels.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_lifecyclemodels.schema.js +21 -21
- package/dist/schemas/tidas_lifecyclemodels.schema.js.map +1 -1
- package/dist/schemas/tidas_processes.schema.d.ts +34 -40
- package/dist/schemas/tidas_processes.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_processes.schema.js +34 -34
- package/dist/schemas/tidas_processes.schema.js.map +1 -1
- package/dist/schemas/tidas_sources.schema.d.ts +7 -7
- package/dist/schemas/tidas_sources.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_sources.schema.js +7 -7
- package/dist/schemas/tidas_sources.schema.js.map +1 -1
- package/dist/schemas/tidas_unitgroups.schema.d.ts +14 -14
- package/dist/schemas/tidas_unitgroups.schema.d.ts.map +1 -1
- package/dist/schemas/tidas_unitgroups.schema.js +14 -14
- package/dist/schemas/tidas_unitgroups.schema.js.map +1 -1
- package/dist/types/tidas_contacts.d.ts +9 -9
- package/dist/types/tidas_contacts.d.ts.map +1 -1
- package/dist/types/tidas_data_types.d.ts +12 -0
- package/dist/types/tidas_data_types.d.ts.map +1 -1
- package/dist/types/tidas_flowproperties.d.ts +12 -12
- package/dist/types/tidas_flowproperties.d.ts.map +1 -1
- package/dist/types/tidas_flows.d.ts +19 -19
- package/dist/types/tidas_flows.d.ts.map +1 -1
- package/dist/types/tidas_lciamethods.d.ts +23 -23
- package/dist/types/tidas_lciamethods.d.ts.map +1 -1
- package/dist/types/tidas_lifecyclemodels.d.ts +22 -22
- package/dist/types/tidas_lifecyclemodels.d.ts.map +1 -1
- package/dist/types/tidas_processes.d.ts +35 -35
- package/dist/types/tidas_processes.d.ts.map +1 -1
- package/dist/types/tidas_sources.d.ts +8 -8
- package/dist/types/tidas_sources.d.ts.map +1 -1
- package/dist/types/tidas_unitgroups.d.ts +15 -15
- package/dist/types/tidas_unitgroups.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"common:other": {
|
|
78
|
-
"
|
|
78
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"required": [
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"description": "Free text for general information about the data set. E.g. coverage of different unit systems, information sources used, etc."
|
|
93
93
|
},
|
|
94
94
|
"common:other": {
|
|
95
|
-
"
|
|
95
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"required": [
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"type": "object",
|
|
106
106
|
"properties": {
|
|
107
107
|
"referenceToReferenceUnit": {
|
|
108
|
-
|
|
108
|
+
"$ref": "tidas_data_types.json#/$defs/Int5"
|
|
109
109
|
},
|
|
110
110
|
"common:other": {
|
|
111
|
-
"
|
|
111
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
"required": [
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
]
|
|
117
117
|
},
|
|
118
118
|
"common:other": {
|
|
119
|
-
"
|
|
119
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"required": [
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
]
|
|
149
149
|
},
|
|
150
150
|
"common:other": {
|
|
151
|
-
"
|
|
151
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
"required": [
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
]
|
|
174
174
|
},
|
|
175
175
|
"common:other": {
|
|
176
|
-
"
|
|
176
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
"required": [
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
]
|
|
187
187
|
},
|
|
188
188
|
"common:other": {
|
|
189
|
-
"
|
|
189
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
192
|
"required": [
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
196
|
"common:other": {
|
|
197
|
-
"
|
|
197
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"required": [
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"properties": {
|
|
207
207
|
"dataEntryBy": {
|
|
208
208
|
"type": "object",
|
|
209
|
-
|
|
209
|
+
"properties": {
|
|
210
210
|
"common:timeStamp": {
|
|
211
211
|
"$ref": "tidas_data_types.json#/$defs/dateTime",
|
|
212
212
|
"description": "Date and time stamp of data set generation, typically an automated entry (\"last saved\")."
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
"description": "\"Source data set\" of the used version of the ILCD format. If additional data format fields have been integrated into the data set file, using the \"namespace\" option, the used format namespace(s) are to be given. This is the case if the data sets carries additional information as specified by other, particular LCA formats, e.g. of other database networks or LCA softwares."
|
|
217
217
|
},
|
|
218
218
|
"common:other": {
|
|
219
|
-
"
|
|
219
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
222
|
"required": [
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
"description": "\"Contact data set\" of the person or entity who owns this data set. (Note: this is not necessarily the publisher of the data set.)"
|
|
246
246
|
},
|
|
247
247
|
"common:other": {
|
|
248
|
-
"
|
|
248
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
251
|
"required": [
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
]
|
|
255
255
|
},
|
|
256
256
|
"common:other": {
|
|
257
|
-
"
|
|
257
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
"required": [
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"description": "General comment on each single unit, typically giving the long name and unit system from which this unit stems, and (if necessary) referring to specifc data sources used, or for workflow purposes about status of \"finalisation\" of an entry etc."
|
|
285
285
|
},
|
|
286
286
|
"common:other": {
|
|
287
|
-
"
|
|
287
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
},
|
|
@@ -312,12 +312,12 @@
|
|
|
312
312
|
]
|
|
313
313
|
},
|
|
314
314
|
"common:other": {
|
|
315
|
-
"
|
|
315
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
},
|
|
319
319
|
"common:other": {
|
|
320
|
-
"
|
|
320
|
+
"$ref": "tidas_data_types.json#/$defs/CommonOther"
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
323
|
"required": [
|
|
@@ -39,7 +39,7 @@ export declare const ContactsSchema: z.ZodObject<{
|
|
|
39
39
|
'#text': z.ZodString;
|
|
40
40
|
}, z.core.$strip>]>;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
42
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
44
|
contactAddress: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
45
45
|
'@xml:lang': z.ZodString;
|
|
@@ -116,9 +116,9 @@ export declare const ContactsSchema: z.ZodObject<{
|
|
|
116
116
|
'#text': z.ZodString;
|
|
117
117
|
}, z.core.$strip>]>;
|
|
118
118
|
}, z.core.$strip>>]>>;
|
|
119
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
119
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
120
120
|
}, z.core.$strip>;
|
|
121
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
121
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
122
122
|
}, z.core.$strip>;
|
|
123
123
|
administrativeInformation: z.ZodObject<{
|
|
124
124
|
dataEntryBy: z.ZodObject<{
|
|
@@ -148,7 +148,7 @@ export declare const ContactsSchema: z.ZodObject<{
|
|
|
148
148
|
'#text': z.ZodString;
|
|
149
149
|
}, z.core.$strip>]>;
|
|
150
150
|
}, z.core.$strip>>]>;
|
|
151
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
151
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
152
152
|
}, z.core.$strip>;
|
|
153
153
|
publicationAndOwnership: z.ZodObject<{
|
|
154
154
|
'common:dataSetVersion': z.ZodString;
|
|
@@ -203,12 +203,12 @@ export declare const ContactsSchema: z.ZodObject<{
|
|
|
203
203
|
'#text': z.ZodString;
|
|
204
204
|
}, z.core.$strip>]>;
|
|
205
205
|
}, z.core.$strip>>]>;
|
|
206
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
206
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
207
207
|
}, z.core.$strip>;
|
|
208
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
208
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
209
209
|
}, z.core.$strip>;
|
|
210
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
210
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
211
211
|
}, z.core.$strip>;
|
|
212
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
212
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
213
213
|
}, z.core.$strip>;
|
|
214
214
|
//# sourceMappingURL=tidas_contacts.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tidas_contacts.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/tidas_contacts.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tidas_contacts.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/tidas_contacts.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsEzB,CAAC"}
|
|
@@ -38,7 +38,7 @@ exports.ContactsSchema = zod_1.z.object({
|
|
|
38
38
|
}),
|
|
39
39
|
]),
|
|
40
40
|
}),
|
|
41
|
-
'common:other':
|
|
41
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
42
42
|
}),
|
|
43
43
|
contactAddress: tidas_data_types_schema_1.STMultiLangSchema.optional(),
|
|
44
44
|
email: tidas_data_types_schema_1.StringSchema.optional(),
|
|
@@ -49,27 +49,27 @@ exports.ContactsSchema = zod_1.z.object({
|
|
|
49
49
|
contactDescriptionOrComment: tidas_data_types_schema_1.STMultiLangSchema.optional(),
|
|
50
50
|
referenceToContact: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
51
51
|
referenceToLogo: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
52
|
-
'common:other':
|
|
52
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
53
53
|
}),
|
|
54
|
-
'common:other':
|
|
54
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
55
55
|
}),
|
|
56
56
|
administrativeInformation: zod_1.z.object({
|
|
57
57
|
dataEntryBy: zod_1.z.object({
|
|
58
58
|
'common:timeStamp': tidas_data_types_schema_1.dateTimeSchema,
|
|
59
59
|
'common:referenceToDataSetFormat': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
60
|
-
'common:other':
|
|
60
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
61
61
|
}),
|
|
62
62
|
publicationAndOwnership: zod_1.z.object({
|
|
63
63
|
'common:dataSetVersion': zod_1.z.string(),
|
|
64
64
|
'common:referenceToPrecedingDataSetVersion': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
65
65
|
'common:permanentDataSetURI': zod_1.z.string().optional(),
|
|
66
66
|
'common:referenceToOwnershipOfDataSet': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
67
|
-
'common:other':
|
|
67
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
68
68
|
}),
|
|
69
|
-
'common:other':
|
|
69
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
70
70
|
}),
|
|
71
|
-
'common:other':
|
|
71
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
72
72
|
}),
|
|
73
|
-
'common:other':
|
|
73
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
74
74
|
});
|
|
75
75
|
//# sourceMappingURL=tidas_contacts.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tidas_contacts.schema.js","sourceRoot":"","sources":["../../src/schemas/tidas_contacts.schema.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"tidas_contacts.schema.js","sourceRoot":"","sources":["../../src/schemas/tidas_contacts.schema.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAAwB;AAExB,uEAUmC;AAEtB,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC;QACvB,QAAQ,EAAE,OAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC;QACrD,eAAe,EAAE,OAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;QAC3D,YAAY,EAAE,OAAC,CAAC,OAAO,CAAC,2CAA2C,CAAC;QACpE,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAC5B,qBAAqB,EAAE,OAAC,CAAC,OAAO,CAC9B,sEAAsE,CACvE;QACD,kBAAkB,EAAE,OAAC,CAAC,MAAM,CAAC;YAC3B,kBAAkB,EAAE,OAAC,CAAC,MAAM,CAAC;gBAC3B,aAAa,EAAE,oCAAU;gBACzB,kBAAkB,EAAE,uDAA6B;gBACjD,aAAa,EAAE,uDAA6B;gBAC5C,yBAAyB,EAAE,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AQ,EAAE;SAC7C,CAAC;QACF,yBAAyB,EAAE,OAAC,CAAC,MAAM,CAAC;YAClC,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC;gBACpB,kBAAkB,EAAE,wCAAc;gBAClC,iCAAiC,EAAE,mDAAyB;gBAC5D,cAAc,EAAE,2CAAiB,CAAC,QAAQ,EAAE;aAC7C,CAAC;YACF,uBAAuB,EAAE,OAAC,CAAC,MAAM,CAAC;gBAChC,uBAAuB,EAAE,OAAC,CAAC,MAAM,EAAE;gBACnC,2CAA2C,EACzC,mDAAyB,CAAC,QAAQ,EAAE;gBACtC,4BAA4B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;gBACnD,sCAAsC,EAAE,mDAAyB;gBACjE,cAAc,EAAE,2CAAiB,CAAC,QAAQ,EAAE;aAC7C,CAAC;YACF,cAAc,EAAE,2CAAiB,CAAC,QAAQ,EAAE;SAC7C,CAAC;QACF,cAAc,EAAE,2CAAiB,CAAC,QAAQ,EAAE;KAC7C,CAAC;IACF,cAAc,EAAE,2CAAiB,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { type AnyXmlElement } from './../types/tidas_data_types';
|
|
2
3
|
export declare const CASNumberSchema: z.ZodString;
|
|
3
4
|
export declare const FTSchema: z.ZodString;
|
|
4
5
|
export declare const LocalizedTextItemSchema: z.ZodObject<{
|
|
@@ -65,6 +66,8 @@ export declare const RequiredFTMultiLangSchema: z.ZodUnion<readonly [z.ZodArray<
|
|
|
65
66
|
'@xml:lang': z.ZodString;
|
|
66
67
|
'#text': z.ZodString;
|
|
67
68
|
}, z.core.$strip>]>;
|
|
69
|
+
export declare const AnyXmlElementSchema: z.ZodType<AnyXmlElement>;
|
|
70
|
+
export declare const CommonOtherSchema: z.ZodRecord<z.ZodString, z.ZodType<AnyXmlElement, unknown, z.core.$ZodTypeInternals<AnyXmlElement, unknown>>>;
|
|
68
71
|
export declare const GlobalReferenceTypeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
69
72
|
'@type': z.ZodString;
|
|
70
73
|
'@refObjectId': z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tidas_data_types.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/tidas_data_types.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tidas_data_types.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/tidas_data_types.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,eAAO,MAAM,eAAe,aAAkD,CAAC;AAE/E,eAAO,MAAM,QAAQ,aAAa,CAAC;AA6CnC,eAAO,MAAM,uBAAuB;;;iBAEnC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;iBAGS,CAAC;AAEjD,eAAO,MAAM,2BAA2B;;;iBAGQ,CAAC;AAcjD,eAAO,MAAM,qBAAqB;;;;;;mBAGhC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;mBACoB,CAAC;AAE/D,eAAO,MAAM,UAAU,aAA8B,CAAC;AAEtD,eAAO,MAAM,UAAU,aAAyC,CAAC;AAEjE,eAAO,MAAM,UAAU,aAAyC,CAAC;AAEjE,eAAO,MAAM,eAAe,aAAa,CAAC;AAE1C,eAAO,MAAM,UAAU,aAEsC,CAAC;AAE9D,eAAO,MAAM,UAAU,aAAa,CAAC;AAErC,eAAO,MAAM,UAAU,aAAa,CAAC;AAErC,eAAO,MAAM,UAAU,aAE6B,CAAC;AAErD,eAAO,MAAM,QAAQ,aAAuB,CAAC;AAE7C,eAAO,MAAM,YAAY,aAA6B,CAAC;AAEvD,eAAO,MAAM,iBAAiB;;;;;;mBAG5B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;mBACoB,CAAC;AAE3D,eAAO,MAAM,iBAAiB;;;;;;mBAG5B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;mBACoB,CAAC;AAE3D,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CASxD,CAAC;AAOF,eAAO,MAAM,iBAAiB,+GAqC1B,CAAC;AAEL,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;oBAiBpC,CAAC;AAEH,eAAO,MAAM,SAAS,aAInB,CAAC;AAEJ,eAAO,MAAM,UAAU,aAEmD,CAAC;AAE3E,eAAO,MAAM,UAAU,aAAiC,CAAC;AAEzD,eAAO,MAAM,cAAc,aAAwB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dateTimeSchema = exports.YearSchema = exports.UUIDSchema = exports.GISSchema = exports.GlobalReferenceTypeSchema = exports.RequiredFTMultiLangSchema = exports.FTMultiLangSchema = exports.RequiredSTMultiLangSchema = exports.STMultiLangSchema = exports.StringSchema = exports.STSchema = exports.RealSchema = exports.MatVSchema = exports.MatRSchema = exports.PercSchema = exports.LevelTypeSchema = exports.Int6Schema = exports.Int5Schema = exports.Int1Schema = exports.RequiredStringMultiLangSchema = exports.StringMultiLangSchema = exports.LocalizedText1000ItemSchema = exports.LocalizedText500ItemSchema = exports.LocalizedTextItemSchema = exports.FTSchema = exports.CASNumberSchema = void 0;
|
|
3
|
+
exports.dateTimeSchema = exports.YearSchema = exports.UUIDSchema = exports.GISSchema = exports.GlobalReferenceTypeSchema = exports.CommonOtherSchema = exports.AnyXmlElementSchema = exports.RequiredFTMultiLangSchema = exports.FTMultiLangSchema = exports.RequiredSTMultiLangSchema = exports.STMultiLangSchema = exports.StringSchema = exports.STSchema = exports.RealSchema = exports.MatVSchema = exports.MatRSchema = exports.PercSchema = exports.LevelTypeSchema = exports.Int6Schema = exports.Int5Schema = exports.Int1Schema = exports.RequiredStringMultiLangSchema = exports.StringMultiLangSchema = exports.LocalizedText1000ItemSchema = exports.LocalizedText500ItemSchema = exports.LocalizedTextItemSchema = exports.FTSchema = exports.CASNumberSchema = void 0;
|
|
4
4
|
// Generated by ts-to-zod
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
exports.CASNumberSchema = zod_1.z.string().regex(/^[0-9]{2,7}-[0-9]{2}-[0-9]$/);
|
|
@@ -80,6 +80,48 @@ exports.FTMultiLangSchema = zod_1.z.union([
|
|
|
80
80
|
exports.LocalizedTextItemSchema,
|
|
81
81
|
]);
|
|
82
82
|
exports.RequiredFTMultiLangSchema = exports.FTMultiLangSchema.superRefine(addRequiredMultiLangIssue);
|
|
83
|
+
exports.AnyXmlElementSchema = zod_1.z.lazy(() => zod_1.z.union([
|
|
84
|
+
zod_1.z.null(),
|
|
85
|
+
zod_1.z.string(),
|
|
86
|
+
zod_1.z.number(),
|
|
87
|
+
zod_1.z.boolean(),
|
|
88
|
+
zod_1.z.array(exports.AnyXmlElementSchema),
|
|
89
|
+
zod_1.z.record(zod_1.z.string(), exports.AnyXmlElementSchema),
|
|
90
|
+
]));
|
|
91
|
+
const commonOtherNamespaceDeclarationPattern = /^@xmlns(:[A-Za-z_][A-Za-z0-9_.-]*)?$/;
|
|
92
|
+
const commonOtherExtensionElementPattern = /^(?!(common|xmlns):)([A-Za-z_][A-Za-z0-9_.-]*:)?[A-Za-z_][A-Za-z0-9_.-]*$/;
|
|
93
|
+
exports.CommonOtherSchema = zod_1.z
|
|
94
|
+
.record(zod_1.z.string(), exports.AnyXmlElementSchema)
|
|
95
|
+
.superRefine((value, ctx) => {
|
|
96
|
+
let hasExtensionElement = false;
|
|
97
|
+
for (const [key, entryValue] of Object.entries(value)) {
|
|
98
|
+
if (commonOtherNamespaceDeclarationPattern.test(key)) {
|
|
99
|
+
if (typeof entryValue !== 'string') {
|
|
100
|
+
ctx.addIssue({
|
|
101
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
102
|
+
path: [key],
|
|
103
|
+
message: 'Namespace declarations in common:other must be strings',
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
continue;
|
|
107
|
+
}
|
|
108
|
+
if (commonOtherExtensionElementPattern.test(key)) {
|
|
109
|
+
hasExtensionElement = true;
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
ctx.addIssue({
|
|
113
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
114
|
+
path: [key],
|
|
115
|
+
message: 'common:other entries must be namespace declarations or non-common extension elements',
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
if (!hasExtensionElement) {
|
|
119
|
+
ctx.addIssue({
|
|
120
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
121
|
+
message: 'common:other must include at least one non-common extension element',
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
});
|
|
83
125
|
exports.GlobalReferenceTypeSchema = zod_1.z.union([
|
|
84
126
|
zod_1.z.object({
|
|
85
127
|
'@type': zod_1.z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tidas_data_types.schema.js","sourceRoot":"","sources":["../../src/schemas/tidas_data_types.schema.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAAwB;
|
|
1
|
+
{"version":3,"file":"tidas_data_types.schema.js","sourceRoot":"","sources":["../../src/schemas/tidas_data_types.schema.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAAwB;AAGX,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAElE,QAAA,QAAQ,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC;AAEnC,MAAM,uBAAuB,GAAG,2CAA2C,CAAC;AAC5E,MAAM,qDAAqD,GACzD,kDAAkD,CAAC;AACrD,MAAM,yDAAyD,GAC7D,sDAA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EAAE,yBAAiB;KAC7C,CAAC;IACF,OAAC,CAAC,KAAK,CACL,OAAC,CAAC,MAAM,CAAC;QACP,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;QACnB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;QAC1B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;QAClB,yBAAyB,EAAE,yBAAiB;KAC7C,CAAC,CACH;CACF,CAAC,CAAC;AAEU,QAAA,SAAS,GAAG,OAAC;KACvB,MAAM,EAAE;KACR,KAAK,CACJ,uGAAuG,CACxG,CAAC;AAES,QAAA,UAAU,GAAG,OAAC;KACxB,MAAM,EAAE;KACR,KAAK,CAAC,gEAAgE,CAAC,CAAC;AAE9D,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAE5C,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC"}
|
|
@@ -30,7 +30,7 @@ export declare const FlowpropertiesSchema: z.ZodObject<{
|
|
|
30
30
|
'@classId': z.ZodString;
|
|
31
31
|
'#text': z.ZodString;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
33
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
'common:generalComment': z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
@@ -40,7 +40,7 @@ export declare const FlowpropertiesSchema: z.ZodObject<{
|
|
|
40
40
|
'@xml:lang': z.ZodString;
|
|
41
41
|
'#text': z.ZodString;
|
|
42
42
|
}, z.core.$strip>]>>;
|
|
43
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
43
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
45
|
quantitativeReference: z.ZodObject<{
|
|
46
46
|
referenceToReferenceUnitGroup: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -68,9 +68,9 @@ export declare const FlowpropertiesSchema: z.ZodObject<{
|
|
|
68
68
|
'#text': z.ZodString;
|
|
69
69
|
}, z.core.$strip>]>;
|
|
70
70
|
}, z.core.$strip>>]>;
|
|
71
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
71
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
72
72
|
}, z.core.$strip>;
|
|
73
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
73
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
modellingAndValidation: z.ZodOptional<z.ZodObject<{
|
|
76
76
|
dataSourcesTreatmentAndRepresentativeness: z.ZodOptional<z.ZodObject<{
|
|
@@ -99,7 +99,7 @@ export declare const FlowpropertiesSchema: z.ZodObject<{
|
|
|
99
99
|
'#text': z.ZodString;
|
|
100
100
|
}, z.core.$strip>]>;
|
|
101
101
|
}, z.core.$strip>>]>>;
|
|
102
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
102
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
103
103
|
}, z.core.$strip>>;
|
|
104
104
|
complianceDeclarations: z.ZodObject<{
|
|
105
105
|
compliance: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -157,9 +157,9 @@ export declare const FlowpropertiesSchema: z.ZodObject<{
|
|
|
157
157
|
}, z.core.$strip>>]>;
|
|
158
158
|
'common:approvalOfOverallCompliance': z.ZodUnion<readonly [z.ZodLiteral<"Fully compliant">, z.ZodLiteral<"Not compliant">, z.ZodLiteral<"Not defined">]>;
|
|
159
159
|
}, z.core.$strip>>]>;
|
|
160
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
160
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
161
161
|
}, z.core.$strip>;
|
|
162
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
162
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
163
163
|
}, z.core.$strip>>;
|
|
164
164
|
administrativeInformation: z.ZodObject<{
|
|
165
165
|
dataEntryBy: z.ZodObject<{
|
|
@@ -189,7 +189,7 @@ export declare const FlowpropertiesSchema: z.ZodObject<{
|
|
|
189
189
|
'#text': z.ZodString;
|
|
190
190
|
}, z.core.$strip>]>;
|
|
191
191
|
}, z.core.$strip>>]>;
|
|
192
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
192
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
193
193
|
}, z.core.$strip>;
|
|
194
194
|
publicationAndOwnership: z.ZodObject<{
|
|
195
195
|
'common:dataSetVersion': z.ZodString;
|
|
@@ -244,11 +244,11 @@ export declare const FlowpropertiesSchema: z.ZodObject<{
|
|
|
244
244
|
'#text': z.ZodString;
|
|
245
245
|
}, z.core.$strip>]>;
|
|
246
246
|
}, z.core.$strip>>]>;
|
|
247
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
247
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
249
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
250
250
|
}, z.core.$strip>;
|
|
251
|
-
'common:other': z.ZodOptional<z.ZodString
|
|
251
|
+
'common:other': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("..").AnyXmlElement, unknown, z.core.$ZodTypeInternals<import("..").AnyXmlElement, unknown>>>>;
|
|
252
252
|
}, z.core.$strip>;
|
|
253
253
|
}, z.core.$strip>;
|
|
254
254
|
//# sourceMappingURL=tidas_flowproperties.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tidas_flowproperties.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/tidas_flowproperties.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tidas_flowproperties.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/tidas_flowproperties.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqF/B,CAAC"}
|
|
@@ -23,24 +23,24 @@ exports.FlowpropertiesSchema = zod_1.z.object({
|
|
|
23
23
|
'@classId': zod_1.z.string(),
|
|
24
24
|
'#text': zod_1.z.string(),
|
|
25
25
|
}),
|
|
26
|
-
'common:other':
|
|
26
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
27
27
|
}),
|
|
28
28
|
}),
|
|
29
29
|
'common:generalComment': tidas_data_types_schema_1.FTMultiLangSchema.optional(),
|
|
30
|
-
'common:other':
|
|
30
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
31
31
|
}),
|
|
32
32
|
quantitativeReference: zod_1.z.object({
|
|
33
33
|
referenceToReferenceUnitGroup: tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
34
|
-
'common:other':
|
|
34
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
35
35
|
}),
|
|
36
|
-
'common:other':
|
|
36
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
37
37
|
}),
|
|
38
38
|
modellingAndValidation: zod_1.z
|
|
39
39
|
.object({
|
|
40
40
|
dataSourcesTreatmentAndRepresentativeness: zod_1.z
|
|
41
41
|
.object({
|
|
42
42
|
referenceToDataSource: tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
43
|
-
'common:other':
|
|
43
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
44
44
|
})
|
|
45
45
|
.optional(),
|
|
46
46
|
complianceDeclarations: zod_1.z.object({
|
|
@@ -62,27 +62,27 @@ exports.FlowpropertiesSchema = zod_1.z.object({
|
|
|
62
62
|
]),
|
|
63
63
|
})),
|
|
64
64
|
]),
|
|
65
|
-
'common:other':
|
|
65
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
66
66
|
}),
|
|
67
|
-
'common:other':
|
|
67
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
68
68
|
})
|
|
69
69
|
.optional(),
|
|
70
70
|
administrativeInformation: zod_1.z.object({
|
|
71
71
|
dataEntryBy: zod_1.z.object({
|
|
72
72
|
'common:timeStamp': zod_1.z.string(),
|
|
73
73
|
'common:referenceToDataSetFormat': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
74
|
-
'common:other':
|
|
74
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
75
75
|
}),
|
|
76
76
|
publicationAndOwnership: zod_1.z.object({
|
|
77
77
|
'common:dataSetVersion': zod_1.z.string(),
|
|
78
78
|
'common:referenceToPrecedingDataSetVersion': tidas_data_types_schema_1.GlobalReferenceTypeSchema.optional(),
|
|
79
79
|
'common:permanentDataSetURI': zod_1.z.string().optional(),
|
|
80
80
|
'common:referenceToOwnershipOfDataSet': tidas_data_types_schema_1.GlobalReferenceTypeSchema,
|
|
81
|
-
'common:other':
|
|
81
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
82
82
|
}),
|
|
83
|
-
'common:other':
|
|
83
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
84
84
|
}),
|
|
85
|
-
'common:other':
|
|
85
|
+
'common:other': tidas_data_types_schema_1.CommonOtherSchema.optional(),
|
|
86
86
|
}),
|
|
87
87
|
});
|
|
88
88
|
//# sourceMappingURL=tidas_flowproperties.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tidas_flowproperties.schema.js","sourceRoot":"","sources":["../../src/schemas/tidas_flowproperties.schema.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"tidas_flowproperties.schema.js","sourceRoot":"","sources":["../../src/schemas/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