forked from legastero/stanza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataform-4.json
96 lines (96 loc) · 2.96 KB
/
dataform-4.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
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
[
"dataform",
{
"instructions": [],
"type": "form",
"fields": [
{
"label": "Event Date/Time",
"name": "evt.date",
"rawValues": ["2003-10-06T11:22:00-07:00"],
"type": "text-single",
"value": "2003-10-06T11:22:00-07:00",
"validation": {
"type": "xs:dateTime",
"method": "basic"
}
},
{
"label": "Event Category",
"name": "evt.category",
"rawValues": [],
"type": "list-single",
"validation": {
"type": "xs:string",
"method": "open"
},
"options": [
{
"value": "holiday"
},
{
"value": "reminder"
},
{
"value": "appointment"
}
]
},
{
"label": "RSVP Date/Time",
"name": "evt.rsvp",
"rawValues": ["2003-10-06T11:22:00-07:00"],
"type": "text-single",
"value": "2003-10-06T11:22:00-07:00",
"validation": {
"type": "xs:dateTime",
"method": "range",
"rangeMin": "2003-10-05T00:00:00-07:00",
"rangeMax": "2003-10-24T23:59:59-07:00"
}
},
{
"description": "This field should be your SSN, including '-' (e.g. 123-12-1234)",
"label": "Social Security Number",
"name": "ssn",
"rawValues": [],
"type": "text-single",
"validation": {
"type": "xs:string",
"method": "regex",
"regex": "([0-9]{3})-([0-9]{2})-([0-9]{4})"
}
},
{
"label": "Notify me by",
"name": "evt.notify-methods",
"rawValues": [],
"type": "list-multi",
"value": [],
"validation": {
"type": "xs:string",
"method": "basic",
"listMin": 1,
"listMax": 3
},
"options": [
{
"value": "e-mail"
},
{
"value": "jabber/xmpp"
},
{
"value": "work phone"
},
{
"value": "home phone"
},
{
"value": "cell phone"
}
]
}
]
}
]