github.com/Bio-core/jtree@v0.0.0-20190705165106-1d7a7e7d6272/restapi/embedded_spec.go (about)

     1  package restapi
     2  
     3  // This file was generated by the swagger tool.
     4  // Editing this file might prove futile when you re-run the swagger generate command
     5  
     6  import (
     7  	"encoding/json"
     8  )
     9  
    10  // SwaggerJSON embedded version of the swagger document used at generation time
    11  var SwaggerJSON json.RawMessage
    12  
    13  // FlatSwaggerJSON is the exact same
    14  var FlatSwaggerJSON json.RawMessage
    15  
    16  func init() {
    17  	SwaggerJSON = json.RawMessage([]byte(`{
    18    "schemes": [
    19      "http"
    20    ],
    21    "swagger": "2.0",
    22    "info": {
    23      "description": "Metadata API",
    24      "title": "Jtree Metadata API",
    25      "contact": {
    26        "email": "info@distributedgenomics.ca"
    27      },
    28      "license": {
    29        "name": "GPL",
    30        "url": "https://www.gnu.org/licenses/gpl-3.0.en.html"
    31      },
    32      "version": "0.1.0"
    33    },
    34    "host": "virtserver.swaggerhub.com",
    35    "basePath": "/Jtree/metadata/0.1.0",
    36    "paths": {
    37      "/columns": {
    38        "get": {
    39          "description": "gets column names",
    40          "produces": [
    41            "application/json"
    42          ],
    43          "summary": "gets columns",
    44          "operationId": "getSampleColumns",
    45          "responses": {
    46            "200": {
    47              "description": "columns",
    48              "schema": {
    49                "type": "array",
    50                "items": {
    51                  "type": "string"
    52                }
    53              }
    54            },
    55            "400": {
    56              "description": "bad input parameter"
    57            }
    58          }
    59        }
    60      },
    61      "/experiment": {
    62        "post": {
    63          "description": "Adds an experiment to the system",
    64          "consumes": [
    65            "application/json"
    66          ],
    67          "produces": [
    68            "application/json"
    69          ],
    70          "summary": "adds an experiment item",
    71          "operationId": "addExperiment",
    72          "parameters": [
    73            {
    74              "description": "Experiment",
    75              "name": "experiment",
    76              "in": "body",
    77              "schema": {
    78                "$ref": "#/definitions/Experiment"
    79              }
    80            }
    81          ],
    82          "responses": {
    83            "200": {
    84              "description": "id",
    85              "schema": {
    86                "type": "string"
    87              }
    88            },
    89            "400": {
    90              "description": "invalid input, object invalid"
    91            },
    92            "409": {
    93              "description": "an existing item already exists"
    94            }
    95          }
    96        }
    97      },
    98      "/logout": {
    99        "get": {
   100          "description": "logs users out",
   101          "produces": [
   102            "application/json"
   103          ],
   104          "summary": "logsout",
   105          "operationId": "logout",
   106          "responses": {
   107            "200": {
   108              "description": "OK",
   109              "schema": {
   110                "type": "boolean"
   111              }
   112            },
   113            "404": {
   114              "description": "Sample not found"
   115            }
   116          }
   117        }
   118      },
   119      "/patient": {
   120        "post": {
   121          "description": "Adds a patient to the system",
   122          "consumes": [
   123            "application/json"
   124          ],
   125          "produces": [
   126            "application/json"
   127          ],
   128          "summary": "adds a patient item",
   129          "operationId": "addPatient",
   130          "parameters": [
   131            {
   132              "description": "Patient",
   133              "name": "patient",
   134              "in": "body",
   135              "schema": {
   136                "$ref": "#/definitions/Patient"
   137              }
   138            }
   139          ],
   140          "responses": {
   141            "200": {
   142              "description": "id",
   143              "schema": {
   144                "type": "string"
   145              }
   146            },
   147            "400": {
   148              "description": "invalid input, object invalid"
   149            },
   150            "409": {
   151              "description": "an existing item already exists"
   152            }
   153          }
   154        }
   155      },
   156      "/query": {
   157        "post": {
   158          "consumes": [
   159            "application/json"
   160          ],
   161          "produces": [
   162            "application/json"
   163          ],
   164          "summary": "Query for Sample",
   165          "operationId": "getSamplesByQuery",
   166          "parameters": [
   167            {
   168              "name": "query",
   169              "in": "body",
   170              "schema": {
   171                "$ref": "#/definitions/Query"
   172              }
   173            }
   174          ],
   175          "responses": {
   176            "200": {
   177              "description": "OK",
   178              "schema": {
   179                "type": "array",
   180                "items": {
   181                  "$ref": "#/definitions/Sample"
   182                }
   183              }
   184            },
   185            "404": {
   186              "description": "Sample not found"
   187            }
   188          }
   189        }
   190      },
   191      "/result": {
   192        "post": {
   193          "description": "Adds a result to the system",
   194          "consumes": [
   195            "application/json"
   196          ],
   197          "produces": [
   198            "application/json"
   199          ],
   200          "summary": "adds a result item",
   201          "operationId": "addResult",
   202          "parameters": [
   203            {
   204              "description": "Result",
   205              "name": "result",
   206              "in": "body",
   207              "schema": {
   208                "$ref": "#/definitions/Result"
   209              }
   210            }
   211          ],
   212          "responses": {
   213            "200": {
   214              "description": "id",
   215              "schema": {
   216                "type": "string"
   217              }
   218            },
   219            "400": {
   220              "description": "invalid input, object invalid"
   221            },
   222            "409": {
   223              "description": "an existing item already exists"
   224            }
   225          }
   226        }
   227      },
   228      "/resultdetails": {
   229        "post": {
   230          "description": "Adds a resultdetails to the system",
   231          "consumes": [
   232            "application/json"
   233          ],
   234          "produces": [
   235            "application/json"
   236          ],
   237          "summary": "adds a resultdetails item",
   238          "operationId": "addResultdetails",
   239          "parameters": [
   240            {
   241              "description": "Resultdetails",
   242              "name": "resultdetails",
   243              "in": "body",
   244              "schema": {
   245                "$ref": "#/definitions/Resultdetails"
   246              }
   247            }
   248          ],
   249          "responses": {
   250            "200": {
   251              "description": "id",
   252              "schema": {
   253                "type": "string"
   254              }
   255            },
   256            "400": {
   257              "description": "invalid input, object invalid"
   258            },
   259            "409": {
   260              "description": "an existing item already exists"
   261            }
   262          }
   263        }
   264      },
   265      "/sample": {
   266        "post": {
   267          "description": "Adds a sample to the system",
   268          "consumes": [
   269            "application/json"
   270          ],
   271          "produces": [
   272            "application/json"
   273          ],
   274          "summary": "adds a sample",
   275          "operationId": "addSample",
   276          "parameters": [
   277            {
   278              "description": "Sample",
   279              "name": "sample",
   280              "in": "body",
   281              "schema": {
   282                "$ref": "#/definitions/Sample"
   283              }
   284            }
   285          ],
   286          "responses": {
   287            "200": {
   288              "description": "id",
   289              "schema": {
   290                "type": "string"
   291              }
   292            },
   293            "400": {
   294              "description": "invalid input, object invalid"
   295            },
   296            "409": {
   297              "description": "an existing item already exists"
   298            }
   299          }
   300        }
   301      },
   302      "/searchable": {
   303        "get": {
   304          "description": "gets searchable",
   305          "produces": [
   306            "application/json"
   307          ],
   308          "summary": "gets columns",
   309          "operationId": "getSearchable",
   310          "responses": {
   311            "200": {
   312              "description": "columns",
   313              "schema": {
   314                "type": "array",
   315                "items": {
   316                  "type": "string"
   317                }
   318              }
   319            },
   320            "400": {
   321              "description": "bad input parameter"
   322            }
   323          }
   324        }
   325      },
   326      "/uneditable": {
   327        "get": {
   328          "description": "gets uneditable",
   329          "produces": [
   330            "application/json"
   331          ],
   332          "summary": "gets columns",
   333          "operationId": "getUneditable",
   334          "responses": {
   335            "200": {
   336              "description": "columns",
   337              "schema": {
   338                "type": "array",
   339                "items": {
   340                  "type": "string"
   341                }
   342              }
   343            },
   344            "400": {
   345              "description": "bad input parameter"
   346            }
   347          }
   348        }
   349      },
   350      "/upload": {
   351        "post": {
   352          "consumes": [
   353            "multipart/form-data"
   354          ],
   355          "summary": "Uploads a file.",
   356          "parameters": [
   357            {
   358              "type": "file",
   359              "description": "The file to upload.",
   360              "name": "upfile",
   361              "in": "formData"
   362            }
   363          ],
   364          "responses": {
   365            "200": {
   366              "description": "OK",
   367              "schema": {
   368                "type": "boolean"
   369              }
   370            },
   371            "404": {
   372              "description": "File not found"
   373            },
   374            "409": {
   375              "description": "an existing item already exists"
   376            }
   377          }
   378        }
   379      }
   380    },
   381    "definitions": {
   382      "Experiment": {
   383        "type": "object",
   384        "properties": {
   385          "chip_cartridge_barcode": {
   386            "type": "string",
   387            "x-go-custom-tag": "db:\"chip_cartridge_barcode\"",
   388            "x-nullable": true
   389          },
   390          "complete_date": {
   391            "type": "string",
   392            "x-go-custom-tag": "db:\"complete_date\"",
   393            "x-nullable": true
   394          },
   395          "experiment_id": {
   396            "type": "string",
   397            "x-go-custom-tag": "db:\"experiment_id\"",
   398            "x-nullable": true
   399          },
   400          "has_project_files": {
   401            "type": "boolean",
   402            "x-go-custom-tag": "db:\"has_project_files\"",
   403            "x-nullable": true
   404          },
   405          "opened_date": {
   406            "type": "string",
   407            "x-go-custom-tag": "db:\"opened_date\"",
   408            "x-nullable": true
   409          },
   410          "panel_assay_screened": {
   411            "type": "number",
   412            "format": "int",
   413            "x-go-custom-tag": "db:\"panel_assay_screened\"",
   414            "x-nullable": true
   415          },
   416          "pcr": {
   417            "type": "string",
   418            "x-go-custom-tag": "db:\"pcr\"",
   419            "x-nullable": true
   420          },
   421          "priority": {
   422            "type": "number",
   423            "format": "int",
   424            "x-go-custom-tag": "db:\"priority\"",
   425            "x-nullable": true
   426          },
   427          "procedure_order_datetime": {
   428            "type": "string",
   429            "x-go-custom-tag": "db:\"procedure_order_datetime\"",
   430            "x-nullable": true
   431          },
   432          "project_id": {
   433            "type": "string",
   434            "x-go-custom-tag": "db:\"project_id\"",
   435            "x-nullable": true
   436          },
   437          "project_name": {
   438            "type": "string",
   439            "x-go-custom-tag": "db:\"project_name\"",
   440            "x-nullable": true
   441          },
   442          "sample_id": {
   443            "type": "string",
   444            "x-go-custom-tag": "db:\"sample_id\"",
   445            "x-nullable": true
   446          },
   447          "study_id": {
   448            "type": "string",
   449            "x-go-custom-tag": "db:\"study_id\"",
   450            "x-nullable": true
   451          },
   452          "test_date": {
   453            "type": "string",
   454            "x-go-custom-tag": "db:\"test_date\"",
   455            "x-nullable": true
   456          }
   457        }
   458      },
   459      "Patient": {
   460        "type": "object",
   461        "properties": {
   462          "clinical_history": {
   463            "type": "string",
   464            "x-go-custom-tag": "db:\"clinical_history\"",
   465            "x-nullable": true
   466          },
   467          "date_received": {
   468            "type": "string",
   469            "x-go-custom-tag": "db:\"date_received\"",
   470            "x-nullable": true
   471          },
   472          "date_reported": {
   473            "type": "string",
   474            "x-go-custom-tag": "db:\"date_reported\"",
   475            "x-nullable": true
   476          },
   477          "dob": {
   478            "type": "string",
   479            "x-go-custom-tag": "db:\"dob\"",
   480            "x-nullable": true
   481          },
   482          "first_name": {
   483            "type": "string",
   484            "x-go-custom-tag": "db:\"first_name\"",
   485            "x-nullable": true
   486          },
   487          "gender": {
   488            "type": "string",
   489            "x-go-custom-tag": "db:\"gender\"",
   490            "x-nullable": true
   491          },
   492          "initials": {
   493            "type": "string",
   494            "x-go-custom-tag": "db:\"initials\"",
   495            "x-nullable": true
   496          },
   497          "last_name": {
   498            "type": "string",
   499            "x-go-custom-tag": "db:\"last_name\"",
   500            "x-nullable": true
   501          },
   502          "mrn": {
   503            "type": "string",
   504            "x-go-custom-tag": "db:\"mrn\"",
   505            "x-nullable": true
   506          },
   507          "on_hcn": {
   508            "type": "string",
   509            "x-go-custom-tag": "db:\"on_hcn\"",
   510            "x-nullable": true
   511          },
   512          "patient_id": {
   513            "type": "string",
   514            "x-go-custom-tag": "db:\"patient_id\"",
   515            "x-nullable": true
   516          },
   517          "patient_type": {
   518            "type": "string",
   519            "x-go-custom-tag": "db:\"patient_type\"",
   520            "x-nullable": true
   521          },
   522          "referring_physican": {
   523            "type": "string",
   524            "x-go-custom-tag": "db:\"referring_physican\"",
   525            "x-nullable": true
   526          },
   527          "sample_id": {
   528            "type": "string",
   529            "x-go-custom-tag": "db:\"sample_id\"",
   530            "x-nullable": true
   531          },
   532          "se_num": {
   533            "type": "string",
   534            "x-go-custom-tag": "db:\"se_num\"",
   535            "x-nullable": true
   536          },
   537          "surgical_date": {
   538            "type": "string",
   539            "x-go-custom-tag": "db:\"surgical_date\"",
   540            "x-nullable": true
   541          }
   542        }
   543      },
   544      "Query": {
   545        "type": "object",
   546        "properties": {
   547          "selected_condition": {
   548            "type": "array",
   549            "items": {
   550              "type": "array",
   551              "items": {
   552                "type": "string"
   553              }
   554            }
   555          },
   556          "selected_fields": {
   557            "type": "array",
   558            "items": {
   559              "type": "string"
   560            }
   561          },
   562          "selected_tables": {
   563            "type": "array",
   564            "items": {
   565              "type": "string"
   566            }
   567          }
   568        }
   569      },
   570      "Record": {
   571        "type": "object",
   572        "properties": {
   573          "Experiment": {
   574            "$ref": "#/definitions/Experiment"
   575          },
   576          "Patient": {
   577            "$ref": "#/definitions/Patient"
   578          },
   579          "Result": {
   580            "$ref": "#/definitions/Result"
   581          },
   582          "Resultdetails": {
   583            "$ref": "#/definitions/Resultdetails"
   584          },
   585          "Sample": {
   586            "$ref": "#/definitions/Sample"
   587          }
   588        }
   589      },
   590      "Result": {
   591        "type": "object",
   592        "properties": {
   593          "failed_regions": {
   594            "type": "string",
   595            "x-go-custom-tag": "db:\"failed_regions\"",
   596            "x-nullable": true
   597          },
   598          "mean_depth_of_coveage": {
   599            "type": "number",
   600            "format": "float",
   601            "x-go-custom-tag": "db:\"mean_depth_of_coveage\"",
   602            "x-nullable": true
   603          },
   604          "mlpa_pcr": {
   605            "type": "string",
   606            "x-go-custom-tag": "db:\"mlpa_pcr\"",
   607            "x-nullable": true
   608          },
   609          "mutation": {
   610            "type": "string",
   611            "x-go-custom-tag": "db:\"mutation\"",
   612            "x-nullable": true
   613          },
   614          "overall_hotspots_threshold": {
   615            "type": "number",
   616            "format": "float",
   617            "x-go-custom-tag": "db:\"overall_hotspots_threshold\"",
   618            "x-nullable": true
   619          },
   620          "overall_quality_threshold": {
   621            "type": "number",
   622            "format": "float",
   623            "x-go-custom-tag": "db:\"overall_quality_threshold\"",
   624            "x-nullable": true
   625          },
   626          "results_id": {
   627            "type": "number",
   628            "format": "int",
   629            "x-go-custom-tag": "db:\"results_id\"",
   630            "x-nullable": true
   631          },
   632          "sample_id": {
   633            "type": "string",
   634            "x-go-custom-tag": "db:\"sample_id\"",
   635            "x-nullable": true
   636          },
   637          "uid": {
   638            "type": "string",
   639            "x-go-custom-tag": "db:\"uid\"",
   640            "x-nullable": true
   641          },
   642          "verification_pcr": {
   643            "type": "string",
   644            "x-go-custom-tag": "db:\"verification_pcr\"",
   645            "x-nullable": true
   646          }
   647        }
   648      },
   649      "Resultdetails": {
   650        "type": "object",
   651        "properties": {
   652          "VAF": {
   653            "type": "number",
   654            "format": "float",
   655            "x-go-custom-tag": "db:\"VAF\"",
   656            "x-nullable": true
   657          },
   658          "c_nomenclature": {
   659            "type": "string",
   660            "x-go-custom-tag": "db:\"c_nomenclature\"",
   661            "x-nullable": true
   662          },
   663          "coverage": {
   664            "type": "number",
   665            "format": "int",
   666            "x-go-custom-tag": "db:\"coverage\"",
   667            "x-nullable": true
   668          },
   669          "exon": {
   670            "type": "number",
   671            "format": "int",
   672            "x-go-custom-tag": "db:\"exon\"",
   673            "x-nullable": true
   674          },
   675          "gene": {
   676            "type": "string",
   677            "x-go-custom-tag": "db:\"gene\"",
   678            "x-nullable": true
   679          },
   680          "p_nomenclature": {
   681            "type": "string",
   682            "x-go-custom-tag": "db:\"p_nomenclature\"",
   683            "x-nullable": true
   684          },
   685          "pcr": {
   686            "type": "string",
   687            "x-go-custom-tag": "db:\"pcr\"",
   688            "x-nullable": true
   689          },
   690          "quality_score": {
   691            "type": "number",
   692            "format": "float",
   693            "x-go-custom-tag": "db:\"quality_score\"",
   694            "x-nullable": true
   695          },
   696          "result": {
   697            "type": "string",
   698            "x-go-custom-tag": "db:\"result\"",
   699            "x-nullable": true
   700          },
   701          "results_details_id": {
   702            "type": "string",
   703            "x-go-custom-tag": "db:\"results_details_id\"",
   704            "x-nullable": true
   705          },
   706          "results_id": {
   707            "type": "number",
   708            "format": "int",
   709            "x-go-custom-tag": "db:\"results_id\"",
   710            "x-nullable": true
   711          },
   712          "risk_score": {
   713            "type": "number",
   714            "format": "float",
   715            "x-go-custom-tag": "db:\"risk_score\"",
   716            "x-nullable": true
   717          },
   718          "sample_id": {
   719            "type": "string",
   720            "x-go-custom-tag": "db:\"sample_id\"",
   721            "x-nullable": true
   722          },
   723          "uid": {
   724            "type": "string",
   725            "x-go-custom-tag": "db:\"uid\"",
   726            "x-nullable": true
   727          }
   728        }
   729      },
   730      "Sample": {
   731        "type": "object",
   732        "properties": {
   733          "cf_plasma_location": {
   734            "type": "string",
   735            "x-go-custom-tag": "db:\"cf_plasma_location\"",
   736            "x-nullable": true
   737          },
   738          "comments": {
   739            "type": "string",
   740            "x-go-custom-tag": "db:\"comments\"",
   741            "x-nullable": true
   742          },
   743          "container_id": {
   744            "type": "string",
   745            "x-go-custom-tag": "db:\"container_id\"",
   746            "x-nullable": true
   747          },
   748          "container_name": {
   749            "type": "string",
   750            "x-go-custom-tag": "db:\"container_name\"",
   751            "x-nullable": true
   752          },
   753          "container_type": {
   754            "type": "string",
   755            "x-go-custom-tag": "db:\"container_type\"",
   756            "x-nullable": true
   757          },
   758          "container_well": {
   759            "type": "string",
   760            "x-go-custom-tag": "db:\"container_well\"",
   761            "x-nullable": true
   762          },
   763          "copath_num": {
   764            "type": "string",
   765            "x-go-custom-tag": "db:\"copath_num\"",
   766            "x-nullable": true
   767          },
   768          "date_collected": {
   769            "type": "string",
   770            "x-go-custom-tag": "db:\"date_collected\"",
   771            "x-nullable": true
   772          },
   773          "date_received": {
   774            "type": "string",
   775            "x-go-custom-tag": "db:\"date_received\"",
   776            "x-nullable": true
   777          },
   778          "date_submitted": {
   779            "type": "string",
   780            "x-go-custom-tag": "db:\"date_submitted\"",
   781            "x-nullable": true
   782          },
   783          "delta_ct_Value": {
   784            "type": "number",
   785            "format": "float",
   786            "x-go-custom-tag": "db:\"delta_ct_Value\"",
   787            "x-nullable": true
   788          },
   789          "dna_concentration": {
   790            "type": "number",
   791            "format": "float",
   792            "x-go-custom-tag": "db:\"dna_concentration\"",
   793            "x-nullable": true
   794          },
   795          "dna_extraction_date": {
   796            "type": "string",
   797            "x-go-custom-tag": "db:\"dna_extraction_date\"",
   798            "x-nullable": true
   799          },
   800          "dna_location": {
   801            "type": "string",
   802            "x-go-custom-tag": "db:\"dna_location\"",
   803            "x-nullable": true
   804          },
   805          "dna_quality": {
   806            "type": "string",
   807            "x-go-custom-tag": "db:\"dna_quality\"",
   808            "x-nullable": true
   809          },
   810          "dna_quality_by_rnase_p": {
   811            "type": "number",
   812            "format": "float",
   813            "x-go-custom-tag": "db:\"dna_quality_by_rnase_p\"",
   814            "x-nullable": true
   815          },
   816          "dna_sample_barcode": {
   817            "type": "string",
   818            "x-go-custom-tag": "db:\"dna_sample_barcode\"",
   819            "x-nullable": true
   820          },
   821          "dna_volume": {
   822            "type": "number",
   823            "format": "float",
   824            "x-go-custom-tag": "db:\"dna_volume\"",
   825            "x-nullable": true
   826          },
   827          "facility": {
   828            "type": "string",
   829            "x-go-custom-tag": "db:\"facility\"",
   830            "x-nullable": true
   831          },
   832          "ffpe_qc_date": {
   833            "type": "string",
   834            "x-go-custom-tag": "db:\"ffpe_qc_date\"",
   835            "x-nullable": true
   836          },
   837          "h_e_slide_location": {
   838            "type": "string",
   839            "x-go-custom-tag": "db:\"h_e_slide_location\"",
   840            "x-nullable": true
   841          },
   842          "has_sample_files": {
   843            "type": "boolean",
   844            "x-go-custom-tag": "db:\"has_sample_files\"",
   845            "x-nullable": true
   846          },
   847          "historical_diagnosis": {
   848            "type": "string",
   849            "x-go-custom-tag": "db:\"historical_diagnosis\"",
   850            "x-nullable": true
   851          },
   852          "material_received": {
   853            "type": "string",
   854            "x-go-custom-tag": "db:\"material_received\"",
   855            "x-nullable": true
   856          },
   857          "material_received_num": {
   858            "type": "string",
   859            "x-go-custom-tag": "db:\"material_received_num\"",
   860            "x-nullable": true
   861          },
   862          "material_received_other": {
   863            "type": "string",
   864            "x-go-custom-tag": "db:\"material_received_other\"",
   865            "x-nullable": true
   866          },
   867          "name_of_requestor": {
   868            "type": "string",
   869            "x-go-custom-tag": "db:\"name_of_requestor\"",
   870            "x-nullable": true
   871          },
   872          "non_uhn_id": {
   873            "type": "string",
   874            "x-go-custom-tag": "db:\"non_uhn_id\"",
   875            "x-nullable": true
   876          },
   877          "other_identifier": {
   878            "type": "string",
   879            "x-go-custom-tag": "db:\"other_identifier\"",
   880            "x-nullable": true
   881          },
   882          "pb_bm_location": {
   883            "type": "string",
   884            "x-go-custom-tag": "db:\"pb_bm_location\"",
   885            "x-nullable": true
   886          },
   887          "plasma_location": {
   888            "type": "string",
   889            "x-go-custom-tag": "db:\"plasma_location\"",
   890            "x-nullable": true
   891          },
   892          "reviewed_by": {
   893            "type": "string",
   894            "x-go-custom-tag": "db:\"reviewed_by\"",
   895            "x-nullable": true
   896          },
   897          "rna_concentration": {
   898            "type": "number",
   899            "format": "float",
   900            "x-go-custom-tag": "db:\"rna_concentration\"",
   901            "x-nullable": true
   902          },
   903          "rna_extraction_date": {
   904            "type": "string",
   905            "x-go-custom-tag": "db:\"rna_extraction_date\"",
   906            "x-nullable": true
   907          },
   908          "rna_location": {
   909            "type": "string",
   910            "x-go-custom-tag": "db:\"rna_location\"",
   911            "x-nullable": true
   912          },
   913          "rna_lysate_location": {
   914            "type": "string",
   915            "x-go-custom-tag": "db:\"rna_lysate_location\"",
   916            "x-nullable": true
   917          },
   918          "rna_quality": {
   919            "type": "number",
   920            "format": "float",
   921            "x-go-custom-tag": "db:\"rna_quality\"",
   922            "x-nullable": true
   923          },
   924          "rna_volume": {
   925            "type": "number",
   926            "format": "float",
   927            "x-go-custom-tag": "db:\"rna_volume\"",
   928            "x-nullable": true
   929          },
   930          "rnase_p_date": {
   931            "type": "string",
   932            "x-go-custom-tag": "db:\"rnase_p_date\"",
   933            "x-nullable": true
   934          },
   935          "sample_id": {
   936            "type": "string",
   937            "x-go-custom-tag": "db:\"sample_id\"",
   938            "x-nullable": true
   939          },
   940          "sample_name": {
   941            "type": "string",
   942            "x-go-custom-tag": "db:\"sample_name\"",
   943            "x-nullable": true
   944          },
   945          "sample_size": {
   946            "type": "string",
   947            "x-go-custom-tag": "db:\"sample_size\"",
   948            "x-nullable": true
   949          },
   950          "sample_type": {
   951            "type": "string",
   952            "x-go-custom-tag": "db:\"sample_type\"",
   953            "x-nullable": true
   954          },
   955          "se_num": {
   956            "type": "string",
   957            "x-go-custom-tag": "db:\"se_num\"",
   958            "x-nullable": true
   959          },
   960          "study_id": {
   961            "type": "string",
   962            "x-go-custom-tag": "db:\"study_id\"",
   963            "x-nullable": true
   964          },
   965          "surgical_num": {
   966            "type": "string",
   967            "x-go-custom-tag": "db:\"surgical_num\"",
   968            "x-nullable": true
   969          },
   970          "test_requested": {
   971            "type": "string",
   972            "x-go-custom-tag": "db:\"test_requested\"",
   973            "x-nullable": true
   974          },
   975          "tumor_percnt_of_circled": {
   976            "type": "number",
   977            "format": "float",
   978            "x-go-custom-tag": "db:\"tumor_percnt_of_circled\"",
   979            "x-nullable": true
   980          },
   981          "tumor_percnt_of_total": {
   982            "type": "number",
   983            "format": "float",
   984            "x-go-custom-tag": "db:\"tumor_percnt_of_total\"",
   985            "x-nullable": true
   986          },
   987          "tumor_site": {
   988            "type": "string",
   989            "x-go-custom-tag": "db:\"tumor_site\"",
   990            "x-nullable": true
   991          },
   992          "volume_of_blood_marrow": {
   993            "type": "number",
   994            "format": "float",
   995            "x-go-custom-tag": "db:\"volume_of_blood_marrow\"",
   996            "x-nullable": true
   997          },
   998          "wbc_location": {
   999            "type": "string",
  1000            "x-go-custom-tag": "db:\"wbc_location\"",
  1001            "x-nullable": true
  1002          }
  1003        }
  1004      }
  1005    }
  1006  }`))
  1007  	FlatSwaggerJSON = json.RawMessage([]byte(`{
  1008    "schemes": [
  1009      "http"
  1010    ],
  1011    "swagger": "2.0",
  1012    "info": {
  1013      "description": "Metadata API",
  1014      "title": "Jtree Metadata API",
  1015      "contact": {
  1016        "email": "info@distributedgenomics.ca"
  1017      },
  1018      "license": {
  1019        "name": "GPL",
  1020        "url": "https://www.gnu.org/licenses/gpl-3.0.en.html"
  1021      },
  1022      "version": "0.1.0"
  1023    },
  1024    "host": "virtserver.swaggerhub.com",
  1025    "basePath": "/Jtree/metadata/0.1.0",
  1026    "paths": {
  1027      "/columns": {
  1028        "get": {
  1029          "description": "gets column names",
  1030          "produces": [
  1031            "application/json"
  1032          ],
  1033          "summary": "gets columns",
  1034          "operationId": "getSampleColumns",
  1035          "responses": {
  1036            "200": {
  1037              "description": "columns",
  1038              "schema": {
  1039                "type": "array",
  1040                "items": {
  1041                  "type": "string"
  1042                }
  1043              }
  1044            },
  1045            "400": {
  1046              "description": "bad input parameter"
  1047            }
  1048          }
  1049        }
  1050      },
  1051      "/experiment": {
  1052        "post": {
  1053          "description": "Adds an experiment to the system",
  1054          "consumes": [
  1055            "application/json"
  1056          ],
  1057          "produces": [
  1058            "application/json"
  1059          ],
  1060          "summary": "adds an experiment item",
  1061          "operationId": "addExperiment",
  1062          "parameters": [
  1063            {
  1064              "description": "Experiment",
  1065              "name": "experiment",
  1066              "in": "body",
  1067              "schema": {
  1068                "$ref": "#/definitions/Experiment"
  1069              }
  1070            }
  1071          ],
  1072          "responses": {
  1073            "200": {
  1074              "description": "id",
  1075              "schema": {
  1076                "type": "string"
  1077              }
  1078            },
  1079            "400": {
  1080              "description": "invalid input, object invalid"
  1081            },
  1082            "409": {
  1083              "description": "an existing item already exists"
  1084            }
  1085          }
  1086        }
  1087      },
  1088      "/logout": {
  1089        "get": {
  1090          "description": "logs users out",
  1091          "produces": [
  1092            "application/json"
  1093          ],
  1094          "summary": "logsout",
  1095          "operationId": "logout",
  1096          "responses": {
  1097            "200": {
  1098              "description": "OK",
  1099              "schema": {
  1100                "type": "boolean"
  1101              }
  1102            },
  1103            "404": {
  1104              "description": "Sample not found"
  1105            }
  1106          }
  1107        }
  1108      },
  1109      "/patient": {
  1110        "post": {
  1111          "description": "Adds a patient to the system",
  1112          "consumes": [
  1113            "application/json"
  1114          ],
  1115          "produces": [
  1116            "application/json"
  1117          ],
  1118          "summary": "adds a patient item",
  1119          "operationId": "addPatient",
  1120          "parameters": [
  1121            {
  1122              "description": "Patient",
  1123              "name": "patient",
  1124              "in": "body",
  1125              "schema": {
  1126                "$ref": "#/definitions/Patient"
  1127              }
  1128            }
  1129          ],
  1130          "responses": {
  1131            "200": {
  1132              "description": "id",
  1133              "schema": {
  1134                "type": "string"
  1135              }
  1136            },
  1137            "400": {
  1138              "description": "invalid input, object invalid"
  1139            },
  1140            "409": {
  1141              "description": "an existing item already exists"
  1142            }
  1143          }
  1144        }
  1145      },
  1146      "/query": {
  1147        "post": {
  1148          "consumes": [
  1149            "application/json"
  1150          ],
  1151          "produces": [
  1152            "application/json"
  1153          ],
  1154          "summary": "Query for Sample",
  1155          "operationId": "getSamplesByQuery",
  1156          "parameters": [
  1157            {
  1158              "name": "query",
  1159              "in": "body",
  1160              "schema": {
  1161                "$ref": "#/definitions/Query"
  1162              }
  1163            }
  1164          ],
  1165          "responses": {
  1166            "200": {
  1167              "description": "OK",
  1168              "schema": {
  1169                "type": "array",
  1170                "items": {
  1171                  "$ref": "#/definitions/Sample"
  1172                }
  1173              }
  1174            },
  1175            "404": {
  1176              "description": "Sample not found"
  1177            }
  1178          }
  1179        }
  1180      },
  1181      "/result": {
  1182        "post": {
  1183          "description": "Adds a result to the system",
  1184          "consumes": [
  1185            "application/json"
  1186          ],
  1187          "produces": [
  1188            "application/json"
  1189          ],
  1190          "summary": "adds a result item",
  1191          "operationId": "addResult",
  1192          "parameters": [
  1193            {
  1194              "description": "Result",
  1195              "name": "result",
  1196              "in": "body",
  1197              "schema": {
  1198                "$ref": "#/definitions/Result"
  1199              }
  1200            }
  1201          ],
  1202          "responses": {
  1203            "200": {
  1204              "description": "id",
  1205              "schema": {
  1206                "type": "string"
  1207              }
  1208            },
  1209            "400": {
  1210              "description": "invalid input, object invalid"
  1211            },
  1212            "409": {
  1213              "description": "an existing item already exists"
  1214            }
  1215          }
  1216        }
  1217      },
  1218      "/resultdetails": {
  1219        "post": {
  1220          "description": "Adds a resultdetails to the system",
  1221          "consumes": [
  1222            "application/json"
  1223          ],
  1224          "produces": [
  1225            "application/json"
  1226          ],
  1227          "summary": "adds a resultdetails item",
  1228          "operationId": "addResultdetails",
  1229          "parameters": [
  1230            {
  1231              "description": "Resultdetails",
  1232              "name": "resultdetails",
  1233              "in": "body",
  1234              "schema": {
  1235                "$ref": "#/definitions/Resultdetails"
  1236              }
  1237            }
  1238          ],
  1239          "responses": {
  1240            "200": {
  1241              "description": "id",
  1242              "schema": {
  1243                "type": "string"
  1244              }
  1245            },
  1246            "400": {
  1247              "description": "invalid input, object invalid"
  1248            },
  1249            "409": {
  1250              "description": "an existing item already exists"
  1251            }
  1252          }
  1253        }
  1254      },
  1255      "/sample": {
  1256        "post": {
  1257          "description": "Adds a sample to the system",
  1258          "consumes": [
  1259            "application/json"
  1260          ],
  1261          "produces": [
  1262            "application/json"
  1263          ],
  1264          "summary": "adds a sample",
  1265          "operationId": "addSample",
  1266          "parameters": [
  1267            {
  1268              "description": "Sample",
  1269              "name": "sample",
  1270              "in": "body",
  1271              "schema": {
  1272                "$ref": "#/definitions/Sample"
  1273              }
  1274            }
  1275          ],
  1276          "responses": {
  1277            "200": {
  1278              "description": "id",
  1279              "schema": {
  1280                "type": "string"
  1281              }
  1282            },
  1283            "400": {
  1284              "description": "invalid input, object invalid"
  1285            },
  1286            "409": {
  1287              "description": "an existing item already exists"
  1288            }
  1289          }
  1290        }
  1291      },
  1292      "/searchable": {
  1293        "get": {
  1294          "description": "gets searchable",
  1295          "produces": [
  1296            "application/json"
  1297          ],
  1298          "summary": "gets columns",
  1299          "operationId": "getSearchable",
  1300          "responses": {
  1301            "200": {
  1302              "description": "columns",
  1303              "schema": {
  1304                "type": "array",
  1305                "items": {
  1306                  "type": "string"
  1307                }
  1308              }
  1309            },
  1310            "400": {
  1311              "description": "bad input parameter"
  1312            }
  1313          }
  1314        }
  1315      },
  1316      "/uneditable": {
  1317        "get": {
  1318          "description": "gets uneditable",
  1319          "produces": [
  1320            "application/json"
  1321          ],
  1322          "summary": "gets columns",
  1323          "operationId": "getUneditable",
  1324          "responses": {
  1325            "200": {
  1326              "description": "columns",
  1327              "schema": {
  1328                "type": "array",
  1329                "items": {
  1330                  "type": "string"
  1331                }
  1332              }
  1333            },
  1334            "400": {
  1335              "description": "bad input parameter"
  1336            }
  1337          }
  1338        }
  1339      },
  1340      "/upload": {
  1341        "post": {
  1342          "consumes": [
  1343            "multipart/form-data"
  1344          ],
  1345          "summary": "Uploads a file.",
  1346          "parameters": [
  1347            {
  1348              "type": "file",
  1349              "description": "The file to upload.",
  1350              "name": "upfile",
  1351              "in": "formData"
  1352            }
  1353          ],
  1354          "responses": {
  1355            "200": {
  1356              "description": "OK",
  1357              "schema": {
  1358                "type": "boolean"
  1359              }
  1360            },
  1361            "404": {
  1362              "description": "File not found"
  1363            },
  1364            "409": {
  1365              "description": "an existing item already exists"
  1366            }
  1367          }
  1368        }
  1369      }
  1370    },
  1371    "definitions": {
  1372      "Experiment": {
  1373        "type": "object",
  1374        "properties": {
  1375          "chip_cartridge_barcode": {
  1376            "type": "string",
  1377            "x-go-custom-tag": "db:\"chip_cartridge_barcode\"",
  1378            "x-nullable": true
  1379          },
  1380          "complete_date": {
  1381            "type": "string",
  1382            "x-go-custom-tag": "db:\"complete_date\"",
  1383            "x-nullable": true
  1384          },
  1385          "experiment_id": {
  1386            "type": "string",
  1387            "x-go-custom-tag": "db:\"experiment_id\"",
  1388            "x-nullable": true
  1389          },
  1390          "has_project_files": {
  1391            "type": "boolean",
  1392            "x-go-custom-tag": "db:\"has_project_files\"",
  1393            "x-nullable": true
  1394          },
  1395          "opened_date": {
  1396            "type": "string",
  1397            "x-go-custom-tag": "db:\"opened_date\"",
  1398            "x-nullable": true
  1399          },
  1400          "panel_assay_screened": {
  1401            "type": "number",
  1402            "format": "int",
  1403            "x-go-custom-tag": "db:\"panel_assay_screened\"",
  1404            "x-nullable": true
  1405          },
  1406          "pcr": {
  1407            "type": "string",
  1408            "x-go-custom-tag": "db:\"pcr\"",
  1409            "x-nullable": true
  1410          },
  1411          "priority": {
  1412            "type": "number",
  1413            "format": "int",
  1414            "x-go-custom-tag": "db:\"priority\"",
  1415            "x-nullable": true
  1416          },
  1417          "procedure_order_datetime": {
  1418            "type": "string",
  1419            "x-go-custom-tag": "db:\"procedure_order_datetime\"",
  1420            "x-nullable": true
  1421          },
  1422          "project_id": {
  1423            "type": "string",
  1424            "x-go-custom-tag": "db:\"project_id\"",
  1425            "x-nullable": true
  1426          },
  1427          "project_name": {
  1428            "type": "string",
  1429            "x-go-custom-tag": "db:\"project_name\"",
  1430            "x-nullable": true
  1431          },
  1432          "sample_id": {
  1433            "type": "string",
  1434            "x-go-custom-tag": "db:\"sample_id\"",
  1435            "x-nullable": true
  1436          },
  1437          "study_id": {
  1438            "type": "string",
  1439            "x-go-custom-tag": "db:\"study_id\"",
  1440            "x-nullable": true
  1441          },
  1442          "test_date": {
  1443            "type": "string",
  1444            "x-go-custom-tag": "db:\"test_date\"",
  1445            "x-nullable": true
  1446          }
  1447        }
  1448      },
  1449      "Patient": {
  1450        "type": "object",
  1451        "properties": {
  1452          "clinical_history": {
  1453            "type": "string",
  1454            "x-go-custom-tag": "db:\"clinical_history\"",
  1455            "x-nullable": true
  1456          },
  1457          "date_received": {
  1458            "type": "string",
  1459            "x-go-custom-tag": "db:\"date_received\"",
  1460            "x-nullable": true
  1461          },
  1462          "date_reported": {
  1463            "type": "string",
  1464            "x-go-custom-tag": "db:\"date_reported\"",
  1465            "x-nullable": true
  1466          },
  1467          "dob": {
  1468            "type": "string",
  1469            "x-go-custom-tag": "db:\"dob\"",
  1470            "x-nullable": true
  1471          },
  1472          "first_name": {
  1473            "type": "string",
  1474            "x-go-custom-tag": "db:\"first_name\"",
  1475            "x-nullable": true
  1476          },
  1477          "gender": {
  1478            "type": "string",
  1479            "x-go-custom-tag": "db:\"gender\"",
  1480            "x-nullable": true
  1481          },
  1482          "initials": {
  1483            "type": "string",
  1484            "x-go-custom-tag": "db:\"initials\"",
  1485            "x-nullable": true
  1486          },
  1487          "last_name": {
  1488            "type": "string",
  1489            "x-go-custom-tag": "db:\"last_name\"",
  1490            "x-nullable": true
  1491          },
  1492          "mrn": {
  1493            "type": "string",
  1494            "x-go-custom-tag": "db:\"mrn\"",
  1495            "x-nullable": true
  1496          },
  1497          "on_hcn": {
  1498            "type": "string",
  1499            "x-go-custom-tag": "db:\"on_hcn\"",
  1500            "x-nullable": true
  1501          },
  1502          "patient_id": {
  1503            "type": "string",
  1504            "x-go-custom-tag": "db:\"patient_id\"",
  1505            "x-nullable": true
  1506          },
  1507          "patient_type": {
  1508            "type": "string",
  1509            "x-go-custom-tag": "db:\"patient_type\"",
  1510            "x-nullable": true
  1511          },
  1512          "referring_physican": {
  1513            "type": "string",
  1514            "x-go-custom-tag": "db:\"referring_physican\"",
  1515            "x-nullable": true
  1516          },
  1517          "sample_id": {
  1518            "type": "string",
  1519            "x-go-custom-tag": "db:\"sample_id\"",
  1520            "x-nullable": true
  1521          },
  1522          "se_num": {
  1523            "type": "string",
  1524            "x-go-custom-tag": "db:\"se_num\"",
  1525            "x-nullable": true
  1526          },
  1527          "surgical_date": {
  1528            "type": "string",
  1529            "x-go-custom-tag": "db:\"surgical_date\"",
  1530            "x-nullable": true
  1531          }
  1532        }
  1533      },
  1534      "Query": {
  1535        "type": "object",
  1536        "properties": {
  1537          "selected_condition": {
  1538            "type": "array",
  1539            "items": {
  1540              "type": "array",
  1541              "items": {
  1542                "type": "string"
  1543              }
  1544            }
  1545          },
  1546          "selected_fields": {
  1547            "type": "array",
  1548            "items": {
  1549              "type": "string"
  1550            }
  1551          },
  1552          "selected_tables": {
  1553            "type": "array",
  1554            "items": {
  1555              "type": "string"
  1556            }
  1557          }
  1558        }
  1559      },
  1560      "Record": {
  1561        "type": "object",
  1562        "properties": {
  1563          "Experiment": {
  1564            "$ref": "#/definitions/Experiment"
  1565          },
  1566          "Patient": {
  1567            "$ref": "#/definitions/Patient"
  1568          },
  1569          "Result": {
  1570            "$ref": "#/definitions/Result"
  1571          },
  1572          "Resultdetails": {
  1573            "$ref": "#/definitions/Resultdetails"
  1574          },
  1575          "Sample": {
  1576            "$ref": "#/definitions/Sample"
  1577          }
  1578        }
  1579      },
  1580      "Result": {
  1581        "type": "object",
  1582        "properties": {
  1583          "failed_regions": {
  1584            "type": "string",
  1585            "x-go-custom-tag": "db:\"failed_regions\"",
  1586            "x-nullable": true
  1587          },
  1588          "mean_depth_of_coveage": {
  1589            "type": "number",
  1590            "format": "float",
  1591            "x-go-custom-tag": "db:\"mean_depth_of_coveage\"",
  1592            "x-nullable": true
  1593          },
  1594          "mlpa_pcr": {
  1595            "type": "string",
  1596            "x-go-custom-tag": "db:\"mlpa_pcr\"",
  1597            "x-nullable": true
  1598          },
  1599          "mutation": {
  1600            "type": "string",
  1601            "x-go-custom-tag": "db:\"mutation\"",
  1602            "x-nullable": true
  1603          },
  1604          "overall_hotspots_threshold": {
  1605            "type": "number",
  1606            "format": "float",
  1607            "x-go-custom-tag": "db:\"overall_hotspots_threshold\"",
  1608            "x-nullable": true
  1609          },
  1610          "overall_quality_threshold": {
  1611            "type": "number",
  1612            "format": "float",
  1613            "x-go-custom-tag": "db:\"overall_quality_threshold\"",
  1614            "x-nullable": true
  1615          },
  1616          "results_id": {
  1617            "type": "number",
  1618            "format": "int",
  1619            "x-go-custom-tag": "db:\"results_id\"",
  1620            "x-nullable": true
  1621          },
  1622          "sample_id": {
  1623            "type": "string",
  1624            "x-go-custom-tag": "db:\"sample_id\"",
  1625            "x-nullable": true
  1626          },
  1627          "uid": {
  1628            "type": "string",
  1629            "x-go-custom-tag": "db:\"uid\"",
  1630            "x-nullable": true
  1631          },
  1632          "verification_pcr": {
  1633            "type": "string",
  1634            "x-go-custom-tag": "db:\"verification_pcr\"",
  1635            "x-nullable": true
  1636          }
  1637        }
  1638      },
  1639      "Resultdetails": {
  1640        "type": "object",
  1641        "properties": {
  1642          "VAF": {
  1643            "type": "number",
  1644            "format": "float",
  1645            "x-go-custom-tag": "db:\"VAF\"",
  1646            "x-nullable": true
  1647          },
  1648          "c_nomenclature": {
  1649            "type": "string",
  1650            "x-go-custom-tag": "db:\"c_nomenclature\"",
  1651            "x-nullable": true
  1652          },
  1653          "coverage": {
  1654            "type": "number",
  1655            "format": "int",
  1656            "x-go-custom-tag": "db:\"coverage\"",
  1657            "x-nullable": true
  1658          },
  1659          "exon": {
  1660            "type": "number",
  1661            "format": "int",
  1662            "x-go-custom-tag": "db:\"exon\"",
  1663            "x-nullable": true
  1664          },
  1665          "gene": {
  1666            "type": "string",
  1667            "x-go-custom-tag": "db:\"gene\"",
  1668            "x-nullable": true
  1669          },
  1670          "p_nomenclature": {
  1671            "type": "string",
  1672            "x-go-custom-tag": "db:\"p_nomenclature\"",
  1673            "x-nullable": true
  1674          },
  1675          "pcr": {
  1676            "type": "string",
  1677            "x-go-custom-tag": "db:\"pcr\"",
  1678            "x-nullable": true
  1679          },
  1680          "quality_score": {
  1681            "type": "number",
  1682            "format": "float",
  1683            "x-go-custom-tag": "db:\"quality_score\"",
  1684            "x-nullable": true
  1685          },
  1686          "result": {
  1687            "type": "string",
  1688            "x-go-custom-tag": "db:\"result\"",
  1689            "x-nullable": true
  1690          },
  1691          "results_details_id": {
  1692            "type": "string",
  1693            "x-go-custom-tag": "db:\"results_details_id\"",
  1694            "x-nullable": true
  1695          },
  1696          "results_id": {
  1697            "type": "number",
  1698            "format": "int",
  1699            "x-go-custom-tag": "db:\"results_id\"",
  1700            "x-nullable": true
  1701          },
  1702          "risk_score": {
  1703            "type": "number",
  1704            "format": "float",
  1705            "x-go-custom-tag": "db:\"risk_score\"",
  1706            "x-nullable": true
  1707          },
  1708          "sample_id": {
  1709            "type": "string",
  1710            "x-go-custom-tag": "db:\"sample_id\"",
  1711            "x-nullable": true
  1712          },
  1713          "uid": {
  1714            "type": "string",
  1715            "x-go-custom-tag": "db:\"uid\"",
  1716            "x-nullable": true
  1717          }
  1718        }
  1719      },
  1720      "Sample": {
  1721        "type": "object",
  1722        "properties": {
  1723          "cf_plasma_location": {
  1724            "type": "string",
  1725            "x-go-custom-tag": "db:\"cf_plasma_location\"",
  1726            "x-nullable": true
  1727          },
  1728          "comments": {
  1729            "type": "string",
  1730            "x-go-custom-tag": "db:\"comments\"",
  1731            "x-nullable": true
  1732          },
  1733          "container_id": {
  1734            "type": "string",
  1735            "x-go-custom-tag": "db:\"container_id\"",
  1736            "x-nullable": true
  1737          },
  1738          "container_name": {
  1739            "type": "string",
  1740            "x-go-custom-tag": "db:\"container_name\"",
  1741            "x-nullable": true
  1742          },
  1743          "container_type": {
  1744            "type": "string",
  1745            "x-go-custom-tag": "db:\"container_type\"",
  1746            "x-nullable": true
  1747          },
  1748          "container_well": {
  1749            "type": "string",
  1750            "x-go-custom-tag": "db:\"container_well\"",
  1751            "x-nullable": true
  1752          },
  1753          "copath_num": {
  1754            "type": "string",
  1755            "x-go-custom-tag": "db:\"copath_num\"",
  1756            "x-nullable": true
  1757          },
  1758          "date_collected": {
  1759            "type": "string",
  1760            "x-go-custom-tag": "db:\"date_collected\"",
  1761            "x-nullable": true
  1762          },
  1763          "date_received": {
  1764            "type": "string",
  1765            "x-go-custom-tag": "db:\"date_received\"",
  1766            "x-nullable": true
  1767          },
  1768          "date_submitted": {
  1769            "type": "string",
  1770            "x-go-custom-tag": "db:\"date_submitted\"",
  1771            "x-nullable": true
  1772          },
  1773          "delta_ct_Value": {
  1774            "type": "number",
  1775            "format": "float",
  1776            "x-go-custom-tag": "db:\"delta_ct_Value\"",
  1777            "x-nullable": true
  1778          },
  1779          "dna_concentration": {
  1780            "type": "number",
  1781            "format": "float",
  1782            "x-go-custom-tag": "db:\"dna_concentration\"",
  1783            "x-nullable": true
  1784          },
  1785          "dna_extraction_date": {
  1786            "type": "string",
  1787            "x-go-custom-tag": "db:\"dna_extraction_date\"",
  1788            "x-nullable": true
  1789          },
  1790          "dna_location": {
  1791            "type": "string",
  1792            "x-go-custom-tag": "db:\"dna_location\"",
  1793            "x-nullable": true
  1794          },
  1795          "dna_quality": {
  1796            "type": "string",
  1797            "x-go-custom-tag": "db:\"dna_quality\"",
  1798            "x-nullable": true
  1799          },
  1800          "dna_quality_by_rnase_p": {
  1801            "type": "number",
  1802            "format": "float",
  1803            "x-go-custom-tag": "db:\"dna_quality_by_rnase_p\"",
  1804            "x-nullable": true
  1805          },
  1806          "dna_sample_barcode": {
  1807            "type": "string",
  1808            "x-go-custom-tag": "db:\"dna_sample_barcode\"",
  1809            "x-nullable": true
  1810          },
  1811          "dna_volume": {
  1812            "type": "number",
  1813            "format": "float",
  1814            "x-go-custom-tag": "db:\"dna_volume\"",
  1815            "x-nullable": true
  1816          },
  1817          "facility": {
  1818            "type": "string",
  1819            "x-go-custom-tag": "db:\"facility\"",
  1820            "x-nullable": true
  1821          },
  1822          "ffpe_qc_date": {
  1823            "type": "string",
  1824            "x-go-custom-tag": "db:\"ffpe_qc_date\"",
  1825            "x-nullable": true
  1826          },
  1827          "h_e_slide_location": {
  1828            "type": "string",
  1829            "x-go-custom-tag": "db:\"h_e_slide_location\"",
  1830            "x-nullable": true
  1831          },
  1832          "has_sample_files": {
  1833            "type": "boolean",
  1834            "x-go-custom-tag": "db:\"has_sample_files\"",
  1835            "x-nullable": true
  1836          },
  1837          "historical_diagnosis": {
  1838            "type": "string",
  1839            "x-go-custom-tag": "db:\"historical_diagnosis\"",
  1840            "x-nullable": true
  1841          },
  1842          "material_received": {
  1843            "type": "string",
  1844            "x-go-custom-tag": "db:\"material_received\"",
  1845            "x-nullable": true
  1846          },
  1847          "material_received_num": {
  1848            "type": "string",
  1849            "x-go-custom-tag": "db:\"material_received_num\"",
  1850            "x-nullable": true
  1851          },
  1852          "material_received_other": {
  1853            "type": "string",
  1854            "x-go-custom-tag": "db:\"material_received_other\"",
  1855            "x-nullable": true
  1856          },
  1857          "name_of_requestor": {
  1858            "type": "string",
  1859            "x-go-custom-tag": "db:\"name_of_requestor\"",
  1860            "x-nullable": true
  1861          },
  1862          "non_uhn_id": {
  1863            "type": "string",
  1864            "x-go-custom-tag": "db:\"non_uhn_id\"",
  1865            "x-nullable": true
  1866          },
  1867          "other_identifier": {
  1868            "type": "string",
  1869            "x-go-custom-tag": "db:\"other_identifier\"",
  1870            "x-nullable": true
  1871          },
  1872          "pb_bm_location": {
  1873            "type": "string",
  1874            "x-go-custom-tag": "db:\"pb_bm_location\"",
  1875            "x-nullable": true
  1876          },
  1877          "plasma_location": {
  1878            "type": "string",
  1879            "x-go-custom-tag": "db:\"plasma_location\"",
  1880            "x-nullable": true
  1881          },
  1882          "reviewed_by": {
  1883            "type": "string",
  1884            "x-go-custom-tag": "db:\"reviewed_by\"",
  1885            "x-nullable": true
  1886          },
  1887          "rna_concentration": {
  1888            "type": "number",
  1889            "format": "float",
  1890            "x-go-custom-tag": "db:\"rna_concentration\"",
  1891            "x-nullable": true
  1892          },
  1893          "rna_extraction_date": {
  1894            "type": "string",
  1895            "x-go-custom-tag": "db:\"rna_extraction_date\"",
  1896            "x-nullable": true
  1897          },
  1898          "rna_location": {
  1899            "type": "string",
  1900            "x-go-custom-tag": "db:\"rna_location\"",
  1901            "x-nullable": true
  1902          },
  1903          "rna_lysate_location": {
  1904            "type": "string",
  1905            "x-go-custom-tag": "db:\"rna_lysate_location\"",
  1906            "x-nullable": true
  1907          },
  1908          "rna_quality": {
  1909            "type": "number",
  1910            "format": "float",
  1911            "x-go-custom-tag": "db:\"rna_quality\"",
  1912            "x-nullable": true
  1913          },
  1914          "rna_volume": {
  1915            "type": "number",
  1916            "format": "float",
  1917            "x-go-custom-tag": "db:\"rna_volume\"",
  1918            "x-nullable": true
  1919          },
  1920          "rnase_p_date": {
  1921            "type": "string",
  1922            "x-go-custom-tag": "db:\"rnase_p_date\"",
  1923            "x-nullable": true
  1924          },
  1925          "sample_id": {
  1926            "type": "string",
  1927            "x-go-custom-tag": "db:\"sample_id\"",
  1928            "x-nullable": true
  1929          },
  1930          "sample_name": {
  1931            "type": "string",
  1932            "x-go-custom-tag": "db:\"sample_name\"",
  1933            "x-nullable": true
  1934          },
  1935          "sample_size": {
  1936            "type": "string",
  1937            "x-go-custom-tag": "db:\"sample_size\"",
  1938            "x-nullable": true
  1939          },
  1940          "sample_type": {
  1941            "type": "string",
  1942            "x-go-custom-tag": "db:\"sample_type\"",
  1943            "x-nullable": true
  1944          },
  1945          "se_num": {
  1946            "type": "string",
  1947            "x-go-custom-tag": "db:\"se_num\"",
  1948            "x-nullable": true
  1949          },
  1950          "study_id": {
  1951            "type": "string",
  1952            "x-go-custom-tag": "db:\"study_id\"",
  1953            "x-nullable": true
  1954          },
  1955          "surgical_num": {
  1956            "type": "string",
  1957            "x-go-custom-tag": "db:\"surgical_num\"",
  1958            "x-nullable": true
  1959          },
  1960          "test_requested": {
  1961            "type": "string",
  1962            "x-go-custom-tag": "db:\"test_requested\"",
  1963            "x-nullable": true
  1964          },
  1965          "tumor_percnt_of_circled": {
  1966            "type": "number",
  1967            "format": "float",
  1968            "x-go-custom-tag": "db:\"tumor_percnt_of_circled\"",
  1969            "x-nullable": true
  1970          },
  1971          "tumor_percnt_of_total": {
  1972            "type": "number",
  1973            "format": "float",
  1974            "x-go-custom-tag": "db:\"tumor_percnt_of_total\"",
  1975            "x-nullable": true
  1976          },
  1977          "tumor_site": {
  1978            "type": "string",
  1979            "x-go-custom-tag": "db:\"tumor_site\"",
  1980            "x-nullable": true
  1981          },
  1982          "volume_of_blood_marrow": {
  1983            "type": "number",
  1984            "format": "float",
  1985            "x-go-custom-tag": "db:\"volume_of_blood_marrow\"",
  1986            "x-nullable": true
  1987          },
  1988          "wbc_location": {
  1989            "type": "string",
  1990            "x-go-custom-tag": "db:\"wbc_location\"",
  1991            "x-nullable": true
  1992          }
  1993        }
  1994      }
  1995    }
  1996  }`))
  1997  }