University College Dublin · Schema
Duchas Person
A normalized person record from the Persons Database (CBED) of the National Folklore Collection, UCD.
EducationHigher EducationUniversityIrelandLibraryDigital LibraryIIIFOpen AccessCultural Heritage
Properties
| Name | Type | Description |
|---|---|---|
| ID | integer | |
| DateCreated | string | |
| DateModified | string | |
| Names | array | |
| Gender | string | |
| AinmID | integer | |
| ViafID | integer | |
| BirthDate | object | |
| DeathDate | object | |
| BirthCounty | object | |
| BirthCountry | object | |
| Counties | array | |
| Countries | array | |
| Occupations | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/ucd/main/json-schema/ucd-person-schema.json",
"title": "Duchas Person",
"description": "A normalized person record from the Persons Database (CBED) of the National Folklore Collection, UCD.",
"type": "object",
"properties": {
"ID": { "type": "integer" },
"DateCreated": { "type": "string", "format": "date-time" },
"DateModified": { "type": "string", "format": "date-time" },
"Names": { "type": "array", "items": { "$ref": "#/$defs/Name" } },
"Gender": { "type": "string", "enum": ["f", "m"] },
"AinmID": { "type": "integer" },
"ViafID": { "type": "integer" },
"BirthDate": { "$ref": "#/$defs/Date" },
"DeathDate": { "$ref": "#/$defs/Date" },
"BirthCounty": { "$ref": "#/$defs/County" },
"BirthCountry": { "$ref": "#/$defs/Country" },
"Counties": { "type": "array", "items": { "$ref": "#/$defs/County" } },
"Countries": { "type": "array", "items": { "$ref": "#/$defs/Country" } },
"Occupations": { "type": "array", "items": { "$ref": "#/$defs/Occupation" } }
},
"required": ["ID"],
"$defs": {
"Name": {
"type": "object",
"properties": {
"FirstNames": { "type": "string" },
"Surname": { "type": "string" },
"FullName": { "type": "string" }
}
},
"Date": {
"type": "object",
"properties": {
"IsoDate": { "type": "string" },
"Accuracy": { "type": "string", "enum": ["APPROX", "INFER", "QUESTION"] },
"Year": { "type": "integer" }
}
},
"Coordinates": {
"type": "object",
"properties": {
"Latitude": { "type": "number" },
"Longitude": { "type": "number" }
}
},
"County": {
"type": "object",
"properties": {
"LogainmID": { "type": "integer" },
"NameEN": { "type": "string" },
"NameGA": { "type": "string" },
"Coordinates": { "$ref": "#/$defs/Coordinates" }
}
},
"Country": {
"type": "object",
"properties": {
"IsoCode": { "type": "string" },
"GeoNameID": { "type": "integer" },
"NameEN": { "type": "string" },
"NameGA": { "type": "string" }
}
},
"Occupation": {
"type": "object",
"properties": {
"ID": { "type": "string" },
"NameEN": { "type": "string" },
"NameGA": { "type": "string" }
}
}
}
}