-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProhibition.schema.json
39 lines (39 loc) · 1.36 KB
/
Prohibition.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#Prohibition",
"title": "Prohibition",
"description": "A Prohibition disallows an action, with all refinements satisfied, to be exercised on an Asset if all constraints are satisfied. If the Prohibition has been infringed by the action being exercised, then all of the remedies MUST be fulfilled to set the state of the Prohibition to not infringed.",
"type": "object",
"required": [
"target"
],
"properties": {
"target": {
"description": "A Prohibition MUST have one target property value of type Asset.",
"$ref": "AssetOrIRI.schema.json#AssetOrIRI"
},
"assigner": {
"description": "A Prohibition MAY have none or one assigner property value of type Party.",
"$ref": "PartyOrIRI.schema.json#PartyOrIRI"
},
"assignee": {
"description": "A Prohibition MAY have none or one assignee property value of type Party.",
"$ref": "PartyOrIRI.schema.json#PartyOrIRI"
},
"remedy": {
"description": "A Prohibition MAY have none, one, or more remedy property values of type Duty.",
"type": "array",
"items": {
"$ref": "Duty.schema.json#Duty"
}
}
},
"allOf": [
{
"$ref": "https://tmforum-rand.github.io/schemas/Common/EntityRef.schema.json#EntityRef"
},
{
"$ref": "Rule.schema.json#Rule"
}
]
}