-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcontract-negotiation-error-schema.json
53 lines (53 loc) · 1.13 KB
/
contract-negotiation-error-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
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "ContractNegotiationErrorSchema",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ContractNegotiationError"
}
],
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-error-schema.json",
"definitions": {
"ContractNegotiationError": {
"type": "object",
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
},
"@type": {
"type": "string",
"const": "dspace:ContractNegotiationError"
},
"dspace:providerPid": {
"type": "string"
},
"dspace:consumerPid": {
"type": "string"
},
"dspace:code": {
"type": "string"
},
"dspace:reason": {
"type": "array",
"minItems": 1,
"items": {}
},
"dct:description": {
"type": "array",
"items": {
"@language": {
"type": "string"
},
"@value": {
"type": "string"
}
},
"required": [ "@language", "@value"]
}
},
"required": [ "@context", "@type", "dspace:providerPid", "dspace:consumerPid"]
}
}
}