-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathschema.graphql
78 lines (70 loc) · 1.29 KB
/
schema.graphql
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
scalar DateTime
type ObjetoDeAprendizagem {
id: ID!,
dtdispo: DateTime,
tema: String,
finalidade: String,
atividade: Int,
dplataf: Int,
dares: Int,
url_ares: Int,
url_youtube: Int,
davasus: Int,
drsociais: Int,
doutros: Int,
tipo: Int,
decs: String,
num: Int
}
type Atividade {
id: ID,
modalidade: Int,
tipo: Int,
tema: String,
decs: String,
moderador: Int,
descricao: String,
dtdispo: DateTime,
hr_inicio: String,
hr_termino: String,
local: Int,
status: Int,
participantes: [Participante!]!
}
type Participante {
id: ID!,
cpf: String,
cbo: Int,
cnes: Int,
ine: Int,
satisf: Int,
dtparti: DateTime
}
type Estabelecimento {
cnes: Int,
nome: String,
tconsul: Int,
tdiagn: Int,
teduca: Int,
}
type Teleconsultoria {
dtsol: DateTime,
tipo: String,
canal: String,
scpf: String,
scbo: String,
scnes: String,
cids: [String!],
ciaps: [String!],
dtresp: DateTime,
evenc: String,
inenc: String,
satisf: String,
rduvida: String,
psof: String
}
type Query {
objetosDeAprendizagem: [ObjetoDeAprendizagem!]!,
atividades: [Atividade!]!,
estabelecimentos: [Estabelecimento!]!
}