-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfeedback.json
115 lines (115 loc) · 2.63 KB
/
feedback.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"footer": "github.com/andrewarrow/feedback",
"title": "feedback",
"routes": [{"root": "sessions", "paths": [
{"verb": "GET", "second": "", "third": ""},
{"verb": "GET", "second": "*", "third": ""},
{"verb": "POST", "second": "", "third": ""}
]},
{"root": "users", "paths": [
{"verb": "GET", "second": "", "third": ""},
{"verb": "GET", "second": "*", "third": ""},
{"verb": "GET", "second": "thing", "third": "*"},
{"verb": "POST", "second": "", "third": ""}
]}
],
"models": [
{
"name": "user",
"fields": [
{
"name": "username",
"flavor": "username",
"index": "unique",
"required": "",
"regex": "^[a-zA-Z0-9_]{2,20}$",
"null": ""
},
{
"name": "password",
"flavor": "fewWords",
"index": "",
"required": "",
"regex": "^.{8,100}$",
"null": ""
},
{
"name": "id",
"flavor": "int",
"index": "",
"required": "",
"regex": "",
"null": ""
},
{
"name": "created_at",
"flavor": "timestamp",
"index": "yes",
"required": "",
"regex": "",
"null": ""
},
{
"name": "guid",
"flavor": "uuid",
"index": "yes",
"required": "",
"regex": "",
"null": ""
},
{
"name": "updated_at",
"flavor": "timestamp",
"index": "yes",
"required": "",
"regex": "",
"null": ""
},
{
"name": "security_level",
"flavor": "name",
"index": "",
"required": "",
"regex": "",
"null": ""
}
]
},
{
"name": "zip_location",
"fields": [
{
"name": "zip",
"flavor": "int",
"index": "unique"
},
{
"name": "location",
"flavor": "geometry",
"null": "yes"
}
]
},
{
"name": "cookie_token",
"fields": [
{
"name": "guid",
"flavor": "uuid",
"index": "yes",
"required": "",
"regex": "",
"null": ""
},
{
"name": "user_id",
"flavor": "int",
"index": "yes",
"required": "",
"regex": "",
"null": ""
}
]
}
]
}