-
Notifications
You must be signed in to change notification settings - Fork 16
/
transfer-start-message-schema.json
68 lines (68 loc) · 1.57 KB
/
transfer-start-message-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "TransferStartMessageSchema",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/TransferStartMessage"
}
],
"$id": "https://w3id.org/dspace/2024/1/transfer/transfer-start-message-schema.json",
"definitions": {
"TransferStartMessage": {
"type": "object",
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
},
"@type": {
"type": "string",
"const": "dspace:TransferStartMessage"
},
"dspace:providerPid": {
"type": "string"
},
"dspace:consumerPid": {
"type": "string"
},
"dspace:dataAddress": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"const": "dspace:DataAddress"
},
"dspace:endpointType": {
"type": "string"
},
"dspace:endpoint": {
"type": "string"
},
"dspace:endpointProperties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"const": "dspace:EndpointProperty"
},
"dspace:name": {
"type": "string"
},
"dspace:value": {
"type": "string"
}
},
"required": ["@type", "dspace:name", "dspace:value"]
}
}
},
"required": ["@type", "dspace:endpointType", "dspace:endpoint"]
}
},
"required": [ "@context", "@type", "dspace:providerPid", "dspace:consumerPid" ]
}
}
}