Skip to content
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