-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
79 lines (58 loc) · 1.53 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
78
79
# -----------------------------------------------
# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!
# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!
# -----------------------------------------------
type Query {
"""A list of available vaccine center details"""
centers: [Center]
}
"""Information about center details"""
type Center {
"""Identification of a center"""
centerIdentifier: Float!
"""Name of the center"""
name: String!
"""Address of the center"""
address: String!
"""In which state center falls under"""
stateName: String!
"""In which district of the state center falls under"""
districtName: String!
"""Area of the center"""
blockName: String!
"""Pincode of the where center falls under"""
pincode: Float!
"""Time when vaccination starts for that day"""
from: String!
"""Time when vaccination ends for that day"""
to: String!
"""If the vaccination is paid or free"""
feeType: String!
"""session details"""
sessions: [Session!]!
}
"""Information about session"""
type Session {
"""Identification of a session"""
id: String!
"""Date when the session is available"""
date: String!
"""Number of available doses"""
availableCapacity: Float!
"""Minimum age limit"""
ageLimit: Float!
"""Name of the vaccine"""
vaccineName: String!
"""List of available slots timings"""
slots: [String!]!
}
type Mutation {
sendMessage: Message!
}
"""Information about if successful transaction"""
type Message {
"""Message"""
message: String!
"""Status"""
status: String!
}