forked from valueflows/valueflows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAgent.js
More file actions
38 lines (38 loc) · 863 Bytes
/
Agent.js
File metadata and controls
38 lines (38 loc) · 863 Bytes
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
module.exports = {
id: "Agent",
type: 'object',
prefixes: {
"": "http://schema.org/",
"foaf": "http://xmlns.com/foaf/0.1/",
},
context: "foaf:Agent",
description: "An agent.",
properties: {
name: {
context: "name",
description: "The primary name of the agent.",
type: "string",
},
description: {
context: "description",
description: "A short description of the agent.",
type: "string",
},
relationships: {
context: "ovn:hasRelationship",
description: "The relationships the agent has or is with other agents.",
type: "array",
items: {
anyOf: [{
reverse: "has",
}, {
reverse: "is",
}]
$ref: "Relationship",
},
},
},
};
module.exports.dependencies = {
Relationship: require('./Relationship'),
};