Note
Validate against: http://json-schema.org/draft-07/schema#
Schema ID: http://schemas.digitallinguistics.io/Note-5.0.0.json
Type: object
Description
A note about this resource. Notes may also include type
and language
attributes.
Required Properties
text
Properties
The following properties are defined for this object:
Type:
type
Type:
string
Read-only:
true
Description
The type of object. Must be set to
Note
.This item must have the following value:
"Note"
Date Created:
dateCreated
Type:
string
Description
The date and optionally time that this note was created
This item must also validate against exactly one of the following schemas:
Format:
date
Format:
date-time
Date Modified:
dateModified
Type:
string
Description
The date and optionally time that this note was last modified
This item must also validate against exactly one of the following schemas:
Format:
date
Format:
date-time
Note Language:
language
Type:
string
Description
A language code or language name of the language that this note is written in. Assumed to be English if not otherwise specified.
Note Type:
noteType
Type:
string
Description
The type of Note. Required for notes on Lexemes.
Source (Person - Database Reference):
source
Type:
object
Description
A database reference to a Person object describing the person who is the source of the information in this Note. This is not necessarily the person who wrote it. For example, a linguist could make a note based on something that a speaker reports, in which case the speaker should be listed as the source.
Referenced Schema
This item must validate against the following schema:
Tags:
tags
Type:
object
Description
A set of tags that apply to this Note. Useful for tagging notes that need review or responses, or marking a note as resolved.
Referenced Schema
This item must validate against the following schema:
Note Text:
text
Type:
string
Description
The text of the note itself
Minimum length:
1
Additional Properties
Any additional properties must adhere to the following schema:
No values are valid for this schema.
Examples
The following are example values for this schema:
-
{ "dateCreated": "2018-10-31T18:00:09.433Z", "dateModified": "2018-10-31T18:00:23.691Z", "language": "swa", "source": { "abbreviation": "DWH" }, "text": "Msemaji huyu ni Janet Kerubo Momanyi.", "type": "Note" }
-
{ "dateCreated": "2018-10-31T18:00:09.433Z", "dateModified": "2018-10-31T18:00:23.691Z", "language": "eng", "noteType": "encyclopedic", "source": { "name": "Morris Swadesh" }, "text": "Box turtles are known for eating strawberries.", "type": "Note" }