source: trip-planner-front/node_modules/json-schema/draft-03/examples/card@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.1 KB
Line 
1{
2 "description":"A representation of a person, company, organization, or place",
3 "type":"object",
4 "properties":{
5 "fn":{
6 "description":"Formatted Name",
7 "type":"string"
8 },
9 "familyName":{
10 "type":"string",
11 "required":true
12 },
13 "givenName":{
14 "type":"string",
15 "required":true
16 },
17 "additionalName":{
18 "type":"array",
19 "items":{
20 "type":"string"
21 }
22 },
23 "honorificPrefix":{
24 "type":"array",
25 "items":{
26 "type":"string"
27 }
28 },
29 "honorificSuffix":{
30 "type":"array",
31 "items":{
32 "type":"string"
33 }
34 },
35 "nickname":{
36 "type":"string"
37 },
38 "url":{
39 "type":"string",
40 "format":"url"
41 },
42 "email":{
43 "type":"object",
44 "properties":{
45 "type":{
46 "type":"string"
47 },
48 "value":{
49 "type":"string",
50 "format":"email"
51 }
52 }
53 },
54 "tel":{
55 "type":"object",
56 "properties":{
57 "type":{
58 "type":"string"
59 },
60 "value":{
61 "type":"string",
62 "format":"phone"
63 }
64 }
65 },
66 "adr":{"$ref" : "http://json-schema.org/address"},
67 "geo":{"$ref" : "http://json-schema.org/geo"},
68 "tz":{
69 "type":"string"
70 },
71 "photo":{
72 "format":"image",
73 "type":"string"
74 },
75 "logo":{
76 "format":"image",
77 "type":"string"
78 },
79 "sound":{
80 "format":"attachment",
81 "type":"string"
82 },
83 "bday":{
84 "type":"string",
85 "format":"date"
86 },
87 "title":{
88 "type":"string"
89 },
90 "role":{
91 "type":"string"
92 },
93 "org":{
94 "type":"object",
95 "properties":{
96 "organizationName":{
97 "type":"string"
98 },
99 "organizationUnit":{
100 "type":"string"
101 }
102 }
103 }
104 }
105}
Note: See TracBrowser for help on using the repository browser.