minio argo nats face
diff --git a/dgraph/schema.graphql b/dgraph/schema.graphql
new file mode 100644
index 0000000..1ce2e10
--- /dev/null
+++ b/dgraph/schema.graphql
@@ -0,0 +1,46 @@
+enum EntityType {
+     HUMAN
+     CAR
+}
+
+type Person {
+     id: Int!
+     fullName: String!
+     nick: String
+     imgs: [Image]
+}
+
+type Image {
+     id: Int! @search
+     objectPath: String! @search(by: [term])
+     segments: [ImageSegment]
+}
+
+type Point {
+     x: Int!
+     y: Int!
+}
+
+type ImageSegment {
+     id: Int!
+     upperLeft: Point!
+     lowerRight: Point!
+     represents: EntityType
+     depicts: Person
+}
+
+type A {
+     id: ID!
+}
+
+type B {
+     id: ID!
+     name: String
+     a: [A]
+}
+
+extend type A {
+       name: String @search(by: [term])
+       b: B @hasInverse(field: a)
+       
+}
\ No newline at end of file