Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Additional Note attributes #544

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 36 additions & 3 deletions schemas/groups/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,14 @@
},
"region": {
"type": "string",
"description": "Region related to note. A pointer to a region UUID. Alternative to position or geohash"
"description": "A pointer to a region UUID to which the Note is related. Can be defined in addition to position or geohash"
},
"position": {
"description": "Position related to note. Alternative to region or geohash",
"description": "Position related to note.",
"$ref": "../definitions.json#/definitions/position"
},
"geohash": {
"description": "Position related to note. Alternative to region or position",
"description": "Area related to note. Geohash area should encompass the position value (if it is defined).",
"$ref": "../definitions.json#/definitions/geohash"
},
"mimeType": {
Expand All @@ -220,6 +220,39 @@
"type": "string",
"description": "Location of the note"
},
"group": {
"type": "string",
"description": "Name of a group or collection to which the note is attached"
},
"authors": {
"type": "array",
"description": "List of note author(s)",
"anyOf": [
{
"$ref": "../definitions.json#/definitions/commonValueFields"
},
{
"properties": {
"name": {
"type": "string",
"description": "Name of author"
},
"email": {
"type": "string",
"description": "E-mail address of author"
},
"url": {
"type": "string",
"description": "Link to author details"
}
}
}
]
},
"properties": {
"type": "object",
"description": "Extension properties placholder for use by applications."
},
"timestamp": {
"description": "Timestamp of the last update to this data",
"$ref": "../definitions.json#/definitions/timestamp"
Expand Down