@twin.org/blob-storage-service 0.0.1-next.34 → 0.0.1-next.36
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/cjs/index.cjs +95 -31
- package/dist/esm/index.mjs +97 -33
- package/dist/types/blobStorageService.d.ts +21 -5
- package/dist/types/entities/blobStorageEntry.d.ts +9 -0
- package/dist/types/models/IBlobStorageServiceConfig.d.ts +1 -2
- package/dist/types/models/IBlobStorageServiceConstructorOptions.d.ts +1 -1
- package/docs/changelog.md +32 -0
- package/docs/open-api/spec.json +72 -956
- package/docs/reference/classes/BlobStorageEntry.md +16 -0
- package/docs/reference/classes/BlobStorageService.md +42 -4
- package/docs/reference/interfaces/IBlobStorageServiceConfig.md +1 -7
- package/docs/reference/interfaces/IBlobStorageServiceConstructorOptions.md +1 -1
- package/locales/en.json +2 -1
- package/package.json +2 -2
package/docs/open-api/spec.json
CHANGED
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"get": {
|
|
131
|
-
"operationId": "
|
|
131
|
+
"operationId": "blobStorageQuery",
|
|
132
132
|
"summary": "Query the items from blob storage",
|
|
133
133
|
"tags": [
|
|
134
134
|
"Blob Storage"
|
|
@@ -388,9 +388,27 @@
|
|
|
388
388
|
"in": "query",
|
|
389
389
|
"required": false,
|
|
390
390
|
"schema": {
|
|
391
|
-
"type": "
|
|
391
|
+
"type": "string"
|
|
392
392
|
},
|
|
393
|
-
"example": true
|
|
393
|
+
"example": "true"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "decompress",
|
|
397
|
+
"description": "If the content should be decompressed, if it was compressed when stored, defaults to true.",
|
|
398
|
+
"in": "query",
|
|
399
|
+
"required": false,
|
|
400
|
+
"schema": {
|
|
401
|
+
"type": "string"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "overrideVaultKeyId",
|
|
406
|
+
"description": "Use a different vault key id for decryption, if not provided the default vault key id will be used.",
|
|
407
|
+
"in": "query",
|
|
408
|
+
"required": false,
|
|
409
|
+
"schema": {
|
|
410
|
+
"type": "string"
|
|
411
|
+
}
|
|
394
412
|
},
|
|
395
413
|
{
|
|
396
414
|
"name": "accept",
|
|
@@ -896,17 +914,20 @@
|
|
|
896
914
|
},
|
|
897
915
|
"components": {
|
|
898
916
|
"schemas": {
|
|
899
|
-
"
|
|
900
|
-
"
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
"
|
|
917
|
+
"BlobStorageCompressionType": {
|
|
918
|
+
"anyOf": [
|
|
919
|
+
{
|
|
920
|
+
"type": "string",
|
|
921
|
+
"const": "gzip",
|
|
922
|
+
"description": "Gzip."
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"type": "string",
|
|
926
|
+
"const": "deflate",
|
|
927
|
+
"description": "Deflate."
|
|
904
928
|
}
|
|
905
|
-
},
|
|
906
|
-
"required": [
|
|
907
|
-
"byteLength"
|
|
908
929
|
],
|
|
909
|
-
"
|
|
930
|
+
"description": "The types of compression for blob storage data."
|
|
910
931
|
},
|
|
911
932
|
"BlobStorageCreateRequest": {
|
|
912
933
|
"type": "object",
|
|
@@ -924,7 +945,20 @@
|
|
|
924
945
|
"description": "The extension of the blob, will be detected if left undefined."
|
|
925
946
|
},
|
|
926
947
|
"metadata": {
|
|
927
|
-
"$ref": "
|
|
948
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
949
|
+
},
|
|
950
|
+
"disableEncryption": {
|
|
951
|
+
"type": "boolean",
|
|
952
|
+
"description": "Disables encryption if enabled by default.",
|
|
953
|
+
"default": false
|
|
954
|
+
},
|
|
955
|
+
"compress": {
|
|
956
|
+
"$ref": "#/components/schemas/BlobStorageCompressionType"
|
|
957
|
+
},
|
|
958
|
+
"overrideVaultKeyId": {
|
|
959
|
+
"type": "string",
|
|
960
|
+
"description": "Use a different vault key id for encryption, if not provided the default vault key id will be used.",
|
|
961
|
+
"default": "undefined"
|
|
928
962
|
},
|
|
929
963
|
"namespace": {
|
|
930
964
|
"type": "string",
|
|
@@ -943,7 +977,8 @@
|
|
|
943
977
|
"@context": {
|
|
944
978
|
"type": "array",
|
|
945
979
|
"minItems": 2,
|
|
946
|
-
"
|
|
980
|
+
"description": "JSON-LD Context.",
|
|
981
|
+
"prefixItems": [
|
|
947
982
|
{
|
|
948
983
|
"type": "string",
|
|
949
984
|
"const": "https://schema.twindev.org/blob-storage/"
|
|
@@ -953,10 +988,9 @@
|
|
|
953
988
|
"const": "https://schema.twindev.org/common/"
|
|
954
989
|
}
|
|
955
990
|
],
|
|
956
|
-
"
|
|
957
|
-
"$ref": "
|
|
958
|
-
}
|
|
959
|
-
"description": "JSON-LD Context."
|
|
991
|
+
"items": {
|
|
992
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
993
|
+
}
|
|
960
994
|
},
|
|
961
995
|
"type": {
|
|
962
996
|
"type": "string",
|
|
@@ -987,12 +1021,19 @@
|
|
|
987
1021
|
"type": "string",
|
|
988
1022
|
"description": "The mime type for the blob."
|
|
989
1023
|
},
|
|
1024
|
+
"isEncrypted": {
|
|
1025
|
+
"type": "boolean",
|
|
1026
|
+
"description": "Indicates if the blob is encrypted."
|
|
1027
|
+
},
|
|
1028
|
+
"compression": {
|
|
1029
|
+
"$ref": "#/components/schemas/BlobStorageCompressionType"
|
|
1030
|
+
},
|
|
990
1031
|
"fileExtension": {
|
|
991
1032
|
"type": "string",
|
|
992
1033
|
"description": "The extension."
|
|
993
1034
|
},
|
|
994
1035
|
"metadata": {
|
|
995
|
-
"$ref": "
|
|
1036
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
996
1037
|
},
|
|
997
1038
|
"blob": {
|
|
998
1039
|
"type": "string",
|
|
@@ -1016,7 +1057,8 @@
|
|
|
1016
1057
|
"@context": {
|
|
1017
1058
|
"type": "array",
|
|
1018
1059
|
"minItems": 3,
|
|
1019
|
-
"
|
|
1060
|
+
"description": "JSON-LD Context.",
|
|
1061
|
+
"prefixItems": [
|
|
1020
1062
|
{
|
|
1021
1063
|
"type": "string",
|
|
1022
1064
|
"const": "https://schema.org"
|
|
@@ -1030,10 +1072,9 @@
|
|
|
1030
1072
|
"const": "https://schema.twindev.org/common/"
|
|
1031
1073
|
}
|
|
1032
1074
|
],
|
|
1033
|
-
"
|
|
1034
|
-
"$ref": "
|
|
1035
|
-
}
|
|
1036
|
-
"description": "JSON-LD Context."
|
|
1075
|
+
"items": {
|
|
1076
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
1077
|
+
}
|
|
1037
1078
|
},
|
|
1038
1079
|
"type": {
|
|
1039
1080
|
"type": "string",
|
|
@@ -1042,10 +1083,12 @@
|
|
|
1042
1083
|
},
|
|
1043
1084
|
"itemListElement": {
|
|
1044
1085
|
"type": "array",
|
|
1045
|
-
"
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1086
|
+
"description": "The list of entries.",
|
|
1087
|
+
"prefixItems": [
|
|
1088
|
+
{
|
|
1089
|
+
"$ref": "#/components/schemas/BlobStorageEntry"
|
|
1090
|
+
}
|
|
1091
|
+
]
|
|
1049
1092
|
},
|
|
1050
1093
|
"nextItem": {
|
|
1051
1094
|
"type": "string",
|
|
@@ -1072,7 +1115,7 @@
|
|
|
1072
1115
|
"description": "The extension of the blob, will be detected if left undefined."
|
|
1073
1116
|
},
|
|
1074
1117
|
"metadata": {
|
|
1075
|
-
"$ref": "
|
|
1118
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1076
1119
|
}
|
|
1077
1120
|
},
|
|
1078
1121
|
"additionalProperties": false,
|
|
@@ -1113,933 +1156,6 @@
|
|
|
1113
1156
|
"additionalProperties": false,
|
|
1114
1157
|
"description": "Model to describe serialized error."
|
|
1115
1158
|
},
|
|
1116
|
-
"JsonLdContainerType": {
|
|
1117
|
-
"type": "string",
|
|
1118
|
-
"enum": [
|
|
1119
|
-
"@language",
|
|
1120
|
-
"@index",
|
|
1121
|
-
"@id",
|
|
1122
|
-
"@graph",
|
|
1123
|
-
"@type"
|
|
1124
|
-
],
|
|
1125
|
-
"description": "JSON-LD container types."
|
|
1126
|
-
},
|
|
1127
|
-
"JsonLdContainerTypeArray": {
|
|
1128
|
-
"anyOf": [
|
|
1129
|
-
{
|
|
1130
|
-
"type": "array",
|
|
1131
|
-
"minItems": 2,
|
|
1132
|
-
"items": [
|
|
1133
|
-
{
|
|
1134
|
-
"type": "string",
|
|
1135
|
-
"const": "@graph"
|
|
1136
|
-
},
|
|
1137
|
-
{
|
|
1138
|
-
"type": "string",
|
|
1139
|
-
"const": "@id"
|
|
1140
|
-
}
|
|
1141
|
-
],
|
|
1142
|
-
"maxItems": 2
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"type": "array",
|
|
1146
|
-
"minItems": 2,
|
|
1147
|
-
"items": [
|
|
1148
|
-
{
|
|
1149
|
-
"type": "string",
|
|
1150
|
-
"const": "@id"
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"type": "string",
|
|
1154
|
-
"const": "@graph"
|
|
1155
|
-
}
|
|
1156
|
-
],
|
|
1157
|
-
"maxItems": 2
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"type": "array",
|
|
1161
|
-
"minItems": 3,
|
|
1162
|
-
"items": [
|
|
1163
|
-
{
|
|
1164
|
-
"type": "string",
|
|
1165
|
-
"const": "@set"
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"type": "string",
|
|
1169
|
-
"const": "@graph"
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
"type": "string",
|
|
1173
|
-
"const": "@id"
|
|
1174
|
-
}
|
|
1175
|
-
],
|
|
1176
|
-
"maxItems": 3
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"type": "array",
|
|
1180
|
-
"minItems": 3,
|
|
1181
|
-
"items": [
|
|
1182
|
-
{
|
|
1183
|
-
"type": "string",
|
|
1184
|
-
"const": "@set"
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"type": "string",
|
|
1188
|
-
"const": "@id"
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
"type": "string",
|
|
1192
|
-
"const": "@graph"
|
|
1193
|
-
}
|
|
1194
|
-
],
|
|
1195
|
-
"maxItems": 3
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"type": "array",
|
|
1199
|
-
"minItems": 3,
|
|
1200
|
-
"items": [
|
|
1201
|
-
{
|
|
1202
|
-
"type": "string",
|
|
1203
|
-
"const": "@graph"
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
"type": "string",
|
|
1207
|
-
"const": "@set"
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"type": "string",
|
|
1211
|
-
"const": "@id"
|
|
1212
|
-
}
|
|
1213
|
-
],
|
|
1214
|
-
"maxItems": 3
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"type": "array",
|
|
1218
|
-
"minItems": 3,
|
|
1219
|
-
"items": [
|
|
1220
|
-
{
|
|
1221
|
-
"type": "string",
|
|
1222
|
-
"const": "@id"
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
"type": "string",
|
|
1226
|
-
"const": "@set"
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"type": "string",
|
|
1230
|
-
"const": "@graph"
|
|
1231
|
-
}
|
|
1232
|
-
],
|
|
1233
|
-
"maxItems": 3
|
|
1234
|
-
},
|
|
1235
|
-
{
|
|
1236
|
-
"type": "array",
|
|
1237
|
-
"minItems": 3,
|
|
1238
|
-
"items": [
|
|
1239
|
-
{
|
|
1240
|
-
"type": "string",
|
|
1241
|
-
"const": "@graph"
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
"type": "string",
|
|
1245
|
-
"const": "@id"
|
|
1246
|
-
},
|
|
1247
|
-
{
|
|
1248
|
-
"type": "string",
|
|
1249
|
-
"const": "@set"
|
|
1250
|
-
}
|
|
1251
|
-
],
|
|
1252
|
-
"maxItems": 3
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
"type": "array",
|
|
1256
|
-
"minItems": 3,
|
|
1257
|
-
"items": [
|
|
1258
|
-
{
|
|
1259
|
-
"type": "string",
|
|
1260
|
-
"const": "@id"
|
|
1261
|
-
},
|
|
1262
|
-
{
|
|
1263
|
-
"type": "string",
|
|
1264
|
-
"const": "@graph"
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
"type": "string",
|
|
1268
|
-
"const": "@set"
|
|
1269
|
-
}
|
|
1270
|
-
],
|
|
1271
|
-
"maxItems": 3
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
"type": "array",
|
|
1275
|
-
"minItems": 2,
|
|
1276
|
-
"items": [
|
|
1277
|
-
{
|
|
1278
|
-
"type": "string",
|
|
1279
|
-
"const": "@set"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1283
|
-
}
|
|
1284
|
-
],
|
|
1285
|
-
"maxItems": 2
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
"type": "array",
|
|
1289
|
-
"minItems": 2,
|
|
1290
|
-
"items": [
|
|
1291
|
-
{
|
|
1292
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
"type": "string",
|
|
1296
|
-
"const": "@set"
|
|
1297
|
-
}
|
|
1298
|
-
],
|
|
1299
|
-
"maxItems": 2
|
|
1300
|
-
}
|
|
1301
|
-
],
|
|
1302
|
-
"description": "JSON-LD container type array."
|
|
1303
|
-
},
|
|
1304
|
-
"JsonLdContextDefinition": {
|
|
1305
|
-
"type": "object",
|
|
1306
|
-
"properties": {
|
|
1307
|
-
"@base": {
|
|
1308
|
-
"type": [
|
|
1309
|
-
"string",
|
|
1310
|
-
"null"
|
|
1311
|
-
]
|
|
1312
|
-
},
|
|
1313
|
-
"@direction": {
|
|
1314
|
-
"type": [
|
|
1315
|
-
"string",
|
|
1316
|
-
"null"
|
|
1317
|
-
],
|
|
1318
|
-
"enum": [
|
|
1319
|
-
"ltr",
|
|
1320
|
-
"rtl",
|
|
1321
|
-
null
|
|
1322
|
-
]
|
|
1323
|
-
},
|
|
1324
|
-
"@import": {
|
|
1325
|
-
"type": "string"
|
|
1326
|
-
},
|
|
1327
|
-
"@language": {
|
|
1328
|
-
"type": "string"
|
|
1329
|
-
},
|
|
1330
|
-
"@propagate": {
|
|
1331
|
-
"type": "boolean"
|
|
1332
|
-
},
|
|
1333
|
-
"@protected": {
|
|
1334
|
-
"type": "boolean"
|
|
1335
|
-
},
|
|
1336
|
-
"@type": {
|
|
1337
|
-
"type": "object",
|
|
1338
|
-
"properties": {
|
|
1339
|
-
"@container": {
|
|
1340
|
-
"type": "string",
|
|
1341
|
-
"const": "@set"
|
|
1342
|
-
},
|
|
1343
|
-
"@protected": {
|
|
1344
|
-
"type": "boolean"
|
|
1345
|
-
}
|
|
1346
|
-
},
|
|
1347
|
-
"required": [
|
|
1348
|
-
"@container"
|
|
1349
|
-
],
|
|
1350
|
-
"additionalProperties": false
|
|
1351
|
-
},
|
|
1352
|
-
"@version": {
|
|
1353
|
-
"type": "string",
|
|
1354
|
-
"const": "1.1"
|
|
1355
|
-
},
|
|
1356
|
-
"@vocab": {
|
|
1357
|
-
"type": [
|
|
1358
|
-
"string",
|
|
1359
|
-
"null"
|
|
1360
|
-
]
|
|
1361
|
-
}
|
|
1362
|
-
},
|
|
1363
|
-
"additionalProperties": {
|
|
1364
|
-
"anyOf": [
|
|
1365
|
-
{
|
|
1366
|
-
"type": "null"
|
|
1367
|
-
},
|
|
1368
|
-
{
|
|
1369
|
-
"type": "string"
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"$ref": "#/components/schemas/JsonLdExpandedTermDefinition"
|
|
1373
|
-
}
|
|
1374
|
-
]
|
|
1375
|
-
},
|
|
1376
|
-
"description": "A context definition defines a local context in a node object."
|
|
1377
|
-
},
|
|
1378
|
-
"JsonLdContextDefinitionElement": {
|
|
1379
|
-
"anyOf": [
|
|
1380
|
-
{
|
|
1381
|
-
"type": "null"
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
"type": "string"
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1388
|
-
}
|
|
1389
|
-
],
|
|
1390
|
-
"description": "A context definition element is used to define the types of a context definition."
|
|
1391
|
-
},
|
|
1392
|
-
"JsonLdContextDefinitionRoot": {
|
|
1393
|
-
"anyOf": [
|
|
1394
|
-
{
|
|
1395
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
"type": "array",
|
|
1399
|
-
"items": {
|
|
1400
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
],
|
|
1404
|
-
"description": "A context definition root is used to define the root of a context definition."
|
|
1405
|
-
},
|
|
1406
|
-
"JsonLdExpandedTermDefinition": {
|
|
1407
|
-
"anyOf": [
|
|
1408
|
-
{
|
|
1409
|
-
"type": "object",
|
|
1410
|
-
"additionalProperties": false,
|
|
1411
|
-
"properties": {
|
|
1412
|
-
"@id": {
|
|
1413
|
-
"anyOf": [
|
|
1414
|
-
{
|
|
1415
|
-
"type": "string"
|
|
1416
|
-
},
|
|
1417
|
-
{
|
|
1418
|
-
"type": "array",
|
|
1419
|
-
"items": {
|
|
1420
|
-
"type": "string"
|
|
1421
|
-
}
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"type": "null"
|
|
1425
|
-
}
|
|
1426
|
-
]
|
|
1427
|
-
},
|
|
1428
|
-
"@nest": {
|
|
1429
|
-
"type": "string"
|
|
1430
|
-
},
|
|
1431
|
-
"@container": {
|
|
1432
|
-
"anyOf": [
|
|
1433
|
-
{
|
|
1434
|
-
"type": "string",
|
|
1435
|
-
"const": "@list"
|
|
1436
|
-
},
|
|
1437
|
-
{
|
|
1438
|
-
"type": "string",
|
|
1439
|
-
"const": "@set"
|
|
1440
|
-
},
|
|
1441
|
-
{
|
|
1442
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
"type": "array",
|
|
1446
|
-
"items": {
|
|
1447
|
-
"anyOf": [
|
|
1448
|
-
{
|
|
1449
|
-
"type": "string",
|
|
1450
|
-
"const": "@list"
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
"type": "string",
|
|
1454
|
-
"const": "@set"
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1458
|
-
}
|
|
1459
|
-
]
|
|
1460
|
-
}
|
|
1461
|
-
},
|
|
1462
|
-
{
|
|
1463
|
-
"$ref": "#/components/schemas/JsonLdContainerTypeArray"
|
|
1464
|
-
},
|
|
1465
|
-
{
|
|
1466
|
-
"type": "null"
|
|
1467
|
-
}
|
|
1468
|
-
]
|
|
1469
|
-
},
|
|
1470
|
-
"@type": {
|
|
1471
|
-
"type": "string"
|
|
1472
|
-
},
|
|
1473
|
-
"@language": {
|
|
1474
|
-
"type": "string"
|
|
1475
|
-
},
|
|
1476
|
-
"@index": {
|
|
1477
|
-
"type": "string"
|
|
1478
|
-
},
|
|
1479
|
-
"@context": {
|
|
1480
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1481
|
-
},
|
|
1482
|
-
"@prefix": {
|
|
1483
|
-
"type": "boolean"
|
|
1484
|
-
},
|
|
1485
|
-
"@propagate": {
|
|
1486
|
-
"type": "boolean"
|
|
1487
|
-
},
|
|
1488
|
-
"@protected": {
|
|
1489
|
-
"type": "boolean"
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
},
|
|
1493
|
-
{
|
|
1494
|
-
"type": "object",
|
|
1495
|
-
"additionalProperties": false,
|
|
1496
|
-
"properties": {
|
|
1497
|
-
"@reverse": {
|
|
1498
|
-
"type": "string"
|
|
1499
|
-
},
|
|
1500
|
-
"@container": {
|
|
1501
|
-
"type": [
|
|
1502
|
-
"string",
|
|
1503
|
-
"null"
|
|
1504
|
-
],
|
|
1505
|
-
"enum": [
|
|
1506
|
-
"@set",
|
|
1507
|
-
"@index",
|
|
1508
|
-
null
|
|
1509
|
-
]
|
|
1510
|
-
},
|
|
1511
|
-
"@type": {
|
|
1512
|
-
"type": "string"
|
|
1513
|
-
},
|
|
1514
|
-
"@language": {
|
|
1515
|
-
"type": "string"
|
|
1516
|
-
},
|
|
1517
|
-
"@index": {
|
|
1518
|
-
"type": "string"
|
|
1519
|
-
},
|
|
1520
|
-
"@context": {
|
|
1521
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1522
|
-
},
|
|
1523
|
-
"@prefix": {
|
|
1524
|
-
"type": "boolean"
|
|
1525
|
-
},
|
|
1526
|
-
"@propagate": {
|
|
1527
|
-
"type": "boolean"
|
|
1528
|
-
},
|
|
1529
|
-
"@protected": {
|
|
1530
|
-
"type": "boolean"
|
|
1531
|
-
}
|
|
1532
|
-
},
|
|
1533
|
-
"required": [
|
|
1534
|
-
"@reverse"
|
|
1535
|
-
]
|
|
1536
|
-
}
|
|
1537
|
-
],
|
|
1538
|
-
"description": "An expanded term definition is used to describe the mapping between a term and its expanded identifier, as well as other properties of the value associated with the term when it is used as key in a node object."
|
|
1539
|
-
},
|
|
1540
|
-
"JsonLdGraphObject": {
|
|
1541
|
-
"type": "object",
|
|
1542
|
-
"properties": {
|
|
1543
|
-
"@graph": {
|
|
1544
|
-
"anyOf": [
|
|
1545
|
-
{
|
|
1546
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"type": "array",
|
|
1550
|
-
"items": {
|
|
1551
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
]
|
|
1555
|
-
},
|
|
1556
|
-
"@index": {
|
|
1557
|
-
"type": "string"
|
|
1558
|
-
},
|
|
1559
|
-
"@id": {
|
|
1560
|
-
"anyOf": [
|
|
1561
|
-
{
|
|
1562
|
-
"type": "string"
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
"type": "array",
|
|
1566
|
-
"items": {
|
|
1567
|
-
"type": "string"
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
]
|
|
1571
|
-
},
|
|
1572
|
-
"@context": {
|
|
1573
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1574
|
-
}
|
|
1575
|
-
},
|
|
1576
|
-
"required": [
|
|
1577
|
-
"@graph"
|
|
1578
|
-
],
|
|
1579
|
-
"additionalProperties": false,
|
|
1580
|
-
"description": "A graph object represents a named graph, which MAY include an explicit graph name."
|
|
1581
|
-
},
|
|
1582
|
-
"JsonLdIdMap": {
|
|
1583
|
-
"type": "object",
|
|
1584
|
-
"additionalProperties": {
|
|
1585
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1586
|
-
},
|
|
1587
|
-
"description": "An id map is used to associate an IRI with a value that allows easy programmatic access."
|
|
1588
|
-
},
|
|
1589
|
-
"JsonLdIncludedBlock": {
|
|
1590
|
-
"anyOf": [
|
|
1591
|
-
{
|
|
1592
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"type": "array",
|
|
1596
|
-
"items": {
|
|
1597
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
],
|
|
1601
|
-
"description": "An included block is used to provide a set of node objects."
|
|
1602
|
-
},
|
|
1603
|
-
"JsonLdIndexMap": {
|
|
1604
|
-
"type": "object",
|
|
1605
|
-
"additionalProperties": {
|
|
1606
|
-
"anyOf": [
|
|
1607
|
-
{
|
|
1608
|
-
"$ref": "#/components/schemas/JsonLdIndexMapItem"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"type": "array",
|
|
1612
|
-
"items": {
|
|
1613
|
-
"$ref": "#/components/schemas/JsonLdIndexMapItem"
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
]
|
|
1617
|
-
},
|
|
1618
|
-
"description": "An index map allows keys that have no semantic meaning, but should be preserved regardless, to be used in JSON-LD documents."
|
|
1619
|
-
},
|
|
1620
|
-
"JsonLdIndexMapItem": {
|
|
1621
|
-
"anyOf": [
|
|
1622
|
-
{
|
|
1623
|
-
"type": "null"
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"type": "boolean"
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"type": "number"
|
|
1630
|
-
},
|
|
1631
|
-
{
|
|
1632
|
-
"type": "string"
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1636
|
-
},
|
|
1637
|
-
{
|
|
1638
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"$ref": "#/components/schemas/JsonLdListObject"
|
|
1642
|
-
},
|
|
1643
|
-
{
|
|
1644
|
-
"$ref": "#/components/schemas/JsonLdSetObject"
|
|
1645
|
-
}
|
|
1646
|
-
],
|
|
1647
|
-
"description": "The items that can be stored in an index map."
|
|
1648
|
-
},
|
|
1649
|
-
"JsonLdJsonArray": {
|
|
1650
|
-
"type": "array",
|
|
1651
|
-
"items": {
|
|
1652
|
-
"$ref": "#/components/schemas/JsonLdJsonValue"
|
|
1653
|
-
},
|
|
1654
|
-
"description": "JSON Type for array."
|
|
1655
|
-
},
|
|
1656
|
-
"JsonLdJsonObject": {
|
|
1657
|
-
"type": "object",
|
|
1658
|
-
"additionalProperties": {
|
|
1659
|
-
"anyOf": [
|
|
1660
|
-
{
|
|
1661
|
-
"$ref": "#/components/schemas/JsonLdJsonValue"
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"not": {}
|
|
1665
|
-
}
|
|
1666
|
-
]
|
|
1667
|
-
},
|
|
1668
|
-
"description": "JSON Type for object."
|
|
1669
|
-
},
|
|
1670
|
-
"JsonLdJsonPrimitive": {
|
|
1671
|
-
"type": [
|
|
1672
|
-
"string",
|
|
1673
|
-
"number",
|
|
1674
|
-
"boolean",
|
|
1675
|
-
"null"
|
|
1676
|
-
],
|
|
1677
|
-
"description": "JSON Primitive."
|
|
1678
|
-
},
|
|
1679
|
-
"JsonLdJsonValue": {
|
|
1680
|
-
"anyOf": [
|
|
1681
|
-
{
|
|
1682
|
-
"$ref": "#/components/schemas/JsonLdJsonPrimitive"
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
"$ref": "#/components/schemas/JsonLdJsonArray"
|
|
1686
|
-
},
|
|
1687
|
-
{
|
|
1688
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
1689
|
-
}
|
|
1690
|
-
],
|
|
1691
|
-
"description": "JSON Value."
|
|
1692
|
-
},
|
|
1693
|
-
"JsonLdLanguageMap": {
|
|
1694
|
-
"type": "object",
|
|
1695
|
-
"additionalProperties": {
|
|
1696
|
-
"anyOf": [
|
|
1697
|
-
{
|
|
1698
|
-
"type": "null"
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
"type": "string"
|
|
1702
|
-
},
|
|
1703
|
-
{
|
|
1704
|
-
"type": "array",
|
|
1705
|
-
"items": {
|
|
1706
|
-
"type": "string"
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
]
|
|
1710
|
-
},
|
|
1711
|
-
"description": "A language map is used to associate a language with a value in a way that allows easy programmatic access."
|
|
1712
|
-
},
|
|
1713
|
-
"JsonLdListObject": {
|
|
1714
|
-
"type": "object",
|
|
1715
|
-
"properties": {
|
|
1716
|
-
"@list": {
|
|
1717
|
-
"anyOf": [
|
|
1718
|
-
{
|
|
1719
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
"type": "array",
|
|
1723
|
-
"items": {
|
|
1724
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
]
|
|
1728
|
-
},
|
|
1729
|
-
"@index": {
|
|
1730
|
-
"type": "string"
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
"required": [
|
|
1734
|
-
"@list"
|
|
1735
|
-
],
|
|
1736
|
-
"additionalProperties": false,
|
|
1737
|
-
"description": "A list represents an ordered set of values."
|
|
1738
|
-
},
|
|
1739
|
-
"JsonLdListOrSetItem": {
|
|
1740
|
-
"anyOf": [
|
|
1741
|
-
{
|
|
1742
|
-
"type": "null"
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
"type": "boolean"
|
|
1746
|
-
},
|
|
1747
|
-
{
|
|
1748
|
-
"type": "number"
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
"type": "string"
|
|
1752
|
-
},
|
|
1753
|
-
{
|
|
1754
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1755
|
-
},
|
|
1756
|
-
{
|
|
1757
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
1758
|
-
}
|
|
1759
|
-
],
|
|
1760
|
-
"description": "A list or set item can be a null, boolean, number, string, node object, or value object."
|
|
1761
|
-
},
|
|
1762
|
-
"JsonLdNodeObject": {
|
|
1763
|
-
"type": "object",
|
|
1764
|
-
"additionalProperties": {
|
|
1765
|
-
"anyOf": [
|
|
1766
|
-
{
|
|
1767
|
-
"$ref": "#/components/schemas/JsonLdNodePrimitive"
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"$ref": "#/components/schemas/JsonLdLanguageMap"
|
|
1771
|
-
},
|
|
1772
|
-
{
|
|
1773
|
-
"$ref": "#/components/schemas/JsonLdIndexMap"
|
|
1774
|
-
},
|
|
1775
|
-
{
|
|
1776
|
-
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
1777
|
-
},
|
|
1778
|
-
{
|
|
1779
|
-
"$ref": "#/components/schemas/JsonLdIdMap"
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"$ref": "#/components/schemas/JsonLdTypeMap"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"type": "array"
|
|
1786
|
-
}
|
|
1787
|
-
]
|
|
1788
|
-
},
|
|
1789
|
-
"properties": {
|
|
1790
|
-
"@context": {
|
|
1791
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1792
|
-
},
|
|
1793
|
-
"@id": {
|
|
1794
|
-
"anyOf": [
|
|
1795
|
-
{
|
|
1796
|
-
"type": "string"
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
"type": "array",
|
|
1800
|
-
"items": {
|
|
1801
|
-
"type": "string"
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
]
|
|
1805
|
-
},
|
|
1806
|
-
"@included": {
|
|
1807
|
-
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
1808
|
-
},
|
|
1809
|
-
"@graph": {
|
|
1810
|
-
"anyOf": [
|
|
1811
|
-
{
|
|
1812
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"type": "array",
|
|
1816
|
-
"items": {
|
|
1817
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
]
|
|
1821
|
-
},
|
|
1822
|
-
"@nest": {
|
|
1823
|
-
"anyOf": [
|
|
1824
|
-
{
|
|
1825
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
1826
|
-
},
|
|
1827
|
-
{
|
|
1828
|
-
"type": "array",
|
|
1829
|
-
"items": {
|
|
1830
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
1831
|
-
}
|
|
1832
|
-
}
|
|
1833
|
-
]
|
|
1834
|
-
},
|
|
1835
|
-
"@type": {
|
|
1836
|
-
"anyOf": [
|
|
1837
|
-
{
|
|
1838
|
-
"type": "string"
|
|
1839
|
-
},
|
|
1840
|
-
{
|
|
1841
|
-
"type": "array",
|
|
1842
|
-
"items": {
|
|
1843
|
-
"type": "string"
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
|
-
]
|
|
1847
|
-
},
|
|
1848
|
-
"@reverse": {
|
|
1849
|
-
"type": "object",
|
|
1850
|
-
"additionalProperties": {
|
|
1851
|
-
"type": "string"
|
|
1852
|
-
}
|
|
1853
|
-
},
|
|
1854
|
-
"@index": {
|
|
1855
|
-
"type": "string"
|
|
1856
|
-
}
|
|
1857
|
-
},
|
|
1858
|
-
"description": "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document."
|
|
1859
|
-
},
|
|
1860
|
-
"JsonLdNodePrimitive": {
|
|
1861
|
-
"anyOf": [
|
|
1862
|
-
{
|
|
1863
|
-
"type": "null"
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"type": "boolean"
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"type": "number"
|
|
1870
|
-
},
|
|
1871
|
-
{
|
|
1872
|
-
"type": "string"
|
|
1873
|
-
},
|
|
1874
|
-
{
|
|
1875
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
"$ref": "#/components/schemas/JsonLdGraphObject"
|
|
1879
|
-
},
|
|
1880
|
-
{
|
|
1881
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"$ref": "#/components/schemas/JsonLdListObject"
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"$ref": "#/components/schemas/JsonLdSetObject"
|
|
1888
|
-
}
|
|
1889
|
-
],
|
|
1890
|
-
"description": "A node primitive is a JSON-LD value which is not one of the defined NodeObject properties."
|
|
1891
|
-
},
|
|
1892
|
-
"JsonLdSetObject": {
|
|
1893
|
-
"type": "object",
|
|
1894
|
-
"properties": {
|
|
1895
|
-
"@set": {
|
|
1896
|
-
"anyOf": [
|
|
1897
|
-
{
|
|
1898
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1899
|
-
},
|
|
1900
|
-
{
|
|
1901
|
-
"type": "array",
|
|
1902
|
-
"items": {
|
|
1903
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1904
|
-
}
|
|
1905
|
-
}
|
|
1906
|
-
]
|
|
1907
|
-
},
|
|
1908
|
-
"@index": {
|
|
1909
|
-
"type": "string"
|
|
1910
|
-
}
|
|
1911
|
-
},
|
|
1912
|
-
"required": [
|
|
1913
|
-
"@set"
|
|
1914
|
-
],
|
|
1915
|
-
"additionalProperties": false,
|
|
1916
|
-
"description": "A set represents an unordered set of values."
|
|
1917
|
-
},
|
|
1918
|
-
"JsonLdTypeMap": {
|
|
1919
|
-
"type": "object",
|
|
1920
|
-
"additionalProperties": {
|
|
1921
|
-
"anyOf": [
|
|
1922
|
-
{
|
|
1923
|
-
"type": "string"
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1927
|
-
}
|
|
1928
|
-
]
|
|
1929
|
-
},
|
|
1930
|
-
"description": "A type map is used to associate an IRI with a value that allows easy programmatic access."
|
|
1931
|
-
},
|
|
1932
|
-
"JsonLdValueObject": {
|
|
1933
|
-
"anyOf": [
|
|
1934
|
-
{
|
|
1935
|
-
"type": "object",
|
|
1936
|
-
"additionalProperties": false,
|
|
1937
|
-
"properties": {
|
|
1938
|
-
"@value": {
|
|
1939
|
-
"type": [
|
|
1940
|
-
"null",
|
|
1941
|
-
"boolean",
|
|
1942
|
-
"number",
|
|
1943
|
-
"string"
|
|
1944
|
-
]
|
|
1945
|
-
},
|
|
1946
|
-
"@language": {
|
|
1947
|
-
"type": "string"
|
|
1948
|
-
},
|
|
1949
|
-
"@direction": {
|
|
1950
|
-
"type": [
|
|
1951
|
-
"string",
|
|
1952
|
-
"null"
|
|
1953
|
-
],
|
|
1954
|
-
"enum": [
|
|
1955
|
-
"ltr",
|
|
1956
|
-
"rtl",
|
|
1957
|
-
null
|
|
1958
|
-
]
|
|
1959
|
-
},
|
|
1960
|
-
"@index": {
|
|
1961
|
-
"type": "string"
|
|
1962
|
-
},
|
|
1963
|
-
"@context": {
|
|
1964
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1965
|
-
}
|
|
1966
|
-
},
|
|
1967
|
-
"required": [
|
|
1968
|
-
"@value"
|
|
1969
|
-
]
|
|
1970
|
-
},
|
|
1971
|
-
{
|
|
1972
|
-
"type": "object",
|
|
1973
|
-
"additionalProperties": false,
|
|
1974
|
-
"properties": {
|
|
1975
|
-
"@value": {
|
|
1976
|
-
"type": [
|
|
1977
|
-
"null",
|
|
1978
|
-
"boolean",
|
|
1979
|
-
"number",
|
|
1980
|
-
"string"
|
|
1981
|
-
]
|
|
1982
|
-
},
|
|
1983
|
-
"@type": {
|
|
1984
|
-
"type": "string"
|
|
1985
|
-
},
|
|
1986
|
-
"@index": {
|
|
1987
|
-
"type": "string"
|
|
1988
|
-
},
|
|
1989
|
-
"@context": {
|
|
1990
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1991
|
-
}
|
|
1992
|
-
},
|
|
1993
|
-
"required": [
|
|
1994
|
-
"@type",
|
|
1995
|
-
"@value"
|
|
1996
|
-
]
|
|
1997
|
-
},
|
|
1998
|
-
{
|
|
1999
|
-
"type": "object",
|
|
2000
|
-
"additionalProperties": false,
|
|
2001
|
-
"properties": {
|
|
2002
|
-
"@value": {
|
|
2003
|
-
"anyOf": [
|
|
2004
|
-
{
|
|
2005
|
-
"type": "null"
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"type": "boolean"
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"type": "number"
|
|
2012
|
-
},
|
|
2013
|
-
{
|
|
2014
|
-
"type": "string"
|
|
2015
|
-
},
|
|
2016
|
-
{
|
|
2017
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"$ref": "#/components/schemas/JsonLdJsonArray"
|
|
2021
|
-
}
|
|
2022
|
-
]
|
|
2023
|
-
},
|
|
2024
|
-
"@type": {
|
|
2025
|
-
"type": "string",
|
|
2026
|
-
"const": "@json"
|
|
2027
|
-
},
|
|
2028
|
-
"@index": {
|
|
2029
|
-
"type": "string"
|
|
2030
|
-
},
|
|
2031
|
-
"@context": {
|
|
2032
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
2033
|
-
}
|
|
2034
|
-
},
|
|
2035
|
-
"required": [
|
|
2036
|
-
"@type",
|
|
2037
|
-
"@value"
|
|
2038
|
-
]
|
|
2039
|
-
}
|
|
2040
|
-
],
|
|
2041
|
-
"description": "A value object is used to explicitly associate a type or a language with a value to create a typed value or a language-tagged string and possibly associate a base direction."
|
|
2042
|
-
},
|
|
2043
1159
|
"NotFoundResponse": {
|
|
2044
1160
|
"type": "object",
|
|
2045
1161
|
"additionalProperties": false,
|