We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d96676 commit 5265f00Copy full SHA for 5265f00
1 file changed
donors/kg-donors/kg-donors.graphql
@@ -0,0 +1,38 @@
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
27
28
+ city: State
29
30
+type City {
31
32
33
+ state: State
34
35
+type State {
36
+ name: String! @id
37
38
0 commit comments