forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
websites_schema.yml
56 lines (56 loc) · 1.23 KB
/
websites_schema.yml
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
type: map
mapping:
"websites":
type: seq
sequence:
- type: map
name: Website
mapping:
"name":
type: str
required: yes
unique: yes
"url":
type: str
required: yes
unique: yes
"img":
type: str
required: yes
"tfa":
type: bool
required: yes
"software":
type: bool
pattern: /true/
"hardware":
type: bool
pattern: /true/
"sms":
type: bool
pattern: /true/
"phone":
type: bool
pattern: /true/
"email":
type: bool
pattern: /true/
"exceptions":
type: map
mapping:
"text":
type: str
required: yes
"doc":
type: str
"twitter":
type: str
"facebook":
type: str
"email_address":
type: str
pattern: /\A([\w+\-].?)+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/i
"status":
type: str
"lang":
type: str