commit 746d8a84740923e725ca7c5a5e3f5ad876f53279
parent b663bcd442cba88412c1687f2ee7c9a514e16b74
Author: Michael Williams <dinosaur@riseup.net>
Date: Tue, 4 Nov 2014 16:31:30 -0800
fix relationship has and is
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/vocab/Agent.js b/vocab/Agent.js
@@ -24,9 +24,9 @@ module.exports = {
type: "array",
items: {
anyOf: [{
- reverse: "hasRelationship",
+ reverse: "has",
}, {
- reverse: "isRelated",
+ reverse: "is",
}]
$ref: "Relationship",
},
diff --git a/vocab/Relationship.js b/vocab/Relationship.js
@@ -18,12 +18,12 @@ module.exports = {
context: "description",
type: "string",
},
- isRelated: {
+ is: {
description: "The agent that is <relationship name>",
context: "ovn:isRelated",
$ref: "Agent",
},
- hasRelated: {
+ has: {
description: "The agent that has <relationship name>",
context: "ovn:hasRelated",
$ref: "Agent",