-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstd_agent.json
34 lines (34 loc) · 1.34 KB
/
std_agent.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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "std:agent",
"title": "Standard Agent",
"description": "This extension describes a natural or legal person. The extension can be used to model contacts. Furthermore, the extension can be used in conditions to model executors.",
"$comment": "If this extension is used in destroyConditions, the DCA must know who is its user.",
"type": "object",
"unevaluatedProperties": false,
"required": ["name"],
"properties": {
"name": {
"name": "string",
"description": "This is a human readable name of the natural or legal person.",
"examples": ["John Doe"]
},
"mbox": {
"type": "string",
"description": "This is the email address where the person to contact can be reached.",
"format": "email",
"examples": ["john.doe@example.com"]
},
"homepage": {
"type": "string",
"description": "Sometimes contacts have their own website as a first point of contact. The website can be added here.",
"format": "uri",
"examples": ["https://example.com/johndoe"]
},
"img": {
"type": "string",
"description": "For some DCA it makes sense to display a picture as well. The image can be stored here as a hyperreference or base64 string.",
"examples": ["https://example.com/johndoe/avatar"]
}
}
}