@golemio/energetics 1.0.13 → 1.0.14-dev.740182146

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 (142) hide show
  1. package/dist/integration-engine/helpers/index.d.ts +0 -1
  2. package/dist/integration-engine/helpers/index.js +0 -1
  3. package/dist/integration-engine/helpers/index.js.map +1 -1
  4. package/dist/integration-engine/index.d.ts +3 -2
  5. package/dist/integration-engine/index.js +4 -2
  6. package/dist/integration-engine/index.js.map +1 -1
  7. package/dist/integration-engine/queueDefinitions.d.ts +3 -0
  8. package/dist/integration-engine/queueDefinitions.js +4 -11
  9. package/dist/integration-engine/queueDefinitions.js.map +1 -1
  10. package/dist/integration-engine/transformations/index.d.ts +0 -3
  11. package/dist/integration-engine/transformations/index.js +0 -3
  12. package/dist/integration-engine/transformations/index.js.map +1 -1
  13. package/dist/integration-engine/workers/index.d.ts +0 -1
  14. package/dist/integration-engine/workers/index.js +0 -1
  15. package/dist/integration-engine/workers/index.js.map +1 -1
  16. package/dist/integration-engine/workers/oict-energetika/OictEnergetikaWorker.d.ts +5 -0
  17. package/dist/integration-engine/workers/oict-energetika/OictEnergetikaWorker.js +21 -0
  18. package/dist/integration-engine/workers/oict-energetika/OictEnergetikaWorker.js.map +1 -0
  19. package/dist/integration-engine/workers/oict-energetika/data-access/BuildingsRepository.d.ts +4 -0
  20. package/dist/integration-engine/workers/oict-energetika/data-access/BuildingsRepository.js +19 -0
  21. package/dist/integration-engine/workers/oict-energetika/data-access/BuildingsRepository.js.map +1 -0
  22. package/dist/integration-engine/workers/oict-energetika/data-access/ConsumptionRepository.d.ts +6 -0
  23. package/dist/integration-engine/workers/oict-energetika/data-access/ConsumptionRepository.js +37 -0
  24. package/dist/integration-engine/workers/oict-energetika/data-access/ConsumptionRepository.js.map +1 -0
  25. package/dist/integration-engine/workers/oict-energetika/data-access/DevicesRepository.d.ts +4 -0
  26. package/dist/integration-engine/workers/oict-energetika/data-access/DevicesRepository.js +19 -0
  27. package/dist/integration-engine/workers/oict-energetika/data-access/DevicesRepository.js.map +1 -0
  28. package/dist/integration-engine/workers/oict-energetika/datasources/OictDataSourceFactory.d.ts +10 -0
  29. package/dist/integration-engine/workers/oict-energetika/datasources/OictDataSourceFactory.js +23 -0
  30. package/dist/integration-engine/workers/oict-energetika/datasources/OictDataSourceFactory.js.map +1 -0
  31. package/dist/integration-engine/workers/oict-energetika/datasources/helpers/OictApiHelper.d.ts +12 -0
  32. package/dist/integration-engine/workers/oict-energetika/datasources/helpers/OictApiHelper.js +48 -0
  33. package/dist/integration-engine/workers/oict-energetika/datasources/helpers/OictApiHelper.js.map +1 -0
  34. package/dist/integration-engine/workers/oict-energetika/datasources/helpers/index.d.ts +1 -0
  35. package/dist/integration-engine/workers/oict-energetika/datasources/helpers/index.js +18 -0
  36. package/dist/integration-engine/workers/oict-energetika/datasources/helpers/index.js.map +1 -0
  37. package/dist/integration-engine/workers/oict-energetika/interfaces/IFetchDataInput.d.ts +3 -0
  38. package/dist/integration-engine/workers/oict-energetika/interfaces/IFetchDataInput.js +3 -0
  39. package/dist/integration-engine/workers/oict-energetika/interfaces/IFetchDataInput.js.map +1 -0
  40. package/dist/integration-engine/workers/oict-energetika/schema/FetchDataSchema.d.ts +4 -0
  41. package/dist/integration-engine/workers/oict-energetika/schema/FetchDataSchema.js +22 -0
  42. package/dist/integration-engine/workers/oict-energetika/schema/FetchDataSchema.js.map +1 -0
  43. package/dist/integration-engine/workers/oict-energetika/tasks/FetchBuildingsTask.d.ts +9 -0
  44. package/dist/integration-engine/workers/oict-energetika/tasks/FetchBuildingsTask.js +44 -0
  45. package/dist/integration-engine/workers/oict-energetika/tasks/FetchBuildingsTask.js.map +1 -0
  46. package/dist/integration-engine/workers/oict-energetika/tasks/FetchConsumptionTask.d.ts +13 -0
  47. package/dist/integration-engine/workers/oict-energetika/tasks/FetchConsumptionTask.js +66 -0
  48. package/dist/integration-engine/workers/oict-energetika/tasks/FetchConsumptionTask.js.map +1 -0
  49. package/dist/integration-engine/workers/oict-energetika/tasks/FetchDataTask.d.ts +10 -0
  50. package/dist/integration-engine/workers/oict-energetika/tasks/FetchDataTask.js +32 -0
  51. package/dist/integration-engine/workers/oict-energetika/tasks/FetchDataTask.js.map +1 -0
  52. package/dist/integration-engine/workers/oict-energetika/tasks/FetchDevicesTask.d.ts +9 -0
  53. package/dist/integration-engine/workers/oict-energetika/tasks/FetchDevicesTask.js +44 -0
  54. package/dist/integration-engine/workers/oict-energetika/tasks/FetchDevicesTask.js.map +1 -0
  55. package/dist/integration-engine/workers/oict-energetika/transformations/BuildingsTransformation.d.ts +7 -0
  56. package/dist/integration-engine/{transformations/EnesaEnergyBuildingsTransformation.js → workers/oict-energetika/transformations/BuildingsTransformation.js} +131 -133
  57. package/dist/integration-engine/workers/oict-energetika/transformations/BuildingsTransformation.js.map +1 -0
  58. package/dist/integration-engine/workers/oict-energetika/transformations/ConsumptionTransformation.d.ts +7 -0
  59. package/dist/integration-engine/{transformations/EnesaEnergyConsumptionTransformation.js → workers/oict-energetika/transformations/ConsumptionTransformation.js} +12 -16
  60. package/dist/integration-engine/workers/oict-energetika/transformations/ConsumptionTransformation.js.map +1 -0
  61. package/dist/integration-engine/workers/oict-energetika/transformations/DevicesTransformation.d.ts +7 -0
  62. package/dist/integration-engine/{transformations/EnesaEnergyDevicesTransformation.js → workers/oict-energetika/transformations/DevicesTransformation.js} +10 -12
  63. package/dist/integration-engine/workers/oict-energetika/transformations/DevicesTransformation.js.map +1 -0
  64. package/dist/schema-definitions/datasources/OictBuildingsJsonSchema.d.ts +3 -0
  65. package/dist/schema-definitions/datasources/OictBuildingsJsonSchema.js +356 -0
  66. package/dist/schema-definitions/datasources/OictBuildingsJsonSchema.js.map +1 -0
  67. package/dist/schema-definitions/datasources/OictConsumptionJsonSchema.d.ts +3 -0
  68. package/dist/schema-definitions/datasources/OictConsumptionJsonSchema.js +19 -0
  69. package/dist/schema-definitions/datasources/OictConsumptionJsonSchema.js.map +1 -0
  70. package/dist/schema-definitions/datasources/OictDevicesJsonSchema.d.ts +3 -0
  71. package/dist/schema-definitions/datasources/OictDevicesJsonSchema.js +42 -0
  72. package/dist/schema-definitions/datasources/OictDevicesJsonSchema.js.map +1 -0
  73. package/dist/schema-definitions/datasources/index.d.ts +3 -0
  74. package/dist/schema-definitions/datasources/index.js +20 -0
  75. package/dist/schema-definitions/datasources/index.js.map +1 -0
  76. package/dist/schema-definitions/datasources/interfaces/IOictBuildingsInput.d.ts +170 -0
  77. package/dist/schema-definitions/datasources/interfaces/IOictBuildingsInput.js +3 -0
  78. package/dist/schema-definitions/datasources/interfaces/IOictBuildingsInput.js.map +1 -0
  79. package/dist/schema-definitions/datasources/interfaces/IOictConsumptionInput.d.ts +8 -0
  80. package/dist/schema-definitions/datasources/interfaces/IOictConsumptionInput.js +3 -0
  81. package/dist/schema-definitions/datasources/interfaces/IOictConsumptionInput.js.map +1 -0
  82. package/dist/schema-definitions/datasources/interfaces/IOictDevicesInput.d.ts +16 -0
  83. package/dist/schema-definitions/datasources/interfaces/IOictDevicesInput.js +3 -0
  84. package/dist/schema-definitions/datasources/interfaces/IOictDevicesInput.js.map +1 -0
  85. package/dist/schema-definitions/datasources/interfaces/index.d.ts +3 -0
  86. package/dist/schema-definitions/datasources/interfaces/index.js +20 -0
  87. package/dist/schema-definitions/datasources/interfaces/index.js.map +1 -0
  88. package/dist/schema-definitions/index.d.ts +2 -6
  89. package/dist/schema-definitions/index.js +1 -6
  90. package/dist/schema-definitions/index.js.map +1 -1
  91. package/dist/schema-definitions/models/BuildingsModel.d.ts +131 -0
  92. package/dist/schema-definitions/models/BuildingsModel.js +393 -0
  93. package/dist/schema-definitions/models/BuildingsModel.js.map +1 -0
  94. package/dist/schema-definitions/models/ConsumptionModel.d.ts +14 -0
  95. package/dist/schema-definitions/models/ConsumptionModel.js +50 -0
  96. package/dist/schema-definitions/models/ConsumptionModel.js.map +1 -0
  97. package/dist/schema-definitions/models/DevicesModel.d.ts +22 -0
  98. package/dist/schema-definitions/models/DevicesModel.js +66 -0
  99. package/dist/schema-definitions/models/DevicesModel.js.map +1 -0
  100. package/dist/schema-definitions/models/index.d.ts +3 -0
  101. package/dist/schema-definitions/models/index.js +20 -0
  102. package/dist/schema-definitions/models/index.js.map +1 -0
  103. package/dist/schema-definitions/models/interfaces/IBuildingsModel.d.ts +125 -0
  104. package/dist/schema-definitions/models/interfaces/IBuildingsModel.js +3 -0
  105. package/dist/schema-definitions/models/interfaces/IBuildingsModel.js.map +1 -0
  106. package/dist/schema-definitions/models/interfaces/IConsumptionModel.d.ts +8 -0
  107. package/dist/schema-definitions/models/interfaces/IConsumptionModel.js +3 -0
  108. package/dist/schema-definitions/models/interfaces/IConsumptionModel.js.map +1 -0
  109. package/dist/schema-definitions/models/interfaces/IDevicesModel.d.ts +16 -0
  110. package/dist/schema-definitions/models/interfaces/IDevicesModel.js +3 -0
  111. package/dist/schema-definitions/models/interfaces/IDevicesModel.js.map +1 -0
  112. package/dist/schema-definitions/models/interfaces/index.d.ts +3 -0
  113. package/dist/schema-definitions/models/interfaces/index.js +20 -0
  114. package/dist/schema-definitions/models/interfaces/index.js.map +1 -0
  115. package/dist/schema-definitions/providers/index.d.ts +0 -1
  116. package/dist/schema-definitions/providers/index.js +0 -1
  117. package/dist/schema-definitions/providers/index.js.map +1 -1
  118. package/package.json +6 -6
  119. package/dist/integration-engine/helpers/EnesaApiHelper.d.ts +0 -17
  120. package/dist/integration-engine/helpers/EnesaApiHelper.js +0 -23
  121. package/dist/integration-engine/helpers/EnesaApiHelper.js.map +0 -1
  122. package/dist/integration-engine/transformations/EnesaEnergyBuildingsTransformation.d.ts +0 -8
  123. package/dist/integration-engine/transformations/EnesaEnergyBuildingsTransformation.js.map +0 -1
  124. package/dist/integration-engine/transformations/EnesaEnergyConsumptionTransformation.d.ts +0 -8
  125. package/dist/integration-engine/transformations/EnesaEnergyConsumptionTransformation.js.map +0 -1
  126. package/dist/integration-engine/transformations/EnesaEnergyDevicesTransformation.d.ts +0 -8
  127. package/dist/integration-engine/transformations/EnesaEnergyDevicesTransformation.js.map +0 -1
  128. package/dist/integration-engine/workers/EnergeticsEnesaWorker.d.ts +0 -27
  129. package/dist/integration-engine/workers/EnergeticsEnesaWorker.js +0 -142
  130. package/dist/integration-engine/workers/EnergeticsEnesaWorker.js.map +0 -1
  131. package/dist/schema-definitions/providers/EnergeticsEnesa.d.ts +0 -1087
  132. package/dist/schema-definitions/providers/EnergeticsEnesa.js +0 -35
  133. package/dist/schema-definitions/providers/EnergeticsEnesa.js.map +0 -1
  134. package/dist/schema-definitions/providers/EnergeticsEnesaDatasourceSchemas.d.ts +0 -592
  135. package/dist/schema-definitions/providers/EnergeticsEnesaDatasourceSchemas.js +0 -685
  136. package/dist/schema-definitions/providers/EnergeticsEnesaDatasourceSchemas.js.map +0 -1
  137. package/dist/schema-definitions/providers/EnergeticsEnesaOutputSchemas.d.ts +0 -463
  138. package/dist/schema-definitions/providers/EnergeticsEnesaOutputSchemas.js +0 -608
  139. package/dist/schema-definitions/providers/EnergeticsEnesaOutputSchemas.js.map +0 -1
  140. package/dist/schema-definitions/providers/EnergeticsEnesaSDMA.d.ts +0 -5
  141. package/dist/schema-definitions/providers/EnergeticsEnesaSDMA.js +0 -202
  142. package/dist/schema-definitions/providers/EnergeticsEnesaSDMA.js.map +0 -1
