Blame view

node_modules/json-schema/draft-03/examples/card 2.12 KB
aaac7fed   liuqimichale   add
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
  {
     "description":"A representation of a person, company, organization, or place",
     "type":"object",
     "properties":{
        "fn":{
           "description":"Formatted Name",
           "type":"string"
        },
        "familyName":{
           "type":"string",
           "required":true
        },
        "givenName":{
           "type":"string",
           "required":true
        },
        "additionalName":{
           "type":"array",
           "items":{
              "type":"string"
           }
        },
        "honorificPrefix":{
           "type":"array",
           "items":{
              "type":"string"
           }
        },
        "honorificSuffix":{
           "type":"array",
           "items":{
              "type":"string"
           }
        },
        "nickname":{
           "type":"string"
        },
        "url":{
           "type":"string",
           "format":"url"
        },
        "email":{
           "type":"object",
           "properties":{
              "type":{
                 "type":"string"
              },
              "value":{
                 "type":"string",
                 "format":"email"
              }
           }
        },
        "tel":{
           "type":"object",
           "properties":{
              "type":{
                 "type":"string"
              },
              "value":{
                 "type":"string",
                 "format":"phone"
              }
           }
        },
        "adr":{"$ref" : "http://json-schema.org/address"},
        "geo":{"$ref" : "http://json-schema.org/geo"},
        "tz":{
           "type":"string"
        },
        "photo":{
           "format":"image",
           "type":"string"
        },
        "logo":{
           "format":"image",
           "type":"string"
        },
        "sound":{
           "format":"attachment",
           "type":"string"
        },
        "bday":{
           "type":"string",
           "format":"date"
        },
        "title":{
           "type":"string"
        },
        "role":{
           "type":"string"
        },
        "org":{
           "type":"object",
           "properties":{
              "organizationName":{
                 "type":"string"
              },
              "organizationUnit":{
                 "type":"string"
              }
           }
        }
     }
  }