forked from sergeyt/pandora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.txt
218 lines (200 loc) · 4.7 KB
/
schema.txt
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
User: string @count .
Account: string @count .
Term: string @count .
MultiTerm: string @count .
Tag: string @count .
File: string @count .
Category: string @count .
Message: string @count .
Channel: string @count .
Document: string @count .
name: string @index(term, fulltext, trigram) .
first_name: string @index(term, fulltext, trigram) .
last_name: string @index(term, fulltext, trigram) .
nick_name: string @index(term, fulltext, trigram) .
login: string @index(term, trigram) .
password: password .
email: string @index(term, trigram) .
phone: string @index(term, trigram) .
role: string @index(term, trigram) .
avatar: string @index(term) .
description: string @lang @index(term, fulltext, trigram) .
age: int @index(int) .
first_lang: string @index(term) .
second_lang: string @index(term) .
location: string @index(term, trigram) .
region: string @index(term, trigram) .
country: string @index(term, trigram) .
state: string @index(term, trigram) .
city: string @index(term, trigram) .
provider: string @index(term) .
status: string @index(term) .
user_id: string @index(term) .
type: string @index(term) .
content_type: string @index(term) .
lang: string @index(term) .
hash: string @index(term) .
text: string @lang @index(term, fulltext, trigram) .
url: string @index(term) .
source: string @index(term, trigram) .
geo: geo @index(geo) .
path: string @index(term, trigram) .
registered_at: dateTime .
created_at: dateTime .
modified_at: dateTime .
due: dateTime .
estimate: int @index(int) .
remaining_estimate: int @index(int) .
account: [uid] @count .
friend: [uid] @count .
follow: [uid] @count .
member_of: [uid] @count .
part_of: [uid] @count .
in: [uid] @count .
tag: [uid] @count .
transcription: [uid] @count .
transcription_of: [uid] @count .
channel: [uid] @count .
from: [uid] @count .
to: [uid] @count .
translated_as: [uid] @count @reverse .
visual: [uid] @count .
audio: [uid] @count .
related: [uid] @count @reverse .
synonym: [uid] @count @reverse .
antonym: [uid] @count @reverse .
definition: [uid] @count .
definition_of: [uid] @count .
collocation: [uid] @count .
collocation_of: [uid] @count .
created_by: uid @count .
modified_by: uid @count .
use: [uid] @count .
know: [uid] @count .
forgot: [uid] @count .
learning: [uid] @count .
interesting: [uid] @count .
see: [uid] @count .
like: [uid] @count .
dislike: [uid] @count .
date: dateTime .
extractforaccessibility: bool .
hasxmp: bool .
subject: string .
canmodify: bool .
title: string .
unmappedunicodecharsperpage: string .
extractcontent: bool .
sourcemodified: string .
modified: dateTime .
company: string .
documentid: string .
npages: int .
assembledocument: bool .
hasxfa: bool .
xparsedby: string .
hasacroformfields: bool .
author: [uid] @count .
format: string .
canprintdegraded: bool .
pdfversion: string .
charsperpage: string .
modifyannotations: bool .
fillinform: bool .
creatortool: string .
encrypted: bool .
canprint: bool .
producer: string .
type Person {
name: string
first_name: string
last_name: string
}
type User {
name: string
first_name: string
last_name: string
nick_name: string
login: string
password: password
email: string
phone: string
role: string
avatar: string
age: int
first_lang: string
second_lang: string
region: string
country: string
state: string
city: string
status: string
description: string
location: string
registered_at: dateTime
created_at: dateTime
modified_at: dateTime
}
type Account {
provider: string
email: string
name: string
first_name: string
last_name: string
nick_name: string
user_id: string
description: string
avatar: string
location: string
role: string
created_at: dateTime
modified_at: dateTime
}
type File {
path: string
url: string
source: string
content_type: string
region: string
created_at: dateTime
modified_at: dateTime
}
type Term {
created_at: dateTime
modified_at: dateTime
text: string
lang: string
region: string
}
type Document {
created_at: dateTime
modified_at: dateTime
url: string
text: string
date: dateTime
extractforaccessibility: bool
hasxmp: bool
subject: string
canmodify: bool
title: string
unmappedunicodecharsperpage: string
extractcontent: bool
sourcemodified: string
company: string
documentid: string
npages: int
assembledocument: bool
hasxfa: bool
xparsedby: string
hasacroformfields: bool
format: string
canprintdegraded: bool
pdfversion: string
charsperpage: string
modifyannotations: bool
fillinform: bool
creatortool: string
encrypted: bool
canprint: bool
producer: string
}