@@ -1,685 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.datasourceEnesaEnergyDevices = exports.datasourceEnesaEnergyConsumption = exports.datasourceEnesaEnergyBuildings = void 0;
4
- const datasourceEnesaEnergyBuildings = {
5
- type: "array",
6
- items: {
7
- type: "object",
8
- properties: {
9
- Id: {
10
- type: "integer",
11
- },
12
- Name: {
13
- type: ["null", "string"],
14
- },
15
- Description: {
16
- type: ["null", "string"],
17
- },
18
- BuildingAddressCode: {
19
- type: ["null", "string"],
20
- },
21
- Label: {
22
- type: ["null", "string"],
23
- },
24
- CurrentNote: {
25
- type: ["null", "string"],
26
- },
27
- MainUse: {
28
- type: ["null", "string"],
29
- },
30
- SecondaryUse: {
31
- type: ["null", "string"],
32
- },
33
- YearOfConstruction: {
34
- type: ["null", "integer"],
35
- },
36
- MethodOfProtection: {
37
- type: ["null", "string"],
38
- },
39
- BuiltUpArea: {
40
- type: ["null", "string"],
41
- },
42
- HeatedBuldingVolume: {
43
- type: ["null", "string"],
44
- },
45
- StudentsCount: {
46
- type: ["null", "string"],
47
- },
48
- EmployeesCount: {
49
- type: ["null", "string"],
50
- },
51
- ClassroomsCount: {
52
- type: ["null", "string"],
53
- },
54
- BedsCount: {
55
- type: ["null", "string"],
56
- },
57
- ENOId: {
58
- type: ["null", "string"],
59
- },
60
- CSUCode: {
61
- type: ["null", "string"],
62
- },
63
- KUCode: {
64
- type: ["null", "string"],
65
- },
66
- AllotmentNumber: {
67
- type: ["null", "string"],
68
- },
69
- RegistrationUnit: {
70
- type: ["null", "string"],
71
- },
72
- GasConsumptionNormatives: {
73
- type: ["null", "string"],
74
- },
75
- HeatConsumptionNormatives: {
76
- type: ["null", "string"],
77
- },
78
- WaterConsumptionNormatives: {
79
- type: ["null", "string"],
80
- },
81
- ElectricityConsumptionNormativesPerPerson: {
82
- type: ["null", "string"],
83
- },
84
- ElectricityConsumptionNormatives: {
85
- type: ["null", "string"],
86
- },
87
- EnergeticManagement: {
88
- type: ["null", "boolean"],
89
- },
90
- OpeningHours: {
91
- type: ["null", "string"],
92
- },
93
- WeekendOpeningHours: {
94
- type: ["null", "string"],
95
- },
96
- Latitude: {
97
- type: ["null", "number"],
98
- },
99
- Longitude: {
100
- type: ["null", "number"],
101
- },
102
- Address: {
103
- type: "object",
104
- properties: {
105
- street: {
106
- type: ["null", "string"],
107
- },
108
- houseNumber: {
109
- type: ["null", "string"],
110
- },
111
- city: {
112
- type: ["null", "string"],
113
- },
114
- country: {
115
- type: ["null", "string"],
116
- },
117
- mail: {
118
- type: ["null", "string"],
119
- },
120
- phone: {
121
- type: ["null", "integer", "string"],
122
- },
123
- webAddress: {
124
- type: ["null", "string"],
125
- },
126
- },
127
- required: ["street", "houseNumber", "city", "country", "mail", "phone", "webAddress"],
128
- additionalProperties: true,
129
- },
130
- PENB: {
131
- type: "object",
132
- properties: {
133
- penbnumber: {
134
- type: ["null", "number", "boolean", "string"],
135
- },
136
- issueDate: {
137
- type: ["null", "string"],
138
- },
139
- totalBuildingEnvelopeArea: {
140
- type: ["null", "number"],
141
- },
142
- volumeFactorOfAvshape: {
143
- type: ["null", "number", "string"],
144
- },
145
- totalEnergyReferenceArea: {
146
- type: ["null", "number"],
147
- },
148
- totalProvidedEnergy: {
149
- type: ["null", "number"],
150
- },
151
- totalProvidedEnergyCategory: {
152
- type: ["null", "string"],
153
- },
154
- primaryNonRenewableEnergy: {
155
- type: ["null", "number"],
156
- },
157
- primaryNonRenewableEnergyCategory: {
158
- type: ["null", "string"],
159
- },
160
- buildingEnvelope: {
161
- type: ["null", "number"],
162
- },
163
- buildingEnvelopeCategory: {
164
- type: ["null", "string"],
165
- },
166
- heating: {
167
- type: ["null", "number"],
168
- },
169
- heatingCategory: {
170
- type: ["null", "string"],
171
- },
172
- cooling: {
173
- type: ["null", "number"],
174
- },
175
- coolingCategory: {
176
- type: ["null", "string"],
177
- },
178
- ventilation: {
179
- type: ["null", "number"],
180
- },
181
- ventilationCategory: {
182
- type: ["null", "string"],
183
- },
184
- humidityAdjustment: {
185
- type: ["null", "number"],
186
- },
187
- humidityAdjustmentCategory: {
188
- type: ["null", "string"],
189
- },
190
- warmWater: {
191
- type: ["null", "number"],
192
- },
193
- warmWaterCategory: {
194
- type: ["null", "string"],
195
- },
196
- lighting: {
197
- type: ["null", "number"],
198
- },
199
- lightingCategory: {
200
- type: ["null", "string"],
201
- },
202
- },
203
- required: [
204
- "penbnumber",
205
- "issueDate",
206
- "totalBuildingEnvelopeArea",
207
- "volumeFactorOfAvshape",
208
- "totalEnergyReferenceArea",
209
- "totalProvidedEnergy",
210
- "totalProvidedEnergyCategory",
211
- "primaryNonRenewableEnergy",
212
- "primaryNonRenewableEnergyCategory",
213
- "buildingEnvelope",
214
- "buildingEnvelopeCategory",
215
- "heating",
216
- "heatingCategory",
217
- "cooling",
218
- "coolingCategory",
219
- "ventilation",
220
- "ventilationCategory",
221
- "humidityAdjustment",
222
- "humidityAdjustmentCategory",
223
- "warmWater",
224
- "warmWaterCategory",
225
- "lighting",
226
- "lightingCategory",
227
- ],
228
- additionalProperties: true,
229
- },
230
- EnergyAudits: {
231
- type: "object",
232
- properties: {
233
- energyAudit: {
234
- type: ["null", "number", "boolean", "string"],
235
- },
236
- earegistrationNumber: {
237
- type: ["null", "number", "boolean", "string"],
238
- },
239
- createdAt: {
240
- type: ["null", "number", "boolean", "string"],
241
- },
242
- },
243
- required: ["energyAudit", "earegistrationNumber", "createdAt"],
244
- additionalProperties: true,
245
- },
246
- BuildingEnvelope: {
247
- type: "object",
248
- properties: {
249
- sideWall: {
250
- type: "object",
251
- properties: {
252
- prevailingConstruction: {
253
- type: ["null", "string"],
254
- },
255
- area: {
256
- type: ["null", "number"],
257
- },
258
- heatInsulation: {
259
- type: ["null", "string"],
260
- },
261
- yearOfAdjustment: {
262
- type: ["null", "number", "string"],
263
- },
264
- technicalCondition: {
265
- type: ["null", "number", "boolean", "string"],
266
- },
267
- },
268
- required: ["prevailingConstruction", "area", "heatInsulation", "yearOfAdjustment", "technicalCondition"],
269
- additionalProperties: true,
270
- },
271
- fillingOfHole: {
272
- type: "object",
273
- properties: {
274
- construction: {
275
- type: ["null", "string"],
276
- },
277
- area: {
278
- type: ["null", "number"],
279
- },
280
- yearOfAdjustment: {
281
- type: ["null", "number", "string"],
282
- },
283
- technicalCondition: {
284
- type: ["null", "number", "boolean", "string"],
285
- },
286
- },
287
- required: ["construction", "area", "yearOfAdjustment", "technicalCondition"],
288
- additionalProperties: true,
289
- },
290
- roof: {
291
- type: "object",
292
- properties: {
293
- construction: {
294
- type: ["null", "string"],
295
- },
296
- area: {
297
- type: ["null", "number"],
298
- },
299
- thermalInsulation: {
300
- type: ["null", "string"],
301
- },
302
- yearOfAdjustment: {
303
- type: ["null", "number", "string"],
304
- },
305
- technicalCondition: {
306
- type: ["null", "number", "boolean", "string"],
307
- },
308
- },
309
- required: ["construction", "area", "thermalInsulation", "yearOfAdjustment", "technicalCondition"],
310
- additionalProperties: true,
311
- },
312
- floorOfTheLowestHeatedFloor: {
313
- type: "object",
314
- properties: {
315
- construction: {
316
- type: ["null", "string"],
317
- },
318
- area: {
319
- type: ["null", "number"],
320
- },
321
- thermalInsulation: {
322
- type: ["null", "string"],
323
- },
324
- yearOfAdjustment: {
325
- type: ["null", "number", "string"],
326
- },
327
- technicalCondition: {
328
- type: ["null", "number", "boolean", "string"],
329
- },
330
- },
331
- required: ["construction", "area", "thermalInsulation", "yearOfAdjustment", "technicalCondition"],
332
- additionalProperties: true,
333
- },
334
- },
335
- required: ["sideWall", "fillingOfHole", "roof", "floorOfTheLowestHeatedFloor"],
336
- additionalProperties: true,
337
- },
338
- FuelAndEnergy: {
339
- type: "object",
340
- properties: {
341
- coal: {
342
- type: ["null", "boolean"],
343
- },
344
- gas: {
345
- type: ["null", "boolean"],
346
- },
347
- electricity: {
348
- type: ["null", "boolean"],
349
- },
350
- czt: {
351
- type: ["null", "boolean"],
352
- },
353
- oze: {
354
- type: ["null", "boolean"],
355
- },
356
- other: {
357
- type: ["null", "boolean"],
358
- },
359
- },
360
- required: ["coal", "gas", "electricity", "czt", "oze", "other"],
361
- additionalProperties: true,
362
- },
363
- TechnicalEquipment: {
364
- type: "object",
365
- properties: {
366
- heating: {
367
- type: "object",
368
- properties: {
369
- mainSourceOfHeat: {
370
- type: ["null", "string"],
371
- },
372
- heatPercentage: {
373
- type: ["null", "number"],
374
- },
375
- secondarySourceOfHeat: {
376
- type: ["null", "string"],
377
- },
378
- heatingSystem: {
379
- type: ["null", "string"],
380
- },
381
- year: {
382
- type: ["null", "number", "string"],
383
- },
384
- technicalCondition: {
385
- type: ["null", "number", "boolean", "string"],
386
- },
387
- },
388
- required: [
389
- "mainSourceOfHeat",
390
- "heatPercentage",
391
- "secondarySourceOfHeat",
392
- "heatingSystem",
393
- "year",
394
- "technicalCondition",
395
- ],
396
- additionalProperties: true,
397
- },
398
- cooling: {
399
- type: "object",
400
- properties: {
401
- coolingSystem: {
402
- type: ["null", "string"],
403
- },
404
- coolingAreaPercentage: {
405
- type: ["null", "number", "string"],
406
- },
407
- year: {
408
- type: ["null", "number", "string"],
409
- },
410
- technicalCondition: {
411
- type: ["null", "number", "boolean", "string"],
412
- },
413
- },
414
- required: ["coolingSystem", "coolingAreaPercentage", "year", "technicalCondition"],
415
- additionalProperties: true,
416
- },
417
- ventilation: {
418
- type: "object",
419
- properties: {
420
- ventilation: {
421
- type: ["null", "string"],
422
- },
423
- year: {
424
- type: ["null", "number", "string"],
425
- },
426
- technicalCondition: {
427
- type: ["null", "number", "boolean", "string"],
428
- },
429
- },
430
- required: ["ventilation", "year", "technicalCondition"],
431
- additionalProperties: true,
432
- },
433
- humidityAdjustment: {
434
- type: "object",
435
- properties: {
436
- humidityAdjustment: {
437
- type: ["null", "string"],
438
- },
439
- year: {
440
- type: ["null", "number", "string"],
441
- },
442
- technicalCondition: {
443
- type: ["null", "number", "boolean", "string"],
444
- },
445
- },
446
- required: ["humidityAdjustment", "year", "technicalCondition"],
447
- additionalProperties: true,
448
- },
449
- hotWater: {
450
- type: "object",
451
- properties: {
452
- predominantWayOfHeatingTv: {
453
- type: ["null", "string"],
454
- },
455
- hotWaterSource: {
456
- type: ["null", "string"],
457
- },
458
- year: {
459
- type: ["null", "number", "string"],
460
- },
461
- technicalCondition: {
462
- type: ["null", "number", "boolean", "string"],
463
- },
464
- },
465
- required: ["predominantWayOfHeatingTv", "hotWaterSource", "year", "technicalCondition"],
466
- additionalProperties: true,
467
- },
468
- lighting: {
469
- type: "object",
470
- properties: {
471
- lighting: {
472
- type: ["null", "string"],
473
- },
474
- year: {
475
- type: ["null", "number", "string"],
476
- },
477
- technicalCondition: {
478
- type: ["null", "number", "boolean", "string"],
479
- },
480
- otherTechnologicalElements: {
481
- type: ["null", "number", "boolean", "string"],
482
- },
483
- measurementMethod: {
484
- type: ["null", "string"],
485
- },
486
- },
487
- required: ["lighting", "year", "technicalCondition", "otherTechnologicalElements", "measurementMethod"],
488
- additionalProperties: true,
489
- },
490
- },
491
- required: ["heating", "cooling", "ventilation", "humidityAdjustment", "hotWater", "lighting"],
492
- additionalProperties: true,
493
- },
494
- OZEEnergyProduction: {
495
- type: "object",
496
- properties: {
497
- solarEnergyPhotovoltaic: {
498
- type: ["null", "number", "boolean", "string"],
499
- },
500
- solarEnergyPhotothermal: {
501
- type: ["null", "number", "boolean", "string"],
502
- },
503
- integratedTurbinesWindEnergy: {
504
- type: ["null", "number", "boolean", "string"],
505
- },
506
- heatPump: {
507
- type: ["null", "number", "boolean", "string"],
508
- },
509
- },
510
- required: ["solarEnergyPhotovoltaic", "solarEnergyPhotothermal", "integratedTurbinesWindEnergy", "heatPump"],
511
- additionalProperties: true,
512
- },
513
- WasteAndEmissions: {
514
- type: "object",
515
- properties: {
516
- solidWasteProduction: {
517
- type: ["null", "number", "boolean", "string"],
518
- },
519
- tiedCo2emissions: {
520
- type: ["null", "number", "boolean", "string"],
521
- },
522
- soxEmissions: {
523
- type: ["null", "number", "boolean", "string"],
524
- },
525
- operatingCo2emissions: {
526
- type: ["null", "number", "boolean", "string"],
527
- },
528
- },
529
- required: ["solidWasteProduction", "tiedCo2emissions", "soxEmissions", "operatingCo2emissions"],
530
- additionalProperties: true,
531
- },
532
- Link: {
533
- type: "string",
534
- },
535
- },
536
- required: [
537
- "Id",
538
- "Name",
539
- "Description",
540
- "BuildingAddressCode",
541
- "Label",
542
- "CurrentNote",
543
- "MainUse",
544
- "SecondaryUse",
545
- "YearOfConstruction",
546
- "MethodOfProtection",
547
- "BuiltUpArea",
548
- "HeatedBuldingVolume",
549
- "StudentsCount",
550
- "EmployeesCount",
551
- "ClassroomsCount",
552
- "BedsCount",
553
- "ENOId",
554
- "CSUCode",
555
- "KUCode",
556
- "AllotmentNumber",
557
- "RegistrationUnit",
558
- "GasConsumptionNormatives",
559
- "HeatConsumptionNormatives",
560
- "WaterConsumptionNormatives",
561
- "ElectricityConsumptionNormativesPerPerson",
562
- "ElectricityConsumptionNormatives",
563
- "EnergeticManagement",
564
- "OpeningHours",
565
- "WeekendOpeningHours",
566
- "Latitude",
567
- "Longitude",
568
- "Address",
569
- "PENB",
570
- "EnergyAudits",
571
- "BuildingEnvelope",
572
- "FuelAndEnergy",
573
- "TechnicalEquipment",
574
- "OZEEnergyProduction",
575
- "WasteAndEmissions",
576
- "Link",
577
- ],
578
- additionalProperties: true,
579
- },
580
- };
581
- exports.datasourceEnesaEnergyBuildings = datasourceEnesaEnergyBuildings;
582
- const datasourceEnesaEnergyConsumption = {
583
- type: "array",
584
- items: {
585
- type: "object",
586
- properties: {
587
- timeUtc: {
588
- type: "string",
589
- },
590
- value: {
591
- type: "string",
592
- },
593
- addr: {
594
- type: ["null", "string"],
595
- },
596
- var: {
597
- type: ["null", "string"],
598
- },
599
- type: {
600
- type: ["null", "string"],
601
- },
602
- commodity: {
603
- type: ["null", "string"],
604
- },
605
- unit: {
606
- type: ["null", "string"],
607
- },
608
- meter: {
609
- type: ["null", "string"],
610
- },
611
- },
612
- required: ["timeUtc", "value", "addr", "var", "type", "commodity", "unit", "meter"],
613
- additionalProperties: true,
614
- },
615
- };
616
- exports.datasourceEnesaEnergyConsumption = datasourceEnesaEnergyConsumption;
617
- const datasourceEnesaEnergyDevices = {
618
- type: "array",
619
- items: {
620
- type: "object",
621
- properties: {
622
- id: {
623
- type: "integer",
624
- },
625
- addr: {
626
- type: ["null", "string"],
627
- },
628
- description: {
629
- type: ["null", "string"],
630
- },
631
- meterNumber: {
632
- type: ["null", "string"],
633
- },
634
- meterIndex: {
635
- type: ["null", "string", "integer"],
636
- },
637
- locationNumber: {
638
- type: ["null", "string"],
639
- },
640
- locationDescription: {
641
- type: ["null", "string"],
642
- },
643
- includeInEvaluation: {
644
- type: ["null", "boolean"],
645
- },
646
- meterType: {
647
- type: ["null", "string"],
648
- },
649
- category: {
650
- type: ["null", "string"],
651
- },
652
- unit: {
653
- type: ["null", "string"],
654
- },
655
- replacedMeterId: {
656
- type: ["null", "number"],
657
- },
658
- deleted: {
659
- type: ["null", "boolean"],
660
- },
661
- buildingId: {
662
- type: "integer",
663
- },
664
- },
665
- required: [
666
- "id",
667
- "addr",
668
- "description",
669
- "meterNumber",
670
- "meterIndex",
671
- "locationNumber",
672
- "locationDescription",
673
- "includeInEvaluation",
674
- "meterType",
675
- "category",
676
- "unit",
677
- "replacedMeterId",
678
- "deleted",
679
- "buildingId",
680
- ],
681
- additionalProperties: true,
682
- },
683
- };
684
- exports.datasourceEnesaEnergyDevices = datasourceEnesaEnergyDevices;
685
- //# sourceMappingURL=EnergeticsEnesaDatasourceSchemas.js.map