Text
Validate against: http://json-schema.org/draft-07/schema#
Schema ID: http://schemas.digitallinguistics.io/Text-5.3.0.json
Type: object
Description
A text is the fundamental unit of documentation. It represents a linguistic performance of a stretch of discourse in context. This may include a wide variety of linguistic genres: an elicitation session, a conversation, a narrative, a song, etc. In technical terms, a text is an interlinearized set of utterances with one or more transcriptions, translations, and optionally Leipzig-style glosses.
Required Properties
titleutterances
Properties
The following properties are defined for this object:
Type:
typeType:
stringRead-only:
trueDescription
The type of object. Must be set to
Text.This item must have the following value:
"Text"ID:
idDescription
A unique database identifier for this Text
Abbreviation:
abbreviationType:
stringDescription
An abbreviation for this Text
Referenced Schema
This item must validate against the following schema:
Access Rights:
accessType:
objectDescription
An object describing the acess rights to this Text
Referenced Schema
This item must validate against the following schema:
Annotations:
annotationsType:
arrayDescription
A collection of annotations on this text
Items must be unique:
trueItems
Each item in this array must adhere to the following schema:
Annotation:
annotationsType:
objectDescription
An annotation on this text
Referenced Schema
This item must validate against the following schema:
Bibliography:
bibliographyType:
arrayDescription
A list of citations to any bibliographic sources concerning or relating to this Text
Items
Each item in this array must adhere to the following schema:
Citation:
bibliographyType:
objectDescription
A citation to a bibliographic source about this text
Referenced Schema
This item must validate against the following schema:
Contributors (People):
contributorsType:
arrayDescription
A collection of people who contributed to the creation or analysis of this text in some way. This should miniimally include the speaker(s) who produced the text.
Items
Each item in this array must adhere to the following schema:
Contributor (Person - DatabaseReference):
contributorsType:
objectDescription
A database reference to a Person object that describes this contributor.
Referenced Schema
This item must validate against the following schema:
Date Created:
dateCreatedType:
stringDescription
The date and optionally time that this Text was created in the database (not the date it was recorded; see the
dateRecordedproperty instead)This item must also validate against exactly one of the following schemas:
Format:
dateFormat:
date-time
Date Modified:
dateModifiedType:
stringDescription
The date and optionally time that this Text object was last modified (not the date that the recording of the text was modified)
This item must also validate against exactly one of the following schemas:
Format:
dateFormat:
date-time
Date Recorded:
dateRecordedType:
stringDescription
The date and optionally time that this text was recorded
This item must also validate against exactly one of the following schemas:
Format:
dateFormat:
date-time
Discourse Type:
discourseTypeDescription
The type, or types, of discourse event, e.g. monologue, dialogue, or song
This item must also validate against exactly one of the following schemas:
Type:
stringType:
arrayItems must be unique:
trueItems
Each item in this array must adhere to the following schema:
Discourse Type:
1Type:
stringMinimum length:
1
Genre:
genreDescription
The genre, or genres, of the text, e.g. folktale, personal narrative, or expository
This item must also validate against exactly one of the following schemas:
Type:
stringType:
arrayItems must be unique:
trueItems
Each item in this array must adhere to the following schema:
Genre:
1Type:
stringMinimum length:
1
Link:
linkType:
stringDescription
A URL where a presentational format for this resource may be viewed
Format:
uriLocation:
locationType:
objectDescription
A database reference to the location where this text was recorded
Referenced Schema
This item must validate against the following schema:
Media:
mediaType:
arrayDescription
An array of objects containing information about the media files associated with this Text. Usually this will include the WAV or video file that was originally recorded for the text, but can also include any derivative media files (such as MP3) as well. Media associated with a text are automatically considered to be part of the same database bundle as the Text.
Items must be unique:
trueItems
Each item in this array must adhere to the following schema:
Media Items (Database Reference):
mediaType:
objectDescription
A database reference to an object describing a media file
Referenced Schema
This item must validate against the following schema:
Notes:
notesType:
arrayDescription
A collection of notes about this Text
Items must be unique:
trueItems
Each item in this array must adhere to the following schema:
Note:
notesType:
objectDescription
A Note object
Referenced Schema
This item must validate against the following schema:
Tags:
tagsType:
objectDescription
A set of tags associated with this Text
Referenced Schema
This item must validate against the following schema:
Title:
titleDescription
A title is a human-readable prose description of the content of the Text. The
titleobject contains all the titles of the text, in one or more languages (at least one must be provided). Each attribute in thetitleobject should be the abbreviation of a language, and its value should be the title of the text in that language.Referenced Schema
This item must validate against the following schema:
URL:
urlType:
stringDescription
The URL where this data can be retrieved in JSON format
Format:
uriUtterance:
utterancesType:
arrayDescription
A collection of all the Utterances contained in this Text. The DLx specification imposes no requirements regarding how the linguist should segment the text into Utterances. The linguist may decide to segment their text based on intonation units, turns, or any other appropriate linguistic subdivision. The order of Utterances in the collection must reflect their actual order in the Text. Utterances do not have to be JSON unique - an Utterance may be repeated in a text. However, utterances are conceptually unique: each utterance represents a different token of speech.
Minimum number of items:
1Items
Each item in this array must adhere to the following schema:
Utterance:
utterancesType:
objectDescription
An Utterance object
Referenced Schema
This item must validate against the following schema:
Additional Properties
Any additional properties must adhere to the following schema:
This schema imposes no restrictions. All values are valid.
Examples
The following are example values for this schema:
-
{ "abbreviation": "A1", "access": { "notes": "This text may be disseminated publicly, provided proper attribution is given to Chief Benjamin Paul and the Chitimacha Tribe." }, "annotations": [], "contributors": [ { "familyName": "Paul", "givenName": "Benjamin", "roles": [ "speaker" ] }, { "familyName": "Swadesh", "givenName": "Morris", "roles": [ "researcher" ] } ], "dateCreated": "2018-10-05T15:26:23.070Z", "dateModified": "2018-10-05T15:26:23.070Z", "discourseType": "monologue", "genre": [ "folktale", "personal narrative" ], "id": "5790c2b7-579c-4bb5-aa5e-537ae1ac06ca", "link": "https://explorer.digitallinguistics.io/languages/Chitimacha/texts/A1", "location": { "abbreviation": "Charenton", "address": { "locality": "Charenton", "region": "Louisiana", "country": "United States" }, "name": "Charenton" }, "title": { "eng": "How the Indian came (first telling)", "ctm": "Qaxt Panx Pinikankx qap cuyi (1)" }, "type": "Text", "utterances": [ { "transcription": { "Mod": "waxdungu qasi" }, "translation": { "eng": "One day a man," }, "transcript": { "Mod": "Waxdungu qasi," }, "words": [] } ], "url": "https://data.digitallinguistics.io/languages/Chitimacha/texts/A1" }
Developer Notes
This is a top-level database object