Location
Validate against: http://json-schema.org/draft-07/schema#
Schema ID: http://schemas.digitallinguistics.io/Location-3.4.0.json
Type: object
Description
A location, optionally with accompanying geographic coordinate data
Required Properties
name
Properties
The following properties are defined for this object:
Type:
typeType:
stringRead-only:
trueDescription
The type of object. Must be set to
Location.This item must have the following value:
"Location"ID:
idDescription
A unique database identifier for this Location
Abbreviation:
abbreviationType:
stringDescription
An abbreviation for this Location
Referenced Schema
This item must validate against the following schema:
Access Rights:
accessType:
objectDescription
Since locations sometimes contain personal information like addresses, it is important to consider the proper access management policy for them.
Referenced Schema
This item must validate against the following schema:
Address:
addressType:
objectDescription
An address associated with this location
Referenced Schema
This item must validate against the following schema:
Date:
dateType:
stringDescription
The date and optionally time that a language was spoken in this location
This item must also validate against exactly one of the following schemas:
Format:
dateFormat:
date-time
Date Created:
dateCreatedType:
stringDescription
The date and optionally time that this Location object was created
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 Location was last modified
This item must also validate against exactly one of the following schemas:
Format:
dateFormat:
date-time
GeoJSON Geometry Object:
geoJSONType:
objectDescription
A GeoJSON object describing this Location. Must adhere to the GeoJSON format: https://geojson.org/.
Referenced Schema
This item must validate against the following schema:
Link:
linkType:
stringDescription
A URL where a presentational format for this resource may be viewed
Format:
uriName:
nameDescription
A name for this location, e.g.
Susan’s HouseorValley High School, orShenandoah River, optionally in multiple languages. The name must be provided in at least one language.Referenced Schema
This item must validate against the following schema:
Notes:
notesType:
arrayDescription
A collection of notes about this Location
Items must be unique:
trueItems
Each item in this array must adhere to the following schema:
Note:
notesType:
objectDescription
A note about this location
Referenced Schema
This item must validate against the following schema:
Bibliographic References:
referencesType:
arrayDescription
A collection of bibliographic sources about this Location
Items must be unique:
trueItems
Each item in this array must adhere to the following schema:
Reference:
referencesType:
objectDescription
A bibliographic source about this location
Referenced Schema
This item must validate against the following schema:
http://schemas.digitallinguistics.io/BibliographicSource.json
Tags:
tagsType:
objectDescription
A set of tags for this Location
Referenced Schema
This item must validate against the following schema:
URL:
urlType:
stringDescription
The URL where information about this location can be retrieved
Format:
uri
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": "Charenton", "access": { "note": { "eng": "There are no restrictions on access to this location." } }, "date": "2018-10-30", "dateCreated": "2018-10-30T01:54:19.901Z", "dateModified": "2018-10-30T01:54:39.394Z", "geoJSON": { "type": "Point", "coordinates": [ 29.874408, -91.547868 ] }, "id": "ed15e19a-1ba0-437d-9adf-61f4cca1ff3a", "name": "Charenton", "notes": [ { "text": "Built on the site of the Chitimacha village Kas Kec Namu.", "language": "eng" } ], "type": "Location", "url": "https://api.digitallinguistics.io/locations/Charenton" } -
{ "abbreviation": "Kisii", "date": "2018-10-19", "dateCreated": "2018-10-30T01:54:19.901Z", "dateModified": "2018-10-30T01:54:39.394Z", "geoJSON": { "type": "Point", "coordinates": [ -0.67677, 34.77905 ] }, "id": "226118c2-3e03-40cd-ab4a-d4e832140408", "name": "Kisii", "type": "Location", "url": "https://api.digitallinguistics.io/locations/Kisii" }
Developer Notes
This is a top-level database object