Skip to content
Snippets Groups Projects
schema.gql 3.85 KiB
Newer Older
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------

type Category {
  id: String!
Steve Reis's avatar
Steve Reis committed
  label: String
type Group {
  id: String!
  label: String
  description: String
Steve Reis's avatar
Steve Reis committed
  groups: [String!]

  """List of variable's ids"""
Steve Reis's avatar
Steve Reis committed
  variables: [String!]
type Variable {
Steve Reis's avatar
Steve Reis committed
  label: String
Steve Reis's avatar
Steve Reis committed
  type: String
  enumerations: [Category!]
  groups: [Group!]
Steve Reis's avatar
Steve Reis committed
  label: String
  description: String
  groups: [Group!]!
  variables: [Variable!]!
  datasets: [Category!]!
  rootGroup: Group!
type AlgorithmParameter {
stevereis's avatar
stevereis committed
  id: String!
  value: [String!]
  label: String
  description: String
  defaultValue: String
  isMultiple: Boolean
  isRequired: Boolean
  min: String
  max: String
  type: String
}

type Algorithm {
stevereis's avatar
stevereis committed
  id: String!
  parameters: [AlgorithmParameter!]
  label: String
  type: String
  description: String
}

type GroupResult {
  name: String!
  description: String
  results: [ResultUnion!]!
}

union ResultUnion = TableResult | RawResult | GroupsResult | HeatMapResult | LineChartResult

type TableResult {
  name: String!
  data: [[String!]!]!
  headers: [Header!]!
}

type RawResult {
  rawdata: JSON!
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
scalar JSON @specifiedBy(url: "http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf")

type GroupsResult {
  groups: [GroupResult!]!
}

type HeatMapResult {
  name: String!
  xAxis: ChartAxis
  yAxis: ChartAxis
  matrix: [[Float!]!]!
}

type LineChartResult {
  name: String!
stevereis's avatar
stevereis committed
  xAxis: ChartAxis
  yAxis: ChartAxis
  lines: [LineResult!]!
}

type ChartAxis {
  label: String
  categories: [String!]
}

type ExtraLineInfo {
  label: String!
  values: [String!]!
}

type LineResult {
  label: String!
stevereis's avatar
stevereis committed
  x: [Float!]!
  y: [Float!]!
  extraLineInfos: [ExtraLineInfo!]
  type: LineType
}

enum LineType {
  NORMAL
  DASHED
}

  name: String!
  type: String!
type Experiment {
  uuid: String
  author: String
  createdAt: Float
  updateAt: Float
  finishedAt: Float
  viewed: Boolean
  status: String
  shared: Boolean!
  results: [ResultUnion!]
  datasets: [String!]!
  filter: String
  domain: String!
  variables: [String!]!
stevereis's avatar
stevereis committed
  coVariables: [String!]
  algorithm: Algorithm!
  name: String!
type PartialExperiment {
  uuid: String
  author: String
  createdAt: Float
  updateAt: Float
  finishedAt: Float
  viewed: Boolean
  status: String
  shared: Boolean
  results: [ResultUnion!]
  datasets: [String!]
  filter: String
  domain: String
  variables: [String!]
stevereis's avatar
stevereis committed
  coVariables: [String!]
  algorithm: Algorithm
  name: String
}

type ListExperiments {
  currentPage: Float
  totalPages: Float
  totalExperiments: Float
  experiments: [Experiment!]!
}

  domains(ids: [String!] = []): [Domain!]!
  experiments(name: String = "", page: Float = 0): ListExperiments!
stevereis's avatar
stevereis committed
  experiment(uuid: String!): Experiment!
  algorithms: [Algorithm!]!
Steve Reis's avatar
Steve Reis committed

type Mutation {
stevereis's avatar
stevereis committed
  createExperiment(isTransient: Boolean = false, data: ExperimentCreateInput!): Experiment!
  editExperiment(data: ExperimentEditInput!, uuid: String!): Experiment!
  removeExperiment(uuid: String!): PartialExperiment!
input ExperimentCreateInput {
stevereis's avatar
stevereis committed
  datasets: [String!]!
  filter: String
  domain: String!
  variables: [String!]!
stevereis's avatar
stevereis committed
  coVariables: [String!] = []
  algorithm: AlgorithmInput!
  name: String!
Manuel Spuhler's avatar
Manuel Spuhler committed
  transformations: [FormulaTransformation!]
  interactions: [[String!]!]

input AlgorithmInput {
stevereis's avatar
stevereis committed
  id: String!
  parameters: [AlgorithmParamInput!] = []
  type: String!
}

input AlgorithmParamInput {
stevereis's avatar
stevereis committed
  id: String!
  value: [String!]!
}
Manuel Spuhler's avatar
Manuel Spuhler committed
input FormulaTransformation {
  name: String!
  operation: String!
}

input ExperimentEditInput {
  name: String
stevereis's avatar
stevereis committed
  shared: Boolean
  viewed: Boolean
}