-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperson-name.schema.json
59 lines (59 loc) · 2.71 KB
/
person-name.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"meta:license": [
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/context/person-name",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Person Name",
"type": "object",
"meta:extensible": true,
"description": "Full name of a person",
"definitions": {
"personname": {
"properties": {
"xdm:firstName": {
"title": "First name",
"type": "string",
"description":
"The first segment of the name in the writing order most commonly accepted in the language of the name. In many cultures this is the preferred personal or given name.\n\nThe `firstName` and `lastName` properties have been introduced to maintain compatibility with existing systems that model names in a simplified, non-semantic, and non-internationalizable way. Using `xdm:fullName` is always preferable."
},
"xdm:lastName": {
"title": "Last name",
"type": "string",
"description":
"The last segment of the name in the writing order most commonly accepted in the language of the name. In many cultures this is the inherited family name, surname, patronymic, or matronymic name.\n\nThe `firstName` and `lastName` properties have been introduced to maintain compatibility with existing systems that model names in a simplified, non-semantic, and non-internationalizable way. Using `xdm:fullName` is always preferable."
},
"xdm:middleName": {
"title": "Middle name",
"type": "string",
"description":
"Middle, alternative, or additional names supplied between the first name and last name."
},
"xdm:courtesyTitle": {
"title": "Courtesy title",
"type": "string",
"description":
"Normally an abbreviation of a persons *title*, *honorific*, or *salutation*.\nThe `courtesyTitle` is used in front of full or last name in opening texts.\ne.g Mr. Miss. or Dr J. Smith.\n"
},
"xdm:fullName": {
"title": "Full name",
"type": "string",
"description":
"The full name of the person, in writing order most commonly accepted in the language of the name."
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/personname"
}
],
"meta:status": "experimental"
}