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 4 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
43 changes: 40 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,43 @@
"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"
}
}
}
]
},
"readOnly": {
"type": "boolean",
"description": "Indicates whether the content of the Note is permitted to be changed."
},
"draft": {
"type": "boolean",
"description": "Indicates whether the note is available only for use on the local server."
},
"timestamp": {
"description": "Timestamp of the last update to this data",
"$ref": "../definitions.json#/definitions/timestamp"
Expand Down