@twin.org/document-management-service 0.0.1-next.16 → 0.0.1-next.18
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 +4 -2
- package/dist/esm/index.mjs +4 -2
- package/docs/changelog.md +28 -0
- package/docs/open-api/spec.json +174 -1888
- package/package.json +2 -2
package/docs/open-api/spec.json
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"content": {
|
|
188
188
|
"application/json": {
|
|
189
189
|
"schema": {
|
|
190
|
-
"$ref": "
|
|
190
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphVertexList"
|
|
191
191
|
},
|
|
192
192
|
"examples": {
|
|
193
193
|
"DocumentManagementQueryResponseExample": {
|
|
@@ -196,7 +196,10 @@
|
|
|
196
196
|
"https://schema.org",
|
|
197
197
|
"https://schema.twindev.org/aig/"
|
|
198
198
|
],
|
|
199
|
-
"type":
|
|
199
|
+
"type": [
|
|
200
|
+
"ItemList",
|
|
201
|
+
"AuditableItemGraphVertexList"
|
|
202
|
+
],
|
|
200
203
|
"itemListElement": [
|
|
201
204
|
{
|
|
202
205
|
"@context": [
|
|
@@ -1009,16 +1012,17 @@
|
|
|
1009
1012
|
},
|
|
1010
1013
|
"components": {
|
|
1011
1014
|
"schemas": {
|
|
1012
|
-
"
|
|
1015
|
+
"Document": {
|
|
1013
1016
|
"type": "object",
|
|
1014
1017
|
"properties": {
|
|
1015
1018
|
"@context": {
|
|
1016
1019
|
"type": "array",
|
|
1017
1020
|
"minItems": 3,
|
|
1018
|
-
"
|
|
1021
|
+
"description": "JSON-LD Context.",
|
|
1022
|
+
"prefixItems": [
|
|
1019
1023
|
{
|
|
1020
1024
|
"type": "string",
|
|
1021
|
-
"const": "https://schema.twindev.org/
|
|
1025
|
+
"const": "https://schema.twindev.org/documents/"
|
|
1022
1026
|
},
|
|
1023
1027
|
{
|
|
1024
1028
|
"type": "string",
|
|
@@ -1029,2011 +1033,293 @@
|
|
|
1029
1033
|
"const": "https://schema.org"
|
|
1030
1034
|
}
|
|
1031
1035
|
],
|
|
1032
|
-
"
|
|
1033
|
-
"$ref": "
|
|
1034
|
-
}
|
|
1035
|
-
"description": "JSON-LD Context."
|
|
1036
|
+
"items": {
|
|
1037
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
1038
|
+
}
|
|
1036
1039
|
},
|
|
1037
1040
|
"type": {
|
|
1038
1041
|
"type": "string",
|
|
1039
|
-
"const": "
|
|
1042
|
+
"const": "Document",
|
|
1040
1043
|
"description": "JSON-LD Type."
|
|
1041
1044
|
},
|
|
1042
1045
|
"id": {
|
|
1043
1046
|
"type": "string",
|
|
1044
|
-
"description": "The
|
|
1047
|
+
"description": "The full id of the document."
|
|
1045
1048
|
},
|
|
1046
|
-
"
|
|
1049
|
+
"documentId": {
|
|
1047
1050
|
"type": "string",
|
|
1048
|
-
"description": "
|
|
1051
|
+
"description": "The id of the document."
|
|
1049
1052
|
},
|
|
1050
|
-
"
|
|
1053
|
+
"documentIdFormat": {
|
|
1051
1054
|
"type": "string",
|
|
1052
|
-
"description": "
|
|
1055
|
+
"description": "The format of the document id."
|
|
1053
1056
|
},
|
|
1054
|
-
"
|
|
1055
|
-
"
|
|
1056
|
-
|
|
1057
|
+
"documentCode": {
|
|
1058
|
+
"$ref": "#/components/schemas/UneceDocumentCodes"
|
|
1059
|
+
},
|
|
1060
|
+
"documentRevision": {
|
|
1061
|
+
"type": "number",
|
|
1062
|
+
"description": "The revision of the document as a 0 based index."
|
|
1063
|
+
},
|
|
1064
|
+
"annotationObject": {
|
|
1065
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1057
1066
|
},
|
|
1058
|
-
"
|
|
1067
|
+
"blobStorageId": {
|
|
1059
1068
|
"type": "string",
|
|
1060
|
-
"description": "The
|
|
1069
|
+
"description": "The blob storage id for the document."
|
|
1061
1070
|
},
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1071
|
+
"blobHash": {
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"description": "The hash of the blob data."
|
|
1064
1074
|
},
|
|
1065
|
-
"
|
|
1066
|
-
"$ref": "
|
|
1075
|
+
"blobStorageEntry": {
|
|
1076
|
+
"$ref": "https://schema.twindev.org/blob-storage/BlobStorageEntry"
|
|
1067
1077
|
},
|
|
1068
|
-
"
|
|
1069
|
-
"
|
|
1070
|
-
"description": "Whether the attestation has been verified."
|
|
1078
|
+
"extractedData": {
|
|
1079
|
+
"description": "The data extracted from the document using data extraction services."
|
|
1071
1080
|
},
|
|
1072
|
-
"
|
|
1073
|
-
"type": "string",
|
|
1074
|
-
"description": "The verification failure message."
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
"required": [
|
|
1078
|
-
"@context",
|
|
1079
|
-
"type",
|
|
1080
|
-
"id",
|
|
1081
|
-
"dateCreated",
|
|
1082
|
-
"ownerIdentity",
|
|
1083
|
-
"attestationObject"
|
|
1084
|
-
],
|
|
1085
|
-
"additionalProperties": false,
|
|
1086
|
-
"description": "Interface describing the collated attestation information."
|
|
1087
|
-
},
|
|
1088
|
-
"AuditableItemGraphAlias": {
|
|
1089
|
-
"type": "object",
|
|
1090
|
-
"properties": {
|
|
1091
|
-
"id": {
|
|
1081
|
+
"attestationId": {
|
|
1092
1082
|
"type": "string",
|
|
1093
|
-
"description": "The
|
|
1083
|
+
"description": "The attestation for the document if one was created."
|
|
1084
|
+
},
|
|
1085
|
+
"attestationInformation": {
|
|
1086
|
+
"$ref": "https://schema.twindev.org/attestation/AttestationInformation"
|
|
1094
1087
|
},
|
|
1095
1088
|
"dateCreated": {
|
|
1096
1089
|
"type": "string",
|
|
1097
|
-
"description": "The date/time of when the
|
|
1090
|
+
"description": "The date/time of when the document was created."
|
|
1098
1091
|
},
|
|
1099
1092
|
"dateModified": {
|
|
1100
1093
|
"type": "string",
|
|
1101
|
-
"description": "The date/time of when the
|
|
1094
|
+
"description": "The date/time of when the document was modified."
|
|
1102
1095
|
},
|
|
1103
1096
|
"dateDeleted": {
|
|
1104
1097
|
"type": "string",
|
|
1105
|
-
"description": "The date/time of when the
|
|
1106
|
-
},
|
|
1107
|
-
"@context": {
|
|
1108
|
-
"anyOf": [
|
|
1109
|
-
{
|
|
1110
|
-
"type": "string",
|
|
1111
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1112
|
-
},
|
|
1113
|
-
{
|
|
1114
|
-
"type": "array",
|
|
1115
|
-
"minItems": 1,
|
|
1116
|
-
"items": [
|
|
1117
|
-
{
|
|
1118
|
-
"type": "string",
|
|
1119
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1120
|
-
}
|
|
1121
|
-
],
|
|
1122
|
-
"additionalItems": {
|
|
1123
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
],
|
|
1127
|
-
"description": "JSON-LD Context."
|
|
1098
|
+
"description": "The date/time of when the document was deleted, as we never actually remove items."
|
|
1128
1099
|
},
|
|
1129
|
-
"
|
|
1100
|
+
"nodeIdentity": {
|
|
1130
1101
|
"type": "string",
|
|
1131
|
-
"
|
|
1132
|
-
"description": "JSON-LD Type."
|
|
1133
|
-
},
|
|
1134
|
-
"annotationObject": {
|
|
1135
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1102
|
+
"description": "The node which added the document to the graph."
|
|
1136
1103
|
},
|
|
1137
|
-
"
|
|
1104
|
+
"userIdentity": {
|
|
1138
1105
|
"type": "string",
|
|
1139
|
-
"description": "The
|
|
1106
|
+
"description": "The user who added the document to the graph."
|
|
1140
1107
|
}
|
|
1141
1108
|
},
|
|
1142
1109
|
"required": [
|
|
1143
1110
|
"@context",
|
|
1111
|
+
"type",
|
|
1144
1112
|
"id",
|
|
1145
|
-
"
|
|
1113
|
+
"documentId",
|
|
1114
|
+
"documentCode",
|
|
1115
|
+
"documentRevision",
|
|
1116
|
+
"blobStorageId",
|
|
1117
|
+
"blobHash",
|
|
1118
|
+
"dateCreated",
|
|
1119
|
+
"nodeIdentity",
|
|
1120
|
+
"userIdentity"
|
|
1146
1121
|
],
|
|
1147
1122
|
"additionalProperties": false,
|
|
1148
|
-
"description": "Interface describing
|
|
1123
|
+
"description": "Interface describing a document."
|
|
1149
1124
|
},
|
|
1150
|
-
"
|
|
1125
|
+
"DocumentList": {
|
|
1151
1126
|
"type": "object",
|
|
1152
1127
|
"properties": {
|
|
1153
1128
|
"@context": {
|
|
1154
1129
|
"type": "array",
|
|
1155
|
-
"minItems":
|
|
1156
|
-
"
|
|
1130
|
+
"minItems": 3,
|
|
1131
|
+
"description": "JSON-LD Context.",
|
|
1132
|
+
"prefixItems": [
|
|
1133
|
+
{
|
|
1134
|
+
"type": "string",
|
|
1135
|
+
"const": "https://schema.org"
|
|
1136
|
+
},
|
|
1157
1137
|
{
|
|
1158
1138
|
"type": "string",
|
|
1159
|
-
"const": "https://schema.twindev.org/
|
|
1139
|
+
"const": "https://schema.twindev.org/documents/"
|
|
1160
1140
|
},
|
|
1161
1141
|
{
|
|
1162
1142
|
"type": "string",
|
|
1163
1143
|
"const": "https://schema.twindev.org/common/"
|
|
1164
1144
|
}
|
|
1165
1145
|
],
|
|
1166
|
-
"
|
|
1167
|
-
"$ref": "
|
|
1168
|
-
}
|
|
1169
|
-
"description": "JSON-LD Context."
|
|
1146
|
+
"items": {
|
|
1147
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
1148
|
+
}
|
|
1170
1149
|
},
|
|
1171
1150
|
"type": {
|
|
1172
1151
|
"type": "string",
|
|
1173
|
-
"const": "
|
|
1152
|
+
"const": "ItemList",
|
|
1174
1153
|
"description": "JSON-LD Type."
|
|
1175
1154
|
},
|
|
1176
|
-
"
|
|
1177
|
-
"type": "
|
|
1178
|
-
"description": "The
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
"userIdentity": {
|
|
1185
|
-
"type": "string",
|
|
1186
|
-
"description": "The user identity that created the changes."
|
|
1155
|
+
"itemListElement": {
|
|
1156
|
+
"type": "array",
|
|
1157
|
+
"description": "The list of documents.",
|
|
1158
|
+
"prefixItems": [
|
|
1159
|
+
{
|
|
1160
|
+
"$ref": "#/components/schemas/Document"
|
|
1161
|
+
}
|
|
1162
|
+
]
|
|
1187
1163
|
},
|
|
1188
|
-
"
|
|
1164
|
+
"edges": {
|
|
1189
1165
|
"type": "array",
|
|
1190
|
-
"
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1166
|
+
"description": "The ids of the other vertices which are connected to the document.",
|
|
1167
|
+
"prefixItems": [
|
|
1168
|
+
{
|
|
1169
|
+
"type": "string"
|
|
1170
|
+
}
|
|
1171
|
+
]
|
|
1194
1172
|
},
|
|
1195
|
-
"
|
|
1173
|
+
"nextItem": {
|
|
1196
1174
|
"type": "string",
|
|
1197
|
-
"description": "The
|
|
1198
|
-
},
|
|
1199
|
-
"verification": {
|
|
1200
|
-
"$ref": "#/components/schemas/ImmutableProofVerification"
|
|
1175
|
+
"description": "The cursor to get the next chunk of documents."
|
|
1201
1176
|
}
|
|
1202
1177
|
},
|
|
1203
1178
|
"required": [
|
|
1204
1179
|
"@context",
|
|
1205
1180
|
"type",
|
|
1206
|
-
"
|
|
1207
|
-
"dateCreated",
|
|
1208
|
-
"userIdentity",
|
|
1209
|
-
"patches"
|
|
1181
|
+
"itemListElement"
|
|
1210
1182
|
],
|
|
1211
1183
|
"additionalProperties": false,
|
|
1212
|
-
"description": "Interface describing a
|
|
1184
|
+
"description": "Interface describing a list of document entries."
|
|
1213
1185
|
},
|
|
1214
|
-
"
|
|
1186
|
+
"DocumentManagementCreateRequest": {
|
|
1215
1187
|
"type": "object",
|
|
1216
1188
|
"properties": {
|
|
1217
|
-
"
|
|
1218
|
-
"type": "string",
|
|
1219
|
-
"description": "The id of the element."
|
|
1220
|
-
},
|
|
1221
|
-
"dateCreated": {
|
|
1222
|
-
"type": "string",
|
|
1223
|
-
"description": "The date/time of when the element was created."
|
|
1224
|
-
},
|
|
1225
|
-
"dateModified": {
|
|
1189
|
+
"documentId": {
|
|
1226
1190
|
"type": "string",
|
|
1227
|
-
"description": "The
|
|
1191
|
+
"description": "The document id to create."
|
|
1228
1192
|
},
|
|
1229
|
-
"
|
|
1193
|
+
"documentIdFormat": {
|
|
1230
1194
|
"type": "string",
|
|
1231
|
-
"description": "The
|
|
1195
|
+
"description": "The format of the document identifier."
|
|
1232
1196
|
},
|
|
1233
|
-
"
|
|
1234
|
-
"
|
|
1235
|
-
{
|
|
1236
|
-
"type": "string",
|
|
1237
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
"type": "array",
|
|
1241
|
-
"minItems": 1,
|
|
1242
|
-
"items": [
|
|
1243
|
-
{
|
|
1244
|
-
"type": "string",
|
|
1245
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1246
|
-
}
|
|
1247
|
-
],
|
|
1248
|
-
"additionalItems": {
|
|
1249
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
],
|
|
1253
|
-
"description": "JSON-LD Context."
|
|
1197
|
+
"documentCode": {
|
|
1198
|
+
"$ref": "#/components/schemas/UneceDocumentCodes"
|
|
1254
1199
|
},
|
|
1255
|
-
"
|
|
1200
|
+
"blob": {
|
|
1256
1201
|
"type": "string",
|
|
1257
|
-
"
|
|
1258
|
-
"description": "JSON-LD Type."
|
|
1202
|
+
"description": "The data to create the document with, in base64."
|
|
1259
1203
|
},
|
|
1260
1204
|
"annotationObject": {
|
|
1261
|
-
"$ref": "
|
|
1205
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1262
1206
|
},
|
|
1263
|
-
"
|
|
1207
|
+
"auditableItemGraphEdges": {
|
|
1264
1208
|
"type": "array",
|
|
1265
|
-
"
|
|
1266
|
-
|
|
1267
|
-
},
|
|
1268
|
-
"description": "The relationships between the two vertices."
|
|
1269
|
-
}
|
|
1270
|
-
},
|
|
1271
|
-
"required": [
|
|
1272
|
-
"@context",
|
|
1273
|
-
"id",
|
|
1274
|
-
"type",
|
|
1275
|
-
"edgeRelationships"
|
|
1276
|
-
],
|
|
1277
|
-
"additionalProperties": false,
|
|
1278
|
-
"description": "Interface describing an edge between two vertices in an auditable item graph."
|
|
1279
|
-
},
|
|
1280
|
-
"AuditableItemGraphPatchOperation": {
|
|
1281
|
-
"type": "object",
|
|
1282
|
-
"properties": {
|
|
1283
|
-
"@context": {
|
|
1284
|
-
"anyOf": [
|
|
1285
|
-
{
|
|
1286
|
-
"type": "string",
|
|
1287
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1288
|
-
},
|
|
1209
|
+
"description": "The auditable item graph vertices to connect the document to.",
|
|
1210
|
+
"prefixItems": [
|
|
1289
1211
|
{
|
|
1290
|
-
"type": "
|
|
1291
|
-
"
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1212
|
+
"type": "object",
|
|
1213
|
+
"properties": {
|
|
1214
|
+
"id": {
|
|
1215
|
+
"type": "string"
|
|
1216
|
+
},
|
|
1217
|
+
"addAlias": {
|
|
1218
|
+
"type": "boolean"
|
|
1219
|
+
},
|
|
1220
|
+
"aliasAnnotationObject": {
|
|
1221
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1296
1222
|
}
|
|
1223
|
+
},
|
|
1224
|
+
"required": [
|
|
1225
|
+
"id"
|
|
1297
1226
|
],
|
|
1298
|
-
"
|
|
1299
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1300
|
-
}
|
|
1227
|
+
"additionalProperties": false
|
|
1301
1228
|
}
|
|
1302
|
-
]
|
|
1303
|
-
"description": "JSON-LD Context."
|
|
1304
|
-
},
|
|
1305
|
-
"type": {
|
|
1306
|
-
"type": "string",
|
|
1307
|
-
"const": "AuditableItemGraphPatchOperation",
|
|
1308
|
-
"description": "JSON-LD Type."
|
|
1309
|
-
},
|
|
1310
|
-
"patchOperation": {
|
|
1311
|
-
"type": "string",
|
|
1312
|
-
"enum": [
|
|
1313
|
-
"add",
|
|
1314
|
-
"remove",
|
|
1315
|
-
"replace",
|
|
1316
|
-
"move",
|
|
1317
|
-
"copy",
|
|
1318
|
-
"test"
|
|
1319
|
-
],
|
|
1320
|
-
"description": "The operation that was performed on the item."
|
|
1229
|
+
]
|
|
1321
1230
|
},
|
|
1322
|
-
"
|
|
1323
|
-
"type": "
|
|
1324
|
-
"description": "
|
|
1231
|
+
"createAttestation": {
|
|
1232
|
+
"type": "boolean",
|
|
1233
|
+
"description": "Flag to create an attestation for the document, defaults to false."
|
|
1325
1234
|
},
|
|
1326
|
-
"
|
|
1327
|
-
"type": "
|
|
1328
|
-
"description": "
|
|
1235
|
+
"addAlias": {
|
|
1236
|
+
"type": "boolean",
|
|
1237
|
+
"description": "Flag to add the document id as an alias to the aig vertex, defaults to true."
|
|
1329
1238
|
},
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1239
|
+
"aliasAnnotationObject": {
|
|
1240
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1332
1241
|
}
|
|
1333
1242
|
},
|
|
1334
1243
|
"required": [
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
1337
|
-
"
|
|
1338
|
-
"patchPath"
|
|
1244
|
+
"documentId",
|
|
1245
|
+
"documentCode",
|
|
1246
|
+
"blob"
|
|
1339
1247
|
],
|
|
1340
1248
|
"additionalProperties": false,
|
|
1341
|
-
"description": "The
|
|
1249
|
+
"description": "The body parameters."
|
|
1342
1250
|
},
|
|
1343
|
-
"
|
|
1251
|
+
"DocumentManagementUpdateRequest": {
|
|
1344
1252
|
"type": "object",
|
|
1345
1253
|
"properties": {
|
|
1346
|
-
"
|
|
1347
|
-
"type": "string",
|
|
1348
|
-
"description": "The id of the element."
|
|
1349
|
-
},
|
|
1350
|
-
"dateCreated": {
|
|
1351
|
-
"type": "string",
|
|
1352
|
-
"description": "The date/time of when the element was created."
|
|
1353
|
-
},
|
|
1354
|
-
"dateModified": {
|
|
1254
|
+
"blob": {
|
|
1355
1255
|
"type": "string",
|
|
1356
|
-
"description": "The
|
|
1256
|
+
"description": "The data to create the document with, in base64."
|
|
1357
1257
|
},
|
|
1358
|
-
"
|
|
1359
|
-
"
|
|
1360
|
-
"description": "The date/time of when the element was deleted, as we never actually remove items."
|
|
1258
|
+
"annotationObject": {
|
|
1259
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1361
1260
|
},
|
|
1362
|
-
"
|
|
1363
|
-
"
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1367
|
-
},
|
|
1261
|
+
"auditableItemGraphEdges": {
|
|
1262
|
+
"type": "array",
|
|
1263
|
+
"description": "The auditable item graph vertices to connect the document to.",
|
|
1264
|
+
"prefixItems": [
|
|
1368
1265
|
{
|
|
1369
|
-
"type": "
|
|
1370
|
-
"
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1266
|
+
"type": "object",
|
|
1267
|
+
"properties": {
|
|
1268
|
+
"id": {
|
|
1269
|
+
"type": "string"
|
|
1270
|
+
},
|
|
1271
|
+
"addAlias": {
|
|
1272
|
+
"type": "boolean"
|
|
1273
|
+
},
|
|
1274
|
+
"aliasAnnotationObject": {
|
|
1275
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1375
1276
|
}
|
|
1277
|
+
},
|
|
1278
|
+
"required": [
|
|
1279
|
+
"id"
|
|
1376
1280
|
],
|
|
1377
|
-
"
|
|
1378
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1379
|
-
}
|
|
1281
|
+
"additionalProperties": false
|
|
1380
1282
|
}
|
|
1381
|
-
]
|
|
1382
|
-
"description": "JSON-LD Context."
|
|
1383
|
-
},
|
|
1384
|
-
"type": {
|
|
1385
|
-
"type": "string",
|
|
1386
|
-
"const": "AuditableItemGraphResource",
|
|
1387
|
-
"description": "JSON-LD Type."
|
|
1388
|
-
},
|
|
1389
|
-
"resourceObject": {
|
|
1390
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1283
|
+
]
|
|
1391
1284
|
}
|
|
1392
1285
|
},
|
|
1393
|
-
"required": [
|
|
1394
|
-
"@context",
|
|
1395
|
-
"type"
|
|
1396
|
-
],
|
|
1397
1286
|
"additionalProperties": false,
|
|
1398
|
-
"description": "
|
|
1287
|
+
"description": "The body parameters."
|
|
1399
1288
|
},
|
|
1400
|
-
"
|
|
1289
|
+
"Error": {
|
|
1401
1290
|
"type": "object",
|
|
1402
1291
|
"properties": {
|
|
1403
|
-
"
|
|
1292
|
+
"name": {
|
|
1404
1293
|
"type": "string",
|
|
1405
|
-
"description": "The
|
|
1294
|
+
"description": "The name for the error."
|
|
1406
1295
|
},
|
|
1407
|
-
"
|
|
1296
|
+
"message": {
|
|
1408
1297
|
"type": "string",
|
|
1409
|
-
"description": "The
|
|
1298
|
+
"description": "The message for the error."
|
|
1410
1299
|
},
|
|
1411
|
-
"
|
|
1300
|
+
"source": {
|
|
1412
1301
|
"type": "string",
|
|
1413
|
-
"description": "The
|
|
1302
|
+
"description": "The source of the error."
|
|
1414
1303
|
},
|
|
1415
|
-
"
|
|
1304
|
+
"properties": {
|
|
1305
|
+
"type": "object",
|
|
1306
|
+
"additionalProperties": {},
|
|
1307
|
+
"description": "Any additional information for the error."
|
|
1308
|
+
},
|
|
1309
|
+
"stack": {
|
|
1416
1310
|
"type": "string",
|
|
1417
|
-
"description": "The
|
|
1311
|
+
"description": "The stack trace for the error."
|
|
1418
1312
|
},
|
|
1419
|
-
"
|
|
1420
|
-
"
|
|
1421
|
-
"minItems": 2,
|
|
1422
|
-
"items": [
|
|
1423
|
-
{
|
|
1424
|
-
"type": "string",
|
|
1425
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1426
|
-
},
|
|
1427
|
-
{
|
|
1428
|
-
"type": "string",
|
|
1429
|
-
"const": "https://schema.twindev.org/common/"
|
|
1430
|
-
}
|
|
1431
|
-
],
|
|
1432
|
-
"additionalItems": {
|
|
1433
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1434
|
-
},
|
|
1435
|
-
"description": "JSON-LD Context."
|
|
1436
|
-
},
|
|
1437
|
-
"type": {
|
|
1438
|
-
"type": "string",
|
|
1439
|
-
"const": "AuditableItemGraphVertex",
|
|
1440
|
-
"description": "JSON-LD Type."
|
|
1441
|
-
},
|
|
1442
|
-
"nodeIdentity": {
|
|
1443
|
-
"type": "string",
|
|
1444
|
-
"description": "The identity of the node which controls the vertex."
|
|
1445
|
-
},
|
|
1446
|
-
"annotationObject": {
|
|
1447
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1448
|
-
},
|
|
1449
|
-
"aliases": {
|
|
1450
|
-
"type": "array",
|
|
1451
|
-
"items": {
|
|
1452
|
-
"$ref": "#/components/schemas/AuditableItemGraphAlias"
|
|
1453
|
-
},
|
|
1454
|
-
"description": "Alternative aliases that can be used to identify the vertex."
|
|
1455
|
-
},
|
|
1456
|
-
"resources": {
|
|
1457
|
-
"type": "array",
|
|
1458
|
-
"items": {
|
|
1459
|
-
"$ref": "#/components/schemas/AuditableItemGraphResource"
|
|
1460
|
-
},
|
|
1461
|
-
"description": "The resources attached to the vertex."
|
|
1462
|
-
},
|
|
1463
|
-
"edges": {
|
|
1464
|
-
"type": "array",
|
|
1465
|
-
"items": {
|
|
1466
|
-
"$ref": "#/components/schemas/AuditableItemGraphEdge"
|
|
1467
|
-
},
|
|
1468
|
-
"description": "Edges connected to the vertex."
|
|
1469
|
-
},
|
|
1470
|
-
"changesets": {
|
|
1471
|
-
"type": "array",
|
|
1472
|
-
"items": {
|
|
1473
|
-
"$ref": "#/components/schemas/AuditableItemGraphChangeset"
|
|
1474
|
-
},
|
|
1475
|
-
"description": "Changesets for the vertex."
|
|
1476
|
-
},
|
|
1477
|
-
"verified": {
|
|
1478
|
-
"type": "boolean",
|
|
1479
|
-
"description": "Is the vertex verified, will only be populated when verification is requested."
|
|
1480
|
-
}
|
|
1481
|
-
},
|
|
1482
|
-
"required": [
|
|
1483
|
-
"@context",
|
|
1484
|
-
"id",
|
|
1485
|
-
"type"
|
|
1486
|
-
],
|
|
1487
|
-
"additionalProperties": false,
|
|
1488
|
-
"description": "Interface describing an auditable item graph vertex."
|
|
1489
|
-
},
|
|
1490
|
-
"AuditableItemGraphVertexList": {
|
|
1491
|
-
"type": "object",
|
|
1492
|
-
"properties": {
|
|
1493
|
-
"@context": {
|
|
1494
|
-
"type": "array",
|
|
1495
|
-
"minItems": 2,
|
|
1496
|
-
"items": [
|
|
1497
|
-
{
|
|
1498
|
-
"type": "string",
|
|
1499
|
-
"const": "https://schema.org"
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"type": "string",
|
|
1503
|
-
"const": "https://schema.twindev.org/aig/"
|
|
1504
|
-
}
|
|
1505
|
-
],
|
|
1506
|
-
"additionalItems": {
|
|
1507
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1508
|
-
},
|
|
1509
|
-
"description": "JSON-LD Context."
|
|
1510
|
-
},
|
|
1511
|
-
"type": {
|
|
1512
|
-
"type": "string",
|
|
1513
|
-
"const": "ItemList",
|
|
1514
|
-
"description": "JSON-LD Type."
|
|
1515
|
-
},
|
|
1516
|
-
"itemListElement": {
|
|
1517
|
-
"type": "array",
|
|
1518
|
-
"items": {
|
|
1519
|
-
"$ref": "#/components/schemas/AuditableItemGraphVertex"
|
|
1520
|
-
},
|
|
1521
|
-
"description": "The list of vertices."
|
|
1522
|
-
},
|
|
1523
|
-
"nextItem": {
|
|
1524
|
-
"type": "string",
|
|
1525
|
-
"description": "The cursor to get the next chunk of vertices."
|
|
1526
|
-
}
|
|
1527
|
-
},
|
|
1528
|
-
"required": [
|
|
1529
|
-
"@context",
|
|
1530
|
-
"type",
|
|
1531
|
-
"itemListElement"
|
|
1532
|
-
],
|
|
1533
|
-
"additionalProperties": false,
|
|
1534
|
-
"description": "Interface describing an auditable item graph vertex list."
|
|
1535
|
-
},
|
|
1536
|
-
"BlobStorageEntry": {
|
|
1537
|
-
"type": "object",
|
|
1538
|
-
"properties": {
|
|
1539
|
-
"@context": {
|
|
1540
|
-
"type": "array",
|
|
1541
|
-
"minItems": 2,
|
|
1542
|
-
"items": [
|
|
1543
|
-
{
|
|
1544
|
-
"type": "string",
|
|
1545
|
-
"const": "https://schema.twindev.org/blob-storage/"
|
|
1546
|
-
},
|
|
1547
|
-
{
|
|
1548
|
-
"type": "string",
|
|
1549
|
-
"const": "https://schema.twindev.org/common/"
|
|
1550
|
-
}
|
|
1551
|
-
],
|
|
1552
|
-
"additionalItems": {
|
|
1553
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1554
|
-
},
|
|
1555
|
-
"description": "JSON-LD Context."
|
|
1556
|
-
},
|
|
1557
|
-
"type": {
|
|
1558
|
-
"type": "string",
|
|
1559
|
-
"const": "BlobStorageEntry",
|
|
1560
|
-
"description": "JSON-LD Type."
|
|
1561
|
-
},
|
|
1562
|
-
"id": {
|
|
1563
|
-
"type": "string",
|
|
1564
|
-
"description": "The id for the blob."
|
|
1565
|
-
},
|
|
1566
|
-
"dateCreated": {
|
|
1567
|
-
"type": "string",
|
|
1568
|
-
"description": "The date/time when the entry was created."
|
|
1569
|
-
},
|
|
1570
|
-
"dateModified": {
|
|
1571
|
-
"type": "string",
|
|
1572
|
-
"description": "The date/time when the entry was modified."
|
|
1573
|
-
},
|
|
1574
|
-
"blobSize": {
|
|
1575
|
-
"type": "number",
|
|
1576
|
-
"description": "The size of the data in the blob."
|
|
1577
|
-
},
|
|
1578
|
-
"blobHash": {
|
|
1579
|
-
"type": "string",
|
|
1580
|
-
"description": "The hash of the data in the blob."
|
|
1581
|
-
},
|
|
1582
|
-
"encodingFormat": {
|
|
1583
|
-
"type": "string",
|
|
1584
|
-
"description": "The mime type for the blob."
|
|
1585
|
-
},
|
|
1586
|
-
"fileExtension": {
|
|
1587
|
-
"type": "string",
|
|
1588
|
-
"description": "The extension."
|
|
1589
|
-
},
|
|
1590
|
-
"metadata": {
|
|
1591
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1592
|
-
},
|
|
1593
|
-
"blob": {
|
|
1594
|
-
"type": "string",
|
|
1595
|
-
"description": "The blob in base64 format, included if the includeContent flag was set in the request."
|
|
1596
|
-
}
|
|
1597
|
-
},
|
|
1598
|
-
"required": [
|
|
1599
|
-
"@context",
|
|
1600
|
-
"type",
|
|
1601
|
-
"id",
|
|
1602
|
-
"dateCreated",
|
|
1603
|
-
"blobSize",
|
|
1604
|
-
"blobHash"
|
|
1605
|
-
],
|
|
1606
|
-
"additionalProperties": false,
|
|
1607
|
-
"description": "Interface describing a blob storage entry."
|
|
1608
|
-
},
|
|
1609
|
-
"Document": {
|
|
1610
|
-
"type": "object",
|
|
1611
|
-
"properties": {
|
|
1612
|
-
"@context": {
|
|
1613
|
-
"type": "array",
|
|
1614
|
-
"minItems": 3,
|
|
1615
|
-
"items": [
|
|
1616
|
-
{
|
|
1617
|
-
"type": "string",
|
|
1618
|
-
"const": "https://schema.twindev.org/documents/"
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"type": "string",
|
|
1622
|
-
"const": "https://schema.twindev.org/common/"
|
|
1623
|
-
},
|
|
1624
|
-
{
|
|
1625
|
-
"type": "string",
|
|
1626
|
-
"const": "https://schema.org"
|
|
1627
|
-
}
|
|
1628
|
-
],
|
|
1629
|
-
"additionalItems": {
|
|
1630
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1631
|
-
},
|
|
1632
|
-
"description": "JSON-LD Context."
|
|
1633
|
-
},
|
|
1634
|
-
"type": {
|
|
1635
|
-
"type": "string",
|
|
1636
|
-
"const": "Document",
|
|
1637
|
-
"description": "JSON-LD Type."
|
|
1638
|
-
},
|
|
1639
|
-
"id": {
|
|
1640
|
-
"type": "string",
|
|
1641
|
-
"description": "The full id of the document."
|
|
1642
|
-
},
|
|
1643
|
-
"documentId": {
|
|
1644
|
-
"type": "string",
|
|
1645
|
-
"description": "The id of the document."
|
|
1646
|
-
},
|
|
1647
|
-
"documentIdFormat": {
|
|
1648
|
-
"type": "string",
|
|
1649
|
-
"description": "The format of the document id."
|
|
1650
|
-
},
|
|
1651
|
-
"documentCode": {
|
|
1652
|
-
"$ref": "#/components/schemas/UneceDocumentCodes"
|
|
1653
|
-
},
|
|
1654
|
-
"documentRevision": {
|
|
1655
|
-
"type": "number",
|
|
1656
|
-
"description": "The revision of the document as a 0 based index."
|
|
1657
|
-
},
|
|
1658
|
-
"annotationObject": {
|
|
1659
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1660
|
-
},
|
|
1661
|
-
"blobStorageId": {
|
|
1662
|
-
"type": "string",
|
|
1663
|
-
"description": "The blob storage id for the document."
|
|
1664
|
-
},
|
|
1665
|
-
"blobHash": {
|
|
1666
|
-
"type": "string",
|
|
1667
|
-
"description": "The hash of the blob data."
|
|
1668
|
-
},
|
|
1669
|
-
"blobStorageEntry": {
|
|
1670
|
-
"$ref": "#/components/schemas/BlobStorageEntry"
|
|
1671
|
-
},
|
|
1672
|
-
"extractedData": {
|
|
1673
|
-
"description": "The data extracted from the document using data extraction services."
|
|
1674
|
-
},
|
|
1675
|
-
"attestationId": {
|
|
1676
|
-
"type": "string",
|
|
1677
|
-
"description": "The attestation for the document if one was created."
|
|
1678
|
-
},
|
|
1679
|
-
"attestationInformation": {
|
|
1680
|
-
"$ref": "#/components/schemas/AttestationInformation"
|
|
1681
|
-
},
|
|
1682
|
-
"dateCreated": {
|
|
1683
|
-
"type": "string",
|
|
1684
|
-
"description": "The date/time of when the document was created."
|
|
1685
|
-
},
|
|
1686
|
-
"dateModified": {
|
|
1687
|
-
"type": "string",
|
|
1688
|
-
"description": "The date/time of when the document was modified."
|
|
1689
|
-
},
|
|
1690
|
-
"dateDeleted": {
|
|
1691
|
-
"type": "string",
|
|
1692
|
-
"description": "The date/time of when the document was deleted, as we never actually remove items."
|
|
1693
|
-
},
|
|
1694
|
-
"nodeIdentity": {
|
|
1695
|
-
"type": "string",
|
|
1696
|
-
"description": "The node which added the document to the graph."
|
|
1697
|
-
},
|
|
1698
|
-
"userIdentity": {
|
|
1699
|
-
"type": "string",
|
|
1700
|
-
"description": "The user who added the document to the graph."
|
|
1701
|
-
}
|
|
1702
|
-
},
|
|
1703
|
-
"required": [
|
|
1704
|
-
"@context",
|
|
1705
|
-
"type",
|
|
1706
|
-
"id",
|
|
1707
|
-
"documentId",
|
|
1708
|
-
"documentCode",
|
|
1709
|
-
"documentRevision",
|
|
1710
|
-
"blobStorageId",
|
|
1711
|
-
"blobHash",
|
|
1712
|
-
"dateCreated",
|
|
1713
|
-
"nodeIdentity",
|
|
1714
|
-
"userIdentity"
|
|
1715
|
-
],
|
|
1716
|
-
"additionalProperties": false,
|
|
1717
|
-
"description": "Interface describing a document."
|
|
1718
|
-
},
|
|
1719
|
-
"DocumentList": {
|
|
1720
|
-
"type": "object",
|
|
1721
|
-
"properties": {
|
|
1722
|
-
"@context": {
|
|
1723
|
-
"type": "array",
|
|
1724
|
-
"minItems": 3,
|
|
1725
|
-
"items": [
|
|
1726
|
-
{
|
|
1727
|
-
"type": "string",
|
|
1728
|
-
"const": "https://schema.org"
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"type": "string",
|
|
1732
|
-
"const": "https://schema.twindev.org/documents/"
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
"type": "string",
|
|
1736
|
-
"const": "https://schema.twindev.org/common/"
|
|
1737
|
-
}
|
|
1738
|
-
],
|
|
1739
|
-
"additionalItems": {
|
|
1740
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1741
|
-
},
|
|
1742
|
-
"description": "JSON-LD Context."
|
|
1743
|
-
},
|
|
1744
|
-
"type": {
|
|
1745
|
-
"type": "string",
|
|
1746
|
-
"const": "ItemList",
|
|
1747
|
-
"description": "JSON-LD Type."
|
|
1748
|
-
},
|
|
1749
|
-
"itemListElement": {
|
|
1750
|
-
"type": "array",
|
|
1751
|
-
"items": {
|
|
1752
|
-
"$ref": "#/components/schemas/Document"
|
|
1753
|
-
},
|
|
1754
|
-
"description": "The list of documents."
|
|
1755
|
-
},
|
|
1756
|
-
"edges": {
|
|
1757
|
-
"type": "array",
|
|
1758
|
-
"items": {
|
|
1759
|
-
"type": "string"
|
|
1760
|
-
},
|
|
1761
|
-
"description": "The ids of the other vertices which are connected to the document."
|
|
1762
|
-
},
|
|
1763
|
-
"nextItem": {
|
|
1764
|
-
"type": "string",
|
|
1765
|
-
"description": "The cursor to get the next chunk of documents."
|
|
1766
|
-
}
|
|
1767
|
-
},
|
|
1768
|
-
"required": [
|
|
1769
|
-
"@context",
|
|
1770
|
-
"type",
|
|
1771
|
-
"itemListElement"
|
|
1772
|
-
],
|
|
1773
|
-
"additionalProperties": false,
|
|
1774
|
-
"description": "Interface describing a list of document entries."
|
|
1775
|
-
},
|
|
1776
|
-
"DocumentManagementCreateRequest": {
|
|
1777
|
-
"type": "object",
|
|
1778
|
-
"properties": {
|
|
1779
|
-
"documentId": {
|
|
1780
|
-
"type": "string",
|
|
1781
|
-
"description": "The document id to create."
|
|
1782
|
-
},
|
|
1783
|
-
"documentIdFormat": {
|
|
1784
|
-
"type": "string",
|
|
1785
|
-
"description": "The format of the document identifier."
|
|
1786
|
-
},
|
|
1787
|
-
"documentCode": {
|
|
1788
|
-
"$ref": "#/components/schemas/UneceDocumentCodes"
|
|
1789
|
-
},
|
|
1790
|
-
"blob": {
|
|
1791
|
-
"type": "string",
|
|
1792
|
-
"description": "The data to create the document with, in base64."
|
|
1793
|
-
},
|
|
1794
|
-
"annotationObject": {
|
|
1795
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1796
|
-
},
|
|
1797
|
-
"auditableItemGraphEdges": {
|
|
1798
|
-
"type": "array",
|
|
1799
|
-
"items": {
|
|
1800
|
-
"type": "object",
|
|
1801
|
-
"properties": {
|
|
1802
|
-
"id": {
|
|
1803
|
-
"type": "string"
|
|
1804
|
-
},
|
|
1805
|
-
"addAlias": {
|
|
1806
|
-
"type": "boolean"
|
|
1807
|
-
},
|
|
1808
|
-
"aliasAnnotationObject": {
|
|
1809
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
"required": [
|
|
1813
|
-
"id"
|
|
1814
|
-
],
|
|
1815
|
-
"additionalProperties": false
|
|
1816
|
-
},
|
|
1817
|
-
"description": "The auditable item graph vertices to connect the document to."
|
|
1818
|
-
},
|
|
1819
|
-
"createAttestation": {
|
|
1820
|
-
"type": "boolean",
|
|
1821
|
-
"description": "Flag to create an attestation for the document, defaults to false."
|
|
1822
|
-
},
|
|
1823
|
-
"addAlias": {
|
|
1824
|
-
"type": "boolean",
|
|
1825
|
-
"description": "Flag to add the document id as an alias to the aig vertex, defaults to true."
|
|
1826
|
-
},
|
|
1827
|
-
"aliasAnnotationObject": {
|
|
1828
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1829
|
-
}
|
|
1830
|
-
},
|
|
1831
|
-
"required": [
|
|
1832
|
-
"documentId",
|
|
1833
|
-
"documentCode",
|
|
1834
|
-
"blob"
|
|
1835
|
-
],
|
|
1836
|
-
"additionalProperties": false,
|
|
1837
|
-
"description": "The body parameters."
|
|
1838
|
-
},
|
|
1839
|
-
"DocumentManagementUpdateRequest": {
|
|
1840
|
-
"type": "object",
|
|
1841
|
-
"properties": {
|
|
1842
|
-
"blob": {
|
|
1843
|
-
"type": "string",
|
|
1844
|
-
"description": "The data to create the document with, in base64."
|
|
1845
|
-
},
|
|
1846
|
-
"annotationObject": {
|
|
1847
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1848
|
-
},
|
|
1849
|
-
"auditableItemGraphEdges": {
|
|
1850
|
-
"type": "array",
|
|
1851
|
-
"items": {
|
|
1852
|
-
"type": "object",
|
|
1853
|
-
"properties": {
|
|
1854
|
-
"id": {
|
|
1855
|
-
"type": "string"
|
|
1856
|
-
},
|
|
1857
|
-
"addAlias": {
|
|
1858
|
-
"type": "boolean"
|
|
1859
|
-
},
|
|
1860
|
-
"aliasAnnotationObject": {
|
|
1861
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1862
|
-
}
|
|
1863
|
-
},
|
|
1864
|
-
"required": [
|
|
1865
|
-
"id"
|
|
1866
|
-
],
|
|
1867
|
-
"additionalProperties": false
|
|
1868
|
-
},
|
|
1869
|
-
"description": "The auditable item graph vertices to connect the document to."
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
"additionalProperties": false,
|
|
1873
|
-
"description": "The body parameters."
|
|
1874
|
-
},
|
|
1875
|
-
"Error": {
|
|
1876
|
-
"type": "object",
|
|
1877
|
-
"properties": {
|
|
1878
|
-
"name": {
|
|
1879
|
-
"type": "string",
|
|
1880
|
-
"description": "The name for the error."
|
|
1881
|
-
},
|
|
1882
|
-
"message": {
|
|
1883
|
-
"type": "string",
|
|
1884
|
-
"description": "The message for the error."
|
|
1885
|
-
},
|
|
1886
|
-
"source": {
|
|
1887
|
-
"type": "string",
|
|
1888
|
-
"description": "The source of the error."
|
|
1889
|
-
},
|
|
1890
|
-
"properties": {
|
|
1891
|
-
"type": "object",
|
|
1892
|
-
"additionalProperties": {},
|
|
1893
|
-
"description": "Any additional information for the error."
|
|
1894
|
-
},
|
|
1895
|
-
"stack": {
|
|
1896
|
-
"type": "string",
|
|
1897
|
-
"description": "The stack trace for the error."
|
|
1898
|
-
},
|
|
1899
|
-
"inner": {
|
|
1900
|
-
"$ref": "#/components/schemas/Error"
|
|
1901
|
-
}
|
|
1902
|
-
},
|
|
1903
|
-
"required": [
|
|
1904
|
-
"name",
|
|
1905
|
-
"message"
|
|
1906
|
-
],
|
|
1907
|
-
"additionalProperties": false,
|
|
1908
|
-
"description": "Model to describe serialized error."
|
|
1909
|
-
},
|
|
1910
|
-
"ImmutableProofFailure": {
|
|
1911
|
-
"anyOf": [
|
|
1912
|
-
{
|
|
1913
|
-
"type": "string",
|
|
1914
|
-
"const": "notIssued",
|
|
1915
|
-
"description": "Proof not yet issued."
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
"type": "string",
|
|
1919
|
-
"const": "proofMissing",
|
|
1920
|
-
"description": "Proof missing."
|
|
1921
|
-
},
|
|
1922
|
-
{
|
|
1923
|
-
"type": "string",
|
|
1924
|
-
"const": "cryptoSuiteMismatch",
|
|
1925
|
-
"description": "Crypto suite mismatch."
|
|
1926
|
-
},
|
|
1927
|
-
{
|
|
1928
|
-
"type": "string",
|
|
1929
|
-
"const": "proofTypeMismatch",
|
|
1930
|
-
"description": "Proof type."
|
|
1931
|
-
},
|
|
1932
|
-
{
|
|
1933
|
-
"type": "string",
|
|
1934
|
-
"const": "signatureMismatch",
|
|
1935
|
-
"description": "Signature mismatch."
|
|
1936
|
-
}
|
|
1937
|
-
],
|
|
1938
|
-
"description": "The failure reason of the proof."
|
|
1939
|
-
},
|
|
1940
|
-
"ImmutableProofVerification": {
|
|
1941
|
-
"type": "object",
|
|
1942
|
-
"properties": {
|
|
1943
|
-
"@context": {
|
|
1944
|
-
"type": "string",
|
|
1945
|
-
"const": "https://schema.twindev.org/immutable-proof/",
|
|
1946
|
-
"description": "JSON-LD Context."
|
|
1947
|
-
},
|
|
1948
|
-
"type": {
|
|
1949
|
-
"type": "string",
|
|
1950
|
-
"const": "ImmutableProofVerification",
|
|
1951
|
-
"description": "JSON-LD Type."
|
|
1952
|
-
},
|
|
1953
|
-
"verified": {
|
|
1954
|
-
"type": "boolean",
|
|
1955
|
-
"description": "Was the verification successful."
|
|
1956
|
-
},
|
|
1957
|
-
"failure": {
|
|
1958
|
-
"$ref": "#/components/schemas/ImmutableProofFailure"
|
|
1959
|
-
}
|
|
1960
|
-
},
|
|
1961
|
-
"required": [
|
|
1962
|
-
"@context",
|
|
1963
|
-
"type",
|
|
1964
|
-
"verified"
|
|
1965
|
-
],
|
|
1966
|
-
"additionalProperties": false,
|
|
1967
|
-
"description": "Interface describing an immutable proof verification."
|
|
1968
|
-
},
|
|
1969
|
-
"JsonLdContainerType": {
|
|
1970
|
-
"type": "string",
|
|
1971
|
-
"enum": [
|
|
1972
|
-
"@language",
|
|
1973
|
-
"@index",
|
|
1974
|
-
"@id",
|
|
1975
|
-
"@graph",
|
|
1976
|
-
"@type"
|
|
1977
|
-
],
|
|
1978
|
-
"description": "Helper Types"
|
|
1979
|
-
},
|
|
1980
|
-
"JsonLdContainerTypeArray": {
|
|
1981
|
-
"anyOf": [
|
|
1982
|
-
{
|
|
1983
|
-
"type": "array",
|
|
1984
|
-
"minItems": 2,
|
|
1985
|
-
"items": [
|
|
1986
|
-
{
|
|
1987
|
-
"type": "string",
|
|
1988
|
-
"const": "@graph"
|
|
1989
|
-
},
|
|
1990
|
-
{
|
|
1991
|
-
"type": "string",
|
|
1992
|
-
"const": "@id"
|
|
1993
|
-
}
|
|
1994
|
-
],
|
|
1995
|
-
"maxItems": 2
|
|
1996
|
-
},
|
|
1997
|
-
{
|
|
1998
|
-
"type": "array",
|
|
1999
|
-
"minItems": 2,
|
|
2000
|
-
"items": [
|
|
2001
|
-
{
|
|
2002
|
-
"type": "string",
|
|
2003
|
-
"const": "@id"
|
|
2004
|
-
},
|
|
2005
|
-
{
|
|
2006
|
-
"type": "string",
|
|
2007
|
-
"const": "@graph"
|
|
2008
|
-
}
|
|
2009
|
-
],
|
|
2010
|
-
"maxItems": 2
|
|
2011
|
-
},
|
|
2012
|
-
{
|
|
2013
|
-
"type": "array",
|
|
2014
|
-
"minItems": 3,
|
|
2015
|
-
"items": [
|
|
2016
|
-
{
|
|
2017
|
-
"type": "string",
|
|
2018
|
-
"const": "@set"
|
|
2019
|
-
},
|
|
2020
|
-
{
|
|
2021
|
-
"type": "string",
|
|
2022
|
-
"const": "@graph"
|
|
2023
|
-
},
|
|
2024
|
-
{
|
|
2025
|
-
"type": "string",
|
|
2026
|
-
"const": "@id"
|
|
2027
|
-
}
|
|
2028
|
-
],
|
|
2029
|
-
"maxItems": 3
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"type": "array",
|
|
2033
|
-
"minItems": 3,
|
|
2034
|
-
"items": [
|
|
2035
|
-
{
|
|
2036
|
-
"type": "string",
|
|
2037
|
-
"const": "@set"
|
|
2038
|
-
},
|
|
2039
|
-
{
|
|
2040
|
-
"type": "string",
|
|
2041
|
-
"const": "@id"
|
|
2042
|
-
},
|
|
2043
|
-
{
|
|
2044
|
-
"type": "string",
|
|
2045
|
-
"const": "@graph"
|
|
2046
|
-
}
|
|
2047
|
-
],
|
|
2048
|
-
"maxItems": 3
|
|
2049
|
-
},
|
|
2050
|
-
{
|
|
2051
|
-
"type": "array",
|
|
2052
|
-
"minItems": 3,
|
|
2053
|
-
"items": [
|
|
2054
|
-
{
|
|
2055
|
-
"type": "string",
|
|
2056
|
-
"const": "@graph"
|
|
2057
|
-
},
|
|
2058
|
-
{
|
|
2059
|
-
"type": "string",
|
|
2060
|
-
"const": "@set"
|
|
2061
|
-
},
|
|
2062
|
-
{
|
|
2063
|
-
"type": "string",
|
|
2064
|
-
"const": "@id"
|
|
2065
|
-
}
|
|
2066
|
-
],
|
|
2067
|
-
"maxItems": 3
|
|
2068
|
-
},
|
|
2069
|
-
{
|
|
2070
|
-
"type": "array",
|
|
2071
|
-
"minItems": 3,
|
|
2072
|
-
"items": [
|
|
2073
|
-
{
|
|
2074
|
-
"type": "string",
|
|
2075
|
-
"const": "@id"
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"type": "string",
|
|
2079
|
-
"const": "@set"
|
|
2080
|
-
},
|
|
2081
|
-
{
|
|
2082
|
-
"type": "string",
|
|
2083
|
-
"const": "@graph"
|
|
2084
|
-
}
|
|
2085
|
-
],
|
|
2086
|
-
"maxItems": 3
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
"type": "array",
|
|
2090
|
-
"minItems": 3,
|
|
2091
|
-
"items": [
|
|
2092
|
-
{
|
|
2093
|
-
"type": "string",
|
|
2094
|
-
"const": "@graph"
|
|
2095
|
-
},
|
|
2096
|
-
{
|
|
2097
|
-
"type": "string",
|
|
2098
|
-
"const": "@id"
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
"type": "string",
|
|
2102
|
-
"const": "@set"
|
|
2103
|
-
}
|
|
2104
|
-
],
|
|
2105
|
-
"maxItems": 3
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"type": "array",
|
|
2109
|
-
"minItems": 3,
|
|
2110
|
-
"items": [
|
|
2111
|
-
{
|
|
2112
|
-
"type": "string",
|
|
2113
|
-
"const": "@id"
|
|
2114
|
-
},
|
|
2115
|
-
{
|
|
2116
|
-
"type": "string",
|
|
2117
|
-
"const": "@graph"
|
|
2118
|
-
},
|
|
2119
|
-
{
|
|
2120
|
-
"type": "string",
|
|
2121
|
-
"const": "@set"
|
|
2122
|
-
}
|
|
2123
|
-
],
|
|
2124
|
-
"maxItems": 3
|
|
2125
|
-
},
|
|
2126
|
-
{
|
|
2127
|
-
"type": "array",
|
|
2128
|
-
"minItems": 2,
|
|
2129
|
-
"items": [
|
|
2130
|
-
{
|
|
2131
|
-
"type": "string",
|
|
2132
|
-
"const": "@set"
|
|
2133
|
-
},
|
|
2134
|
-
{
|
|
2135
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
2136
|
-
}
|
|
2137
|
-
],
|
|
2138
|
-
"maxItems": 2
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"type": "array",
|
|
2142
|
-
"minItems": 2,
|
|
2143
|
-
"items": [
|
|
2144
|
-
{
|
|
2145
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
2146
|
-
},
|
|
2147
|
-
{
|
|
2148
|
-
"type": "string",
|
|
2149
|
-
"const": "@set"
|
|
2150
|
-
}
|
|
2151
|
-
],
|
|
2152
|
-
"maxItems": 2
|
|
2153
|
-
}
|
|
2154
|
-
],
|
|
2155
|
-
"description": "Helper Types."
|
|
2156
|
-
},
|
|
2157
|
-
"JsonLdContextDefinition": {
|
|
2158
|
-
"type": "object",
|
|
2159
|
-
"properties": {
|
|
2160
|
-
"@base": {
|
|
2161
|
-
"type": [
|
|
2162
|
-
"string",
|
|
2163
|
-
"null"
|
|
2164
|
-
]
|
|
2165
|
-
},
|
|
2166
|
-
"@direction": {
|
|
2167
|
-
"type": [
|
|
2168
|
-
"string",
|
|
2169
|
-
"null"
|
|
2170
|
-
],
|
|
2171
|
-
"enum": [
|
|
2172
|
-
"ltr",
|
|
2173
|
-
"rtl",
|
|
2174
|
-
null
|
|
2175
|
-
]
|
|
2176
|
-
},
|
|
2177
|
-
"@import": {
|
|
2178
|
-
"type": "string"
|
|
2179
|
-
},
|
|
2180
|
-
"@language": {
|
|
2181
|
-
"type": "string"
|
|
2182
|
-
},
|
|
2183
|
-
"@propagate": {
|
|
2184
|
-
"type": "boolean"
|
|
2185
|
-
},
|
|
2186
|
-
"@protected": {
|
|
2187
|
-
"type": "boolean"
|
|
2188
|
-
},
|
|
2189
|
-
"@type": {
|
|
2190
|
-
"type": "object",
|
|
2191
|
-
"properties": {
|
|
2192
|
-
"@container": {
|
|
2193
|
-
"type": "string",
|
|
2194
|
-
"const": "@set"
|
|
2195
|
-
},
|
|
2196
|
-
"@protected": {
|
|
2197
|
-
"type": "boolean"
|
|
2198
|
-
}
|
|
2199
|
-
},
|
|
2200
|
-
"required": [
|
|
2201
|
-
"@container"
|
|
2202
|
-
],
|
|
2203
|
-
"additionalProperties": false
|
|
2204
|
-
},
|
|
2205
|
-
"@version": {
|
|
2206
|
-
"type": "string",
|
|
2207
|
-
"const": "1.1"
|
|
2208
|
-
},
|
|
2209
|
-
"@vocab": {
|
|
2210
|
-
"type": [
|
|
2211
|
-
"string",
|
|
2212
|
-
"null"
|
|
2213
|
-
]
|
|
2214
|
-
}
|
|
2215
|
-
},
|
|
2216
|
-
"additionalProperties": {
|
|
2217
|
-
"anyOf": [
|
|
2218
|
-
{
|
|
2219
|
-
"type": "null"
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"type": "string"
|
|
2223
|
-
},
|
|
2224
|
-
{
|
|
2225
|
-
"$ref": "#/components/schemas/JsonLdExpandedTermDefinition"
|
|
2226
|
-
}
|
|
2227
|
-
]
|
|
2228
|
-
},
|
|
2229
|
-
"description": "A context definition defines a local context in a node object."
|
|
2230
|
-
},
|
|
2231
|
-
"JsonLdContextDefinitionElement": {
|
|
2232
|
-
"anyOf": [
|
|
2233
|
-
{
|
|
2234
|
-
"type": "null"
|
|
2235
|
-
},
|
|
2236
|
-
{
|
|
2237
|
-
"type": "string"
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
2241
|
-
}
|
|
2242
|
-
],
|
|
2243
|
-
"description": "A context definition element is used to define the types of a context definition."
|
|
2244
|
-
},
|
|
2245
|
-
"JsonLdContextDefinitionRoot": {
|
|
2246
|
-
"anyOf": [
|
|
2247
|
-
{
|
|
2248
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
2249
|
-
},
|
|
2250
|
-
{
|
|
2251
|
-
"type": "array",
|
|
2252
|
-
"items": {
|
|
2253
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
2254
|
-
}
|
|
2255
|
-
}
|
|
2256
|
-
],
|
|
2257
|
-
"description": "A context definition root is used to define the root of a context definition."
|
|
2258
|
-
},
|
|
2259
|
-
"JsonLdExpandedTermDefinition": {
|
|
2260
|
-
"anyOf": [
|
|
2261
|
-
{
|
|
2262
|
-
"type": "object",
|
|
2263
|
-
"additionalProperties": false,
|
|
2264
|
-
"properties": {
|
|
2265
|
-
"@id": {
|
|
2266
|
-
"anyOf": [
|
|
2267
|
-
{
|
|
2268
|
-
"type": "string"
|
|
2269
|
-
},
|
|
2270
|
-
{
|
|
2271
|
-
"type": "array",
|
|
2272
|
-
"items": {
|
|
2273
|
-
"type": "string"
|
|
2274
|
-
}
|
|
2275
|
-
},
|
|
2276
|
-
{
|
|
2277
|
-
"type": "null"
|
|
2278
|
-
}
|
|
2279
|
-
]
|
|
2280
|
-
},
|
|
2281
|
-
"@nest": {
|
|
2282
|
-
"type": "string"
|
|
2283
|
-
},
|
|
2284
|
-
"@container": {
|
|
2285
|
-
"anyOf": [
|
|
2286
|
-
{
|
|
2287
|
-
"type": "string",
|
|
2288
|
-
"const": "@list"
|
|
2289
|
-
},
|
|
2290
|
-
{
|
|
2291
|
-
"type": "string",
|
|
2292
|
-
"const": "@set"
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"type": "array",
|
|
2299
|
-
"items": {
|
|
2300
|
-
"anyOf": [
|
|
2301
|
-
{
|
|
2302
|
-
"type": "string",
|
|
2303
|
-
"const": "@list"
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"type": "string",
|
|
2307
|
-
"const": "@set"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
2311
|
-
}
|
|
2312
|
-
]
|
|
2313
|
-
}
|
|
2314
|
-
},
|
|
2315
|
-
{
|
|
2316
|
-
"$ref": "#/components/schemas/JsonLdContainerTypeArray"
|
|
2317
|
-
},
|
|
2318
|
-
{
|
|
2319
|
-
"type": "null"
|
|
2320
|
-
}
|
|
2321
|
-
]
|
|
2322
|
-
},
|
|
2323
|
-
"@type": {
|
|
2324
|
-
"type": "string"
|
|
2325
|
-
},
|
|
2326
|
-
"@language": {
|
|
2327
|
-
"type": "string"
|
|
2328
|
-
},
|
|
2329
|
-
"@index": {
|
|
2330
|
-
"type": "string"
|
|
2331
|
-
},
|
|
2332
|
-
"@context": {
|
|
2333
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
2334
|
-
},
|
|
2335
|
-
"@prefix": {
|
|
2336
|
-
"type": "boolean"
|
|
2337
|
-
},
|
|
2338
|
-
"@propagate": {
|
|
2339
|
-
"type": "boolean"
|
|
2340
|
-
},
|
|
2341
|
-
"@protected": {
|
|
2342
|
-
"type": "boolean"
|
|
2343
|
-
}
|
|
2344
|
-
}
|
|
2345
|
-
},
|
|
2346
|
-
{
|
|
2347
|
-
"type": "object",
|
|
2348
|
-
"additionalProperties": false,
|
|
2349
|
-
"properties": {
|
|
2350
|
-
"@reverse": {
|
|
2351
|
-
"type": "string"
|
|
2352
|
-
},
|
|
2353
|
-
"@container": {
|
|
2354
|
-
"type": [
|
|
2355
|
-
"string",
|
|
2356
|
-
"null"
|
|
2357
|
-
],
|
|
2358
|
-
"enum": [
|
|
2359
|
-
"@set",
|
|
2360
|
-
"@index",
|
|
2361
|
-
null
|
|
2362
|
-
]
|
|
2363
|
-
},
|
|
2364
|
-
"@type": {
|
|
2365
|
-
"type": "string"
|
|
2366
|
-
},
|
|
2367
|
-
"@language": {
|
|
2368
|
-
"type": "string"
|
|
2369
|
-
},
|
|
2370
|
-
"@index": {
|
|
2371
|
-
"type": "string"
|
|
2372
|
-
},
|
|
2373
|
-
"@context": {
|
|
2374
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
2375
|
-
},
|
|
2376
|
-
"@prefix": {
|
|
2377
|
-
"type": "boolean"
|
|
2378
|
-
},
|
|
2379
|
-
"@propagate": {
|
|
2380
|
-
"type": "boolean"
|
|
2381
|
-
},
|
|
2382
|
-
"@protected": {
|
|
2383
|
-
"type": "boolean"
|
|
2384
|
-
}
|
|
2385
|
-
},
|
|
2386
|
-
"required": [
|
|
2387
|
-
"@reverse"
|
|
2388
|
-
]
|
|
2389
|
-
}
|
|
2390
|
-
],
|
|
2391
|
-
"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."
|
|
2392
|
-
},
|
|
2393
|
-
"JsonLdGraphObject": {
|
|
2394
|
-
"type": "object",
|
|
2395
|
-
"properties": {
|
|
2396
|
-
"@graph": {
|
|
2397
|
-
"anyOf": [
|
|
2398
|
-
{
|
|
2399
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2400
|
-
},
|
|
2401
|
-
{
|
|
2402
|
-
"type": "array",
|
|
2403
|
-
"items": {
|
|
2404
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
]
|
|
2408
|
-
},
|
|
2409
|
-
"@index": {
|
|
2410
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2411
|
-
},
|
|
2412
|
-
"@id": {
|
|
2413
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2414
|
-
},
|
|
2415
|
-
"@context": {
|
|
2416
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2417
|
-
}
|
|
2418
|
-
},
|
|
2419
|
-
"required": [
|
|
2420
|
-
"@graph"
|
|
2421
|
-
],
|
|
2422
|
-
"additionalProperties": false,
|
|
2423
|
-
"description": "A graph object represents a named graph, which MAY include an explicit graph name."
|
|
2424
|
-
},
|
|
2425
|
-
"JsonLdIdMap": {
|
|
2426
|
-
"type": "object",
|
|
2427
|
-
"additionalProperties": {
|
|
2428
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2429
|
-
},
|
|
2430
|
-
"description": "An id map is used to associate an IRI with a value that allows easy programmatic access."
|
|
2431
|
-
},
|
|
2432
|
-
"JsonLdIncludedBlock": {
|
|
2433
|
-
"anyOf": [
|
|
2434
|
-
{
|
|
2435
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2436
|
-
},
|
|
2437
|
-
{
|
|
2438
|
-
"type": "array",
|
|
2439
|
-
"items": {
|
|
2440
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2441
|
-
}
|
|
2442
|
-
}
|
|
2443
|
-
],
|
|
2444
|
-
"description": "An included block is used to provide a set of node objects."
|
|
2445
|
-
},
|
|
2446
|
-
"JsonLdIndexMap": {
|
|
2447
|
-
"type": "object",
|
|
2448
|
-
"additionalProperties": {
|
|
2449
|
-
"anyOf": [
|
|
2450
|
-
{
|
|
2451
|
-
"$ref": "#/components/schemas/JsonLdIndexMapItem"
|
|
2452
|
-
},
|
|
2453
|
-
{
|
|
2454
|
-
"type": "array",
|
|
2455
|
-
"items": {
|
|
2456
|
-
"$ref": "#/components/schemas/JsonLdIndexMapItem"
|
|
2457
|
-
}
|
|
2458
|
-
}
|
|
2459
|
-
]
|
|
2460
|
-
},
|
|
2461
|
-
"description": "An index map allows keys that have no semantic meaning, but should be preserved regardless, to be used in JSON-LD documents."
|
|
2462
|
-
},
|
|
2463
|
-
"JsonLdIndexMapItem": {
|
|
2464
|
-
"anyOf": [
|
|
2465
|
-
{
|
|
2466
|
-
"type": "null"
|
|
2467
|
-
},
|
|
2468
|
-
{
|
|
2469
|
-
"type": "boolean"
|
|
2470
|
-
},
|
|
2471
|
-
{
|
|
2472
|
-
"type": "number"
|
|
2473
|
-
},
|
|
2474
|
-
{
|
|
2475
|
-
"type": "string"
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2479
|
-
},
|
|
2480
|
-
{
|
|
2481
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"$ref": "#/components/schemas/JsonLdListObject"
|
|
2485
|
-
},
|
|
2486
|
-
{
|
|
2487
|
-
"$ref": "#/components/schemas/JsonLdSetObject"
|
|
2488
|
-
}
|
|
2489
|
-
],
|
|
2490
|
-
"description": "The items that can be stored in an index map."
|
|
2491
|
-
},
|
|
2492
|
-
"JsonLdJsonArray": {
|
|
2493
|
-
"type": "array",
|
|
2494
|
-
"items": {
|
|
2495
|
-
"$ref": "#/components/schemas/JsonLdJsonValue"
|
|
2496
|
-
},
|
|
2497
|
-
"description": "JSON Type for array."
|
|
2498
|
-
},
|
|
2499
|
-
"JsonLdJsonObject": {
|
|
2500
|
-
"type": "object",
|
|
2501
|
-
"additionalProperties": {
|
|
2502
|
-
"anyOf": [
|
|
2503
|
-
{
|
|
2504
|
-
"$ref": "#/components/schemas/JsonLdJsonValue"
|
|
2505
|
-
},
|
|
2506
|
-
{
|
|
2507
|
-
"not": {}
|
|
2508
|
-
}
|
|
2509
|
-
]
|
|
2510
|
-
},
|
|
2511
|
-
"description": "JSON Type for object."
|
|
2512
|
-
},
|
|
2513
|
-
"JsonLdJsonPrimitive": {
|
|
2514
|
-
"type": [
|
|
2515
|
-
"string",
|
|
2516
|
-
"number",
|
|
2517
|
-
"boolean",
|
|
2518
|
-
"null"
|
|
2519
|
-
],
|
|
2520
|
-
"description": "JSON Primitive."
|
|
2521
|
-
},
|
|
2522
|
-
"JsonLdJsonValue": {
|
|
2523
|
-
"anyOf": [
|
|
2524
|
-
{
|
|
2525
|
-
"$ref": "#/components/schemas/JsonLdJsonPrimitive"
|
|
2526
|
-
},
|
|
2527
|
-
{
|
|
2528
|
-
"$ref": "#/components/schemas/JsonLdJsonArray"
|
|
2529
|
-
},
|
|
2530
|
-
{
|
|
2531
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
2532
|
-
}
|
|
2533
|
-
],
|
|
2534
|
-
"description": "JSON Value."
|
|
2535
|
-
},
|
|
2536
|
-
"JsonLdKeyword": {
|
|
2537
|
-
"type": "object",
|
|
2538
|
-
"properties": {
|
|
2539
|
-
"@base": {
|
|
2540
|
-
"type": [
|
|
2541
|
-
"string",
|
|
2542
|
-
"null"
|
|
2543
|
-
]
|
|
2544
|
-
},
|
|
2545
|
-
"@container": {
|
|
2546
|
-
"anyOf": [
|
|
2547
|
-
{
|
|
2548
|
-
"type": "string",
|
|
2549
|
-
"const": "@list"
|
|
2550
|
-
},
|
|
2551
|
-
{
|
|
2552
|
-
"type": "string",
|
|
2553
|
-
"const": "@set"
|
|
2554
|
-
},
|
|
2555
|
-
{
|
|
2556
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
2557
|
-
},
|
|
2558
|
-
{
|
|
2559
|
-
"type": "array",
|
|
2560
|
-
"items": {
|
|
2561
|
-
"anyOf": [
|
|
2562
|
-
{
|
|
2563
|
-
"type": "string",
|
|
2564
|
-
"const": "@list"
|
|
2565
|
-
},
|
|
2566
|
-
{
|
|
2567
|
-
"type": "string",
|
|
2568
|
-
"const": "@set"
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
2572
|
-
}
|
|
2573
|
-
]
|
|
2574
|
-
}
|
|
2575
|
-
},
|
|
2576
|
-
{
|
|
2577
|
-
"$ref": "#/components/schemas/JsonLdContainerTypeArray"
|
|
2578
|
-
},
|
|
2579
|
-
{
|
|
2580
|
-
"type": "null"
|
|
2581
|
-
}
|
|
2582
|
-
]
|
|
2583
|
-
},
|
|
2584
|
-
"@context": {
|
|
2585
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
2586
|
-
},
|
|
2587
|
-
"@direction": {
|
|
2588
|
-
"type": [
|
|
2589
|
-
"string",
|
|
2590
|
-
"null"
|
|
2591
|
-
],
|
|
2592
|
-
"enum": [
|
|
2593
|
-
"ltr",
|
|
2594
|
-
"rtl",
|
|
2595
|
-
null
|
|
2596
|
-
]
|
|
2597
|
-
},
|
|
2598
|
-
"@graph": {
|
|
2599
|
-
"anyOf": [
|
|
2600
|
-
{
|
|
2601
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
2602
|
-
},
|
|
2603
|
-
{
|
|
2604
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2605
|
-
},
|
|
2606
|
-
{
|
|
2607
|
-
"type": "array",
|
|
2608
|
-
"items": {
|
|
2609
|
-
"anyOf": [
|
|
2610
|
-
{
|
|
2611
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
2612
|
-
},
|
|
2613
|
-
{
|
|
2614
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2615
|
-
}
|
|
2616
|
-
]
|
|
2617
|
-
}
|
|
2618
|
-
}
|
|
2619
|
-
]
|
|
2620
|
-
},
|
|
2621
|
-
"@id": {
|
|
2622
|
-
"anyOf": [
|
|
2623
|
-
{
|
|
2624
|
-
"type": "string"
|
|
2625
|
-
},
|
|
2626
|
-
{
|
|
2627
|
-
"type": "array",
|
|
2628
|
-
"items": {
|
|
2629
|
-
"type": "string"
|
|
2630
|
-
}
|
|
2631
|
-
}
|
|
2632
|
-
]
|
|
2633
|
-
},
|
|
2634
|
-
"@import": {
|
|
2635
|
-
"type": "string"
|
|
2636
|
-
},
|
|
2637
|
-
"@included": {
|
|
2638
|
-
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
2639
|
-
},
|
|
2640
|
-
"@index": {
|
|
2641
|
-
"type": "string"
|
|
2642
|
-
},
|
|
2643
|
-
"@json": {
|
|
2644
|
-
"type": "string",
|
|
2645
|
-
"const": "@json"
|
|
2646
|
-
},
|
|
2647
|
-
"@language": {
|
|
2648
|
-
"type": "string"
|
|
2649
|
-
},
|
|
2650
|
-
"@list": {
|
|
2651
|
-
"anyOf": [
|
|
2652
|
-
{
|
|
2653
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
2654
|
-
},
|
|
2655
|
-
{
|
|
2656
|
-
"type": "array",
|
|
2657
|
-
"items": {
|
|
2658
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
2659
|
-
}
|
|
2660
|
-
}
|
|
2661
|
-
]
|
|
2662
|
-
},
|
|
2663
|
-
"@nest": {
|
|
2664
|
-
"type": "object"
|
|
2665
|
-
},
|
|
2666
|
-
"@none": {
|
|
2667
|
-
"type": "string",
|
|
2668
|
-
"const": "@none"
|
|
2669
|
-
},
|
|
2670
|
-
"@prefix": {
|
|
2671
|
-
"type": "boolean"
|
|
2672
|
-
},
|
|
2673
|
-
"@propagate": {
|
|
2674
|
-
"type": "boolean"
|
|
2675
|
-
},
|
|
2676
|
-
"@protected": {
|
|
2677
|
-
"type": "boolean"
|
|
2678
|
-
},
|
|
2679
|
-
"@reverse": {
|
|
2680
|
-
"type": "string"
|
|
2681
|
-
},
|
|
2682
|
-
"@set": {
|
|
2683
|
-
"anyOf": [
|
|
2684
|
-
{
|
|
2685
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
2686
|
-
},
|
|
2687
|
-
{
|
|
2688
|
-
"type": "array",
|
|
2689
|
-
"items": {
|
|
2690
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
2691
|
-
}
|
|
2692
|
-
}
|
|
2693
|
-
]
|
|
2694
|
-
},
|
|
2695
|
-
"@type": {
|
|
2696
|
-
"type": "string"
|
|
2697
|
-
},
|
|
2698
|
-
"@value": {
|
|
2699
|
-
"type": [
|
|
2700
|
-
"null",
|
|
2701
|
-
"boolean",
|
|
2702
|
-
"number",
|
|
2703
|
-
"string"
|
|
2704
|
-
]
|
|
2705
|
-
},
|
|
2706
|
-
"@version": {
|
|
2707
|
-
"type": "string",
|
|
2708
|
-
"const": "1.1"
|
|
2709
|
-
},
|
|
2710
|
-
"@vocab": {
|
|
2711
|
-
"type": [
|
|
2712
|
-
"string",
|
|
2713
|
-
"null"
|
|
2714
|
-
]
|
|
2715
|
-
}
|
|
2716
|
-
},
|
|
2717
|
-
"required": [
|
|
2718
|
-
"@base",
|
|
2719
|
-
"@container",
|
|
2720
|
-
"@context",
|
|
2721
|
-
"@direction",
|
|
2722
|
-
"@graph",
|
|
2723
|
-
"@id",
|
|
2724
|
-
"@import",
|
|
2725
|
-
"@included",
|
|
2726
|
-
"@index",
|
|
2727
|
-
"@json",
|
|
2728
|
-
"@language",
|
|
2729
|
-
"@list",
|
|
2730
|
-
"@nest",
|
|
2731
|
-
"@none",
|
|
2732
|
-
"@prefix",
|
|
2733
|
-
"@propagate",
|
|
2734
|
-
"@protected",
|
|
2735
|
-
"@reverse",
|
|
2736
|
-
"@set",
|
|
2737
|
-
"@type",
|
|
2738
|
-
"@value",
|
|
2739
|
-
"@version",
|
|
2740
|
-
"@vocab"
|
|
2741
|
-
],
|
|
2742
|
-
"additionalProperties": false,
|
|
2743
|
-
"description": "A list of keywords and their types. Only used for internal reference; not an actual interface. Not for export."
|
|
2744
|
-
},
|
|
2745
|
-
"JsonLdLanguageMap": {
|
|
2746
|
-
"type": "object",
|
|
2747
|
-
"additionalProperties": {
|
|
2748
|
-
"anyOf": [
|
|
2749
|
-
{
|
|
2750
|
-
"type": "null"
|
|
2751
|
-
},
|
|
2752
|
-
{
|
|
2753
|
-
"type": "string"
|
|
2754
|
-
},
|
|
2755
|
-
{
|
|
2756
|
-
"type": "array",
|
|
2757
|
-
"items": {
|
|
2758
|
-
"type": "string"
|
|
2759
|
-
}
|
|
2760
|
-
}
|
|
2761
|
-
]
|
|
2762
|
-
},
|
|
2763
|
-
"description": "A language map is used to associate a language with a value in a way that allows easy programmatic access."
|
|
2764
|
-
},
|
|
2765
|
-
"JsonLdListObject": {
|
|
2766
|
-
"type": "object",
|
|
2767
|
-
"properties": {
|
|
2768
|
-
"@list": {
|
|
2769
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2770
|
-
},
|
|
2771
|
-
"@index": {
|
|
2772
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2773
|
-
}
|
|
2774
|
-
},
|
|
2775
|
-
"required": [
|
|
2776
|
-
"@list"
|
|
2777
|
-
],
|
|
2778
|
-
"additionalProperties": false,
|
|
2779
|
-
"description": "A list represents an ordered set of values."
|
|
2780
|
-
},
|
|
2781
|
-
"JsonLdListOrSetItem": {
|
|
2782
|
-
"anyOf": [
|
|
2783
|
-
{
|
|
2784
|
-
"type": "null"
|
|
2785
|
-
},
|
|
2786
|
-
{
|
|
2787
|
-
"type": "boolean"
|
|
2788
|
-
},
|
|
2789
|
-
{
|
|
2790
|
-
"type": "number"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"type": "string"
|
|
2794
|
-
},
|
|
2795
|
-
{
|
|
2796
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2797
|
-
},
|
|
2798
|
-
{
|
|
2799
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
2800
|
-
}
|
|
2801
|
-
],
|
|
2802
|
-
"description": "A list or set item can be a null, boolean, number, string, node object, or value object."
|
|
2803
|
-
},
|
|
2804
|
-
"JsonLdNodeObject": {
|
|
2805
|
-
"type": "object",
|
|
2806
|
-
"additionalProperties": {
|
|
2807
|
-
"anyOf": [
|
|
2808
|
-
{
|
|
2809
|
-
"$ref": "#/components/schemas/JsonLdNodePrimitive"
|
|
2810
|
-
},
|
|
2811
|
-
{
|
|
2812
|
-
"$ref": "#/components/schemas/JsonLdLanguageMap"
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"$ref": "#/components/schemas/JsonLdIndexMap"
|
|
2816
|
-
},
|
|
2817
|
-
{
|
|
2818
|
-
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
2819
|
-
},
|
|
2820
|
-
{
|
|
2821
|
-
"$ref": "#/components/schemas/JsonLdIdMap"
|
|
2822
|
-
},
|
|
2823
|
-
{
|
|
2824
|
-
"$ref": "#/components/schemas/JsonLdTypeMap"
|
|
2825
|
-
},
|
|
2826
|
-
{
|
|
2827
|
-
"type": "array"
|
|
2828
|
-
}
|
|
2829
|
-
]
|
|
2830
|
-
},
|
|
2831
|
-
"properties": {
|
|
2832
|
-
"@context": {
|
|
2833
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2834
|
-
},
|
|
2835
|
-
"@id": {
|
|
2836
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2837
|
-
},
|
|
2838
|
-
"@included": {
|
|
2839
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2840
|
-
},
|
|
2841
|
-
"@graph": {
|
|
2842
|
-
"anyOf": [
|
|
2843
|
-
{
|
|
2844
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2845
|
-
},
|
|
2846
|
-
{
|
|
2847
|
-
"type": "array",
|
|
2848
|
-
"items": {
|
|
2849
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2850
|
-
}
|
|
2851
|
-
}
|
|
2852
|
-
]
|
|
2853
|
-
},
|
|
2854
|
-
"@nest": {
|
|
2855
|
-
"anyOf": [
|
|
2856
|
-
{
|
|
2857
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
2858
|
-
},
|
|
2859
|
-
{
|
|
2860
|
-
"type": "array",
|
|
2861
|
-
"items": {
|
|
2862
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
2863
|
-
}
|
|
2864
|
-
}
|
|
2865
|
-
]
|
|
2866
|
-
},
|
|
2867
|
-
"@type": {
|
|
2868
|
-
"anyOf": [
|
|
2869
|
-
{
|
|
2870
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2871
|
-
},
|
|
2872
|
-
{
|
|
2873
|
-
"type": "array",
|
|
2874
|
-
"items": {
|
|
2875
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2876
|
-
}
|
|
2877
|
-
}
|
|
2878
|
-
]
|
|
2879
|
-
},
|
|
2880
|
-
"@reverse": {
|
|
2881
|
-
"type": "object",
|
|
2882
|
-
"additionalProperties": {
|
|
2883
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2884
|
-
}
|
|
2885
|
-
},
|
|
2886
|
-
"@index": {
|
|
2887
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2888
|
-
}
|
|
2889
|
-
},
|
|
2890
|
-
"description": "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document."
|
|
2891
|
-
},
|
|
2892
|
-
"JsonLdNodePrimitive": {
|
|
2893
|
-
"anyOf": [
|
|
2894
|
-
{
|
|
2895
|
-
"type": "null"
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"type": "boolean"
|
|
2899
|
-
},
|
|
2900
|
-
{
|
|
2901
|
-
"type": "number"
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"type": "string"
|
|
2905
|
-
},
|
|
2906
|
-
{
|
|
2907
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2908
|
-
},
|
|
2909
|
-
{
|
|
2910
|
-
"$ref": "#/components/schemas/JsonLdGraphObject"
|
|
2911
|
-
},
|
|
2912
|
-
{
|
|
2913
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
2914
|
-
},
|
|
2915
|
-
{
|
|
2916
|
-
"$ref": "#/components/schemas/JsonLdListObject"
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"$ref": "#/components/schemas/JsonLdSetObject"
|
|
2920
|
-
}
|
|
2921
|
-
],
|
|
2922
|
-
"description": "A node primitive is a JSON-LD value which is not one of the defined NodeObject properties."
|
|
2923
|
-
},
|
|
2924
|
-
"JsonLdSetObject": {
|
|
2925
|
-
"type": "object",
|
|
2926
|
-
"properties": {
|
|
2927
|
-
"@set": {
|
|
2928
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2929
|
-
},
|
|
2930
|
-
"@index": {
|
|
2931
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
1313
|
+
"inner": {
|
|
1314
|
+
"$ref": "#/components/schemas/Error"
|
|
2932
1315
|
}
|
|
2933
1316
|
},
|
|
2934
1317
|
"required": [
|
|
2935
|
-
"
|
|
1318
|
+
"name",
|
|
1319
|
+
"message"
|
|
2936
1320
|
],
|
|
2937
1321
|
"additionalProperties": false,
|
|
2938
|
-
"description": "
|
|
2939
|
-
},
|
|
2940
|
-
"JsonLdTypeMap": {
|
|
2941
|
-
"type": "object",
|
|
2942
|
-
"additionalProperties": {
|
|
2943
|
-
"anyOf": [
|
|
2944
|
-
{
|
|
2945
|
-
"type": "string"
|
|
2946
|
-
},
|
|
2947
|
-
{
|
|
2948
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2949
|
-
}
|
|
2950
|
-
]
|
|
2951
|
-
},
|
|
2952
|
-
"description": "A type map is used to associate an IRI with a value that allows easy programmatic access."
|
|
2953
|
-
},
|
|
2954
|
-
"JsonLdValueObject": {
|
|
2955
|
-
"anyOf": [
|
|
2956
|
-
{
|
|
2957
|
-
"type": "object",
|
|
2958
|
-
"additionalProperties": false,
|
|
2959
|
-
"properties": {
|
|
2960
|
-
"@value": {
|
|
2961
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2962
|
-
},
|
|
2963
|
-
"@language": {
|
|
2964
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2965
|
-
},
|
|
2966
|
-
"@direction": {
|
|
2967
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2968
|
-
},
|
|
2969
|
-
"@index": {
|
|
2970
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2971
|
-
},
|
|
2972
|
-
"@context": {
|
|
2973
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
"required": [
|
|
2977
|
-
"@value"
|
|
2978
|
-
]
|
|
2979
|
-
},
|
|
2980
|
-
{
|
|
2981
|
-
"type": "object",
|
|
2982
|
-
"additionalProperties": false,
|
|
2983
|
-
"properties": {
|
|
2984
|
-
"@value": {
|
|
2985
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2986
|
-
},
|
|
2987
|
-
"@type": {
|
|
2988
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2989
|
-
},
|
|
2990
|
-
"@index": {
|
|
2991
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2992
|
-
},
|
|
2993
|
-
"@context": {
|
|
2994
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2995
|
-
}
|
|
2996
|
-
},
|
|
2997
|
-
"required": [
|
|
2998
|
-
"@type",
|
|
2999
|
-
"@value"
|
|
3000
|
-
]
|
|
3001
|
-
},
|
|
3002
|
-
{
|
|
3003
|
-
"type": "object",
|
|
3004
|
-
"additionalProperties": false,
|
|
3005
|
-
"properties": {
|
|
3006
|
-
"@value": {
|
|
3007
|
-
"anyOf": [
|
|
3008
|
-
{
|
|
3009
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
3010
|
-
},
|
|
3011
|
-
{
|
|
3012
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
3013
|
-
},
|
|
3014
|
-
{
|
|
3015
|
-
"$ref": "#/components/schemas/JsonLdJsonArray"
|
|
3016
|
-
}
|
|
3017
|
-
]
|
|
3018
|
-
},
|
|
3019
|
-
"@type": {
|
|
3020
|
-
"type": "string",
|
|
3021
|
-
"const": "@json"
|
|
3022
|
-
},
|
|
3023
|
-
"@index": {
|
|
3024
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
3025
|
-
},
|
|
3026
|
-
"@context": {
|
|
3027
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
3028
|
-
}
|
|
3029
|
-
},
|
|
3030
|
-
"required": [
|
|
3031
|
-
"@type",
|
|
3032
|
-
"@value"
|
|
3033
|
-
]
|
|
3034
|
-
}
|
|
3035
|
-
],
|
|
3036
|
-
"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."
|
|
1322
|
+
"description": "Model to describe serialized error."
|
|
3037
1323
|
},
|
|
3038
1324
|
"NotFoundResponse": {
|
|
3039
1325
|
"type": "object",
|