'type Blog {
  blog_tags: [BlogTag]
  content: String!
  created_time: String!
  id: Int!
  location: String
  subtitle: String
  timestamp: DateTime!
  title: String!
}

input BlogCreateInput {
  content: String!
  created_time: String!
  location: String
  subtitle: String
  timestamp: DateTime!
  title: String!
}

input BlogIDInput {
  id: Int!
}

input BlogSearchInput {
  content: String
  created_time: String
  location: String
  subtitle: String
  timestamp: DateTime
  title: String
}

type BlogTag {
  blog: Blog!
  id: Int!
  name: String!
}

input BlogTagCreateInput {
  blog: BlogIDInput!
  name: String!
}

input BlogTagIDInput {
  id: Int!
}

input BlogTagSearchInput {
  name: String
}

input BlogTagUpdateInput {
  id: BlogTagIDInput!
  payload: BlogTagSearchInput!
}

input BlogUpdateInput {
  id: BlogIDInput!
  payload: BlogSearchInput!
}

enum CustomType {
  bar
  baz_space
  foo
}

type Mutation {
  createBlog(input: [BlogCreateInput!]!): [Blog]
  createBlogTag(input: [BlogTagCreateInput!]!): [BlogTag]
  createMysql(input: [MysqlCreateInput!]!): [Mysql]
  createPg(input: [PgCreateInput!]!): [Pg]
  createPhoto(input: [PhotoCreateInput!]!): [Photo]
  createPhotoset(input: [PhotosetCreateInput!]!): [Photoset]
  deleteBlog(input: [BlogIDInput!]!): [Boolean]
  deleteBlogTag(input: [BlogTagIDInput!]!): [Boolean]
  deleteMysql(input: [MysqlIDInput!]!): [Boolean]
  deletePg(input: [PgIDInput!]!): [Boolean]
  deletePhoto(input: [PhotoIDInput!]!): [Boolean]
  deletePhotoset(input: [PhotosetIDInput!]!): [Boolean]
  updateBlog(input: [BlogUpdateInput!]!): [Blog]
  updateBlogTag(input: [BlogTagUpdateInput!]!): [BlogTag]
  updateMysql(input: [MysqlUpdateInput!]!): [Mysql]
  updatePg(input: [PgUpdateInput!]!): [Pg]
  updatePhoto(input: [PhotoUpdateInput!]!): [Photo]
  updatePhotoset(input: [PhotosetUpdateInput!]!): [Photoset]
}

type Mysql {
  another_enum_column: MysqlAnotherEnumColumn!
  enum_column: MysqlEnumColumn!
  id: String!
  timestamp_with_tz: DateTime
  timestamp_without_tz: DateTime!
}

enum MysqlAnotherEnumColumn {
  bar
  baz_space
  foo
}

input MysqlCreateInput {
  another_enum_column: MysqlAnotherEnumColumn!
  enum_column: MysqlEnumColumn!
  timestamp_with_tz: DateTime
  timestamp_without_tz: DateTime!
}

enum MysqlEnumColumn {
  bar
  baz_space
  foo
}

input MysqlIDInput {
  id: String!
}

input MysqlSearchInput {
  another_enum_column: MysqlAnotherEnumColumn
  enum_column: MysqlEnumColumn
  timestamp_with_tz: DateTime
  timestamp_without_tz: DateTime
}

input MysqlUpdateInput {
  id: MysqlIDInput!
  payload: MysqlSearchInput!
}

type Pg {
  another_enum_column: CustomType!
  enum_column: CustomType!
  id: String!
  timestamp_with_tz: DateTime
  timestamp_without_tz: DateTime!
}

input PgCreateInput {
  another_enum_column: CustomType!
  enum_column: CustomType!
  timestamp_with_tz: DateTime
  timestamp_without_tz: DateTime!
}

input PgIDInput {
  id: String!
}

input PgSearchInput {
  another_enum_column: CustomType
  enum_column: CustomType
  timestamp_with_tz: DateTime
  timestamp_without_tz: DateTime
}

input PgUpdateInput {
  id: PgIDInput!
  payload: PgSearchInput!
}

type Photo {
  country: String
  description: String
  id: String!
  idx: Int
  is_glen: String
  isprimary: String
  large: String
  lat: String
  locality: String
  lon: String
  medium: String
  original: String
  original_url: String
  photoset: Photoset
  photosets: [Photoset]
  region: String
  small: String
  square: String
  taken: DateTime
  thumbnail: String
}

input PhotoCreateInput {
  country: String
  description: String
  idx: Int
  is_glen: String
  isprimary: String
  large: String
  lat: String
  locality: String
  lon: String
  medium: String
  original: String
  original_url: String
  photoset: PhotosetIDInput
  region: String
  small: String
  square: String
  taken: DateTime
  thumbnail: String
}

input PhotoIDInput {
  id: String!
}

input PhotoSearchInput {
  country: String
  description: String
  idx: Int
  is_glen: String
  isprimary: String
  large: String
  lat: String
  locality: String
  lon: String
  medium: String
  original: String
  original_url: String
  region: String
  small: String
  square: String
  taken: DateTime
  thumbnail: String
}

input PhotoUpdateInput {
  id: PhotoIDInput!
  payload: PhotoSearchInput!
}

type Photoset {
  can_comment: Int
  count_comments: Int
  count_views: Int
  date_create: Int
  date_update: Int
  description: String!
  farm: Int!
  id: String!
  idx: Int!
  needs_interstitial: Int
  photos: [Photo]
  primary_photo: Photo
  secret: String!
  server: String!
  timestamp: DateTime!
  title: String!
  videos: Int
  visibility_can_see_set: Int
}

input PhotosetCreateInput {
  can_comment: Int
  count_comments: Int
  count_views: Int
  date_create: Int
  date_update: Int
  description: String!
  farm: Int!
  idx: Int!
  needs_interstitial: Int
  primary_photo: PhotoIDInput
  secret: String!
  server: String!
  timestamp: DateTime!
  title: String!
  videos: Int
  visibility_can_see_set: Int
}

input PhotosetIDInput {
  id: String!
}

input PhotosetSearchInput {
  can_comment: Int
  count_comments: Int
  count_views: Int
  date_create: Int
  date_update: Int
  description: String
  farm: Int
  idx: Int
  needs_interstitial: Int
  secret: String
  server: String
  timestamp: DateTime
  title: String
  videos: Int
  visibility_can_see_set: Int
}

input PhotosetUpdateInput {
  id: PhotosetIDInput!
  payload: PhotosetSearchInput!
}

type Query {
  blog(id: Int!): Blog
  blogTag(id: Int!): BlogTag
  blogTags(id: [Int!]!): [BlogTag]
  blogs(id: [Int!]!): [Blog]
  mysql(id: String!): Mysql
  mysqls(id: [String!]!): [Mysql]
  pg(id: String!): Pg
  pgs(id: [String!]!): [Pg]
  photo(id: String!): Photo
  photos(id: [String!]!): [Photo]
  photoset(id: String!): Photoset
  photosets(id: [String!]!): [Photoset]
  searchBlog(input: BlogSearchInput!): [Blog]
  searchBlogTag(input: BlogTagSearchInput!): [BlogTag]
  searchMysql(input: MysqlSearchInput!): [Mysql]
  searchPg(input: PgSearchInput!): [Pg]
  searchPhoto(input: PhotoSearchInput!): [Photo]
  searchPhotoset(input: PhotosetSearchInput!): [Photoset]
}
'
