forked from node-opcua/node-opcua
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfetch.js
More file actions
304 lines (246 loc) · 19.4 KB
/
fetch.js
File metadata and controls
304 lines (246 loc) · 19.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
const request = require("request");
const fs = require("fs");
const ProgressBar = require('progress');
const _ = require("underscore");
const url = require("url");
const https = require('https');
let http = require('http');
const force = true;
function wget(dest_folder, file_url) {
dest_folder = dest_folder || "1.02";
if (!fs.existsSync(dest_folder)) {
fs.mkdirSync(dest_folder);
}
if (file_url.substr(0, 5) === "https") {
http = https;
}
const path = require("path");
const filename = path.join(dest_folder, path.basename(file_url)); // + path.extname(url);
if (fs.existsSync(filename) && !force) {
console.log(" " + filename + " already downloaded " + file_url);
return;
}
console.log(" downloading " + filename + " from " + file_url);
const stream = fs.createWriteStream(filename, {flag: "w"});
const request_options = url.parse(file_url);
request_options.headers = {'user-agent': 'Mozilla/5.0'};
// Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36
const req = http.get(request_options, function (response) {
// handle the response
let res_data = '';
// console.log(response);
let fileBytes = parseInt(response.headers['content-length'], 10);
if (!_.isFinite(fileBytes)) {
fileBytes = 10000;
}
const bar = new ProgressBar(' downloading ' + file_url + '[:bar] :percent :etas', {
complete: '=',
incomplete: ' ',
width: 20,
total: fileBytes
});
response.on('data', function (chunk) {
res_data += chunk;
if (chunk.length) {
try {
bar.tick(chunk.length);
} catch (err) {
console.log(chunk.length, " fileBytes = ", response.headers['content-length']);
}
}
stream.write(chunk, "binary");
});
response.on('end', function () {
stream.end();
});
});
req.on('error', function (err) {
console.log("Request error: " + err.message);
});
}
/*
File Description File Name Permanent URL Alternate URL
OPC UA XML Type Definitions The XML schema for all data types defined in the OPC UA specifications. Opc.Ua.Types.xsd http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Types.xsd http://opcfoundation.org/UA/2008/02/Types.xsd
OPC UA Service Message Definitions The WSDL for all service messages defined in the OPC UA specifications. Opc.Ua.Services.wsdl http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Services.wsdl http://opcfoundation.org/UA/2008/02/Services.wsdl
OPC UA Service Interface Definitions The WSDL for logical groupings of OPC UA Services. Opc.Ua.Endpoints.wsdl http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Endpoints.wsdl http://opcfoundation.org/UA/2008/02/Endpoints.wsdl
The XML schema for all data types defined in the DI specification. Opc.Ua.Di.Types.xsd http://opcfoundation.org/UA/schemas/DI/1.00/Opc.Ua.Di.Types.xsd http://opcfoundation.org/UA/DI/Types.xsd
The XML schema for all data types defined in the ADI specification. Opc.Ua.Adi.Types.xsd http://opcfoundation.org/UA/schemas/ADI/1.00/Opc.Ua.Adi.Types.xsd http://opcfoundation.org/UA/ADI/Types.xsd
Secured Application Schema The XML schema for import/export of application configuration information. SecuredApplication.xsd http://opcfoundation.org/UA/schemas/1.02/SecuredApplication.xsd http://opcfoundation.org/UA/2011/03/SecuredApplication.xsd
UANodeSet Schema The XML schema used to persist an OPC UA information model. UANodeSet.xsd http://opcfoundation.org/UA/schemas/1.02/UANodeSet.xsd http://opcfoundation.org/UA/2011/03/UANodeSet.xsd
UANodeSet Schema A support file for the XML schema used to persist an OPC UA information model. UAVariant.xsd http://opcfoundation.org/UA/schemas/1.02/UAVariant.xsd
OPC UA Node Set (All) The UANodeSet for all Nodes defined by the OPC UA specifications. Opc.Ua.NodeSet2.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.xml
OPC UA Node Set (Part 3) The UANodeSet for all Nodes defined by Part 3 of the OPC UA specification. Opc.Ua.NodeSet2.Part3.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part3.xml
OPC UA Node Set (Part 4) The UANodeSet for all Nodes defined by Part 4 of the OPC UA specification. Opc.Ua.NodeSet2.Part4.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part4.xml
OPC UA Node Set (Part 5) The UANodeSet for all Nodes defined by Part 5 of the OPC UA specification. Opc.Ua.NodeSet2.Part5.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part5.xml
OPC UA Node Set (Part 8) The UANodeSet for all Nodes defined by Part 8 of the OPC UA specification. Opc.Ua.NodeSet2.Part8.xml http://opcfoundation.org/UA/schemas/Opc.Ua.NodeSet2.Part8.xml
OPC UA Node Set (Part 9) The UANodeSet for all Nodes defined by Part 9 of the OPC UA specification. Opc.Ua.NodeSet2.Part9.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part9.xml
OPC UA Node Set (Part 10) The UANodeSet for all Nodes defined by Part 10 of the OPC UA specification. Opc.Ua.NodeSet2.Part10.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part10.xml
OPC UA Node Set (Part 11) The UANodeSet for all Nodes defined by Part 11 of the OPC UA specification. Opc.Ua.NodeSet2.Part11.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part11.xml
OPC UA Node Set (Part 13) The UANodeSet for all Nodes defined by Part 13 of the OPC UA specification. Opc.Ua.NodeSet2.Part13.xml http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part13.xml
DI NodeSet The UANodeSet for all Nodes defined by the DI specification. Opc.Ua.Di.NodeSet2.xml http://opcfoundation.org/UA/schemas/DI/1.00/Opc.Ua.Di.NodeSet2.xml
ADI NodeSet The UANodeSet for all Nodes defined by the ADI specification. Opc.Ua.Adi.NodeSet2.xml http://opcfoundation.org/UA/schemas/ADI/1.00/Opc.Ua.Adi.NodeSet2.xml
OPC Binary Type Schema The XML schema used to describe the layout of binary encoding structures. OPC BinarySchema.xsd http://opcfoundation.org/UA/schemas/1.02/OPCBinarySchema.xsd http://opcfoundation.org/BinarySchema/
OPC UA Binary Type Definitions The OPC Binary schema for all data types defined in the OPC UA specifications. Opc.Ua.Types.bsd http://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Types.bsd
The OPC Binary schema for all data types defined in the DI specification. Opc.Ua.Di.Types.bsd http://opcfoundation.org/UA/schemas/DI/1.00/Opc.Ua.Di.Types.bsd http://opcfoundation.org/UA/DI/Types.bsd
The OPC Binary schema for all data types defined in the ADI specification. Opc.Ua.Adi.Types.bsd http://opcfoundation.org/UA/schemas/ADI/1.00/Opc.Ua.Adi.Types.bsd http://opcfoundation.org/UA/ADI/Types.bsd
OPC UA Attribute Ids The numeric identifier for all OPC UA Node attributes. AttributeIds.csv http://opcfoundation.org/UA/schemas/1.02/AttributeIds.csv
OPC UA Status Codes The numeric identifier for all StatusCodes defined in the OPC UA specifications. StatusCode.csv http://opcfoundation.org/UA/schemas/1.02/StatusCode.csv
OPC UA NodeIds The numeric identifier for all NodeIds defined in the OPC UA specifications. NodeIds.csv http://opcfoundation.org/UA/schemas/1.02/NodeIds.csv
*/
if (false) {
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Types.bsd.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.StatusCodes.csv");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part8.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.xml");
wget("1.02", "https://opcfoundation.org/UA/2008/02/Types.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Types.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Services.wsdl");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Endpoints.wsdl");
wget("1.02", "https://opcfoundation.org/UA/schemas/DI/1.00/Opc.Ua.Di.Types.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/ADI/1.00/Opc.Ua.Adi.Types.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/SecuredApplication.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/UANodeSet.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/UAVariant.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part3.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part4.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part5.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part8.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part9.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part10.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part11.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.NodeSet2.Part13.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/DI/1.00/Opc.Ua.Di.NodeSet2.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/ADI/1.00/Opc.Ua.Adi.NodeSet2.xml");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/OPCBinarySchema.xsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/Opc.Ua.Types.bsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/DI/1.00/Opc.Ua.Di.Types.bsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/ADI/1.00/Opc.Ua.Adi.Types.bsd");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/AttributeIds.csv");
wget("1.02", "https://opcfoundation.org/UA/schemas/1.02/NodeIds.csv");
}
if (false) {
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.StatusCodes.csv");
wget("1.03", "https://www.opcfoundation.org/UA/schemas/1.03/StatusCode.csv");
wget("1.03", "https://www.opcfoundation.org/UA/schemas/1.03/NodeIds.csv");
wget("1.03", "https://www.opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.xml");
wget("1.03", "https://www.opcfoundation.org/UA/schemas/1.03/Opc.Ua.Types.bsd.xml");
wget("1.03", "https://www.opcfoundation.org/UA/schemas/1.03/Opc.Ua.Endpoints.wsdl");
wget("1.03", "https://www.opcfoundation.org/UA/schemas/1.03/SecuredApplication.xsd");
wget("1.03", "https://www.opcfoundation.org/UA/schemas/1.03/UANodeSet.xsd");
///
wget("1.03", "https://opcfoundation.org/UA/2008/02/Types.xsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.Types.bsd.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part8.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.Types.xsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.Services.wsdl");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.Endpoints.wsdl");
wget("1.03", "https://opcfoundation.org/UA/schemas/DI/1.1/Opc.Ua.Di.NodeSet2.xml");
//xx wget("1.03","https://opcfoundation.org/UA/schemas/DI/1.1/Opc.Ua.Di.Types.xsd");
//xx wget("1.03","https://opcfoundation.org/UA/schemas/DI/1.1/Opc.Ua.Di.Types.bsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/ADI/1.0/Opc.Ua.Adi.NodeSet2.xml");
//xx wget("1.03","https://opcfoundation.org/UA/schemas/ADI/1.0/Opc.Ua.Adi.Types.xsd");
//xx wget("1.03","https://opcfoundation.org/UA/schemas/ADI/1.0/Opc.Ua.Adi.Types.bsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/SecuredApplication.xsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/UANodeSet.xsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/UAVariant.xsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part3.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part4.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part5.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part8.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part9.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part10.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part11.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.NodeSet2.Part13.xml");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/OPCBinarySchema.xsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.Types.bsd");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/AttributeIds.csv");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/NodeIds.csv");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/StatusCodes.csv");
wget("1.03", "https://opcfoundation.org/UA/schemas/1.03/StatusCode.csv");
}
if (false) {
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.StatusCodes.csv");
wget("1.04", "https://www.opcfoundation.org/UA/schemas/1.04/StatusCode.csv");
wget("1.04", "https://www.opcfoundation.org/UA/schemas/1.04/NodeIds.csv");
wget("1.04", "https://www.opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.xml");
wget("1.04", "https://www.opcfoundation.org/UA/schemas/1.04/Opc.Ua.Types.bsd.xml");
wget("1.04", "https://www.opcfoundation.org/UA/schemas/1.04/Opc.Ua.Endpoints.wsdl");
wget("1.04", "https://www.opcfoundation.org/UA/schemas/1.04/SecuredApplication.xsd");
wget("1.04", "https://www.opcfoundation.org/UA/schemas/1.04/UANodeSet.xsd");
///
wget("1.04", "https://opcfoundation.org/UA/2008/02/Types.xsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.Types.bsd.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part8.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.Types.xsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.Services.wsdl");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.Endpoints.wsdl");
wget("1.04", "https://opcfoundation.org/UA/schemas/DI/1.1/Opc.Ua.Di.NodeSet2.xml");
//xx wget("1.04","https://opcfoundation.org/UA/schemas/DI/1.1/Opc.Ua.Di.Types.xsd");
//xx wget("1.04","https://opcfoundation.org/UA/schemas/DI/1.1/Opc.Ua.Di.Types.bsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/ADI/1.0/Opc.Ua.Adi.NodeSet2.xml");
//xx wget("1.04","https://opcfoundation.org/UA/schemas/ADI/1.0/Opc.Ua.Adi.Types.xsd");
//xx wget("1.04","https://opcfoundation.org/UA/schemas/ADI/1.0/Opc.Ua.Adi.Types.bsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/SecuredApplication.xsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/UANodeSet.xsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/UAVariant.xsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part3.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part4.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part5.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part8.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part9.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part10.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part11.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.NodeSet2.Part13.xml");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/OPCBinarySchema.xsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/Opc.Ua.Types.bsd");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/AttributeIds.csv");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/NodeIds.csv");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/StatusCodes.csv");
wget("1.04", "https://opcfoundation.org/UA/schemas/1.04/StatusCode.csv");
}
// with git hub
function fetch_from_github(version,file){
wget("1.04","https://raw.githubusercontent.com/OPCFoundation/UA-Nodeset/v" + version + "/" + file);
}
const version = "1.04";
fetch_from_github(version, "Schema/StatusCode.csv");
fetch_from_github(version, "Schema/NodeIds.csv");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.xml");
fetch_from_github(version, "Schema/Opc.Ua.Types.bsd.xml");
fetch_from_github(version, "Schema/Opc.Ua.Endpoints.wsdl");
fetch_from_github(version, "Schema/SecuredApplication.xsd");
fetch_from_github(version, "Schema/UANodeSet.xsd");
fetch_from_github(version, "Schema/Types.xsd");
fetch_from_github(version, "Schema/Opc.Ua.Types.bsd.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part8.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.xml");
fetch_from_github(version, "Schema/Opc.Ua.Types.xsd");
fetch_from_github(version, "/DI/Opc.Ua.Di.NodeSet2.xml");
fetch_from_github(version, "/DI/Opc.Ua.Di.Types.xsd");
fetch_from_github(version, "/DI/Opc.Ua.Di.Types.bsd");
fetch_from_github(version, "ADI/Opc.Ua.Adi.NodeSet2.xml");
fetch_from_github(version, "ADI/Opc.Ua.Adi.Types.xsd");
fetch_from_github(version, "ADI/Opc.Ua.Adi.Types.bsd");
fetch_from_github(version, "Schema/SecuredApplication.xsd");
fetch_from_github(version, "Schema/UANodeSet.xsd");
fetch_from_github(version, "Schema/UAVariant.xsd");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part3.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part4.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part5.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part8.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part9.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part10.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part11.xml");
fetch_from_github(version, "Schema/Opc.Ua.NodeSet2.Part13.xml");
fetch_from_github(version, "Schema/OPCBinarySchema.xsd");
fetch_from_github(version, "Schema/Opc.Ua.Types.bsd");
fetch_from_github(version, "Schema/AttributeIds.csv");
fetch_from_github(version, "Schema/NodeIds.csv");
fetch_from_github(version, "Schema/StatusCodes.csv");
fetch_from_github(version, "Schema/StatusCode.csv");