commit 7b291cb99f0f0f72a6124aa88ab5d0349789ab58
parent 746d8a84740923e725ca7c5a5e3f5ad876f53279
Author: Michael Williams <dinosaur@riseup.net>
Date: Tue, 4 Nov 2014 16:32:06 -0800
minor fixes to person and group
Diffstat:
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/vocab/Group.js b/vocab/Group.js
@@ -13,14 +13,10 @@ module.exports = {
description: "A collection of people and groups.",
properties: {
name: {
- context: "name",
description: "The primary name of the group.",
- type: "string",
},
description: {
- context: "description",
description: "A short description of the group.",
- type: "string",
},
relationships: {
description: "The relationships the group has or is with other agents.",
diff --git a/vocab/Person.js b/vocab/Person.js
@@ -13,20 +13,16 @@ module.exports = {
type: 'object',
properties: {
name: {
- context: "name",
description: "The person's name.",
- type: "string",
+ },
+ description: {
+ description: "A short bio of the person.",
},
handle: {
context: "foaf:nick",
description: "The person's online alias.",
type: "string",
},
- bio: {
- context: "description",
- description: "A short bio of the person.",
- type: "string",
- },
location: {
context: "foaf:based_near",
description: "The location(s) this person is based near.",
@@ -35,15 +31,15 @@ module.exports = {
$ref: "Location",
},
},
- avatar: {
+ image: {
context: "image",
description: "An avatar of the person.",
type: "string",
format: "uri",
},
- homepage: {
+ url: {
context: "url",
- description: "The person's homepage.",
+ description: "The person's website.",
type: "string",
format: "uri",
},