File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+
2+
3+ type School {
4+ id : ID !
5+ name : String ! @search (by : [term ])
6+ type : String ! @search (by : [hash ])
7+ zip : Location @hasInverse (field : " school" )
8+ }
9+
10+ type Location {
11+ zip : String ! @id
12+ district : String @search (by : [hash ])
13+ city : String ! @search (by : [hash ])
14+ county : String @search (by : [hash ])
15+ state : String ! @search (by : [hash ])
16+ geoloc : Point
17+ school : [School ] @hasInverse (field : " zip" )
18+ }
19+
20+ type District {
21+ id : String ! @id
22+ name : String ! @search (by : [hash ])
23+ county : County
24+ }
25+ type County {
26+ id : String ! @id
27+ name : String ! @search (by : [hash ])
28+ city : State
29+ }
30+ type City {
31+ id : String ! @id
32+ name : String ! @search (by : [hash ])
33+ state : State
34+ }
35+ type State {
36+ name : String ! @id
37+ }
38+
You can’t perform that action at this time.
0 commit comments