{"components": {"responses": {"MaskError": {"description": "When any error occurs on mask"}, "ParseError": {"description": "When a mask can't be parsed"}}, "schemas": {"A SUBA page of results": {"discriminator": {"propertyName": "entity_name"}, "properties": {"entity_name": {"description": "entity or table queried", "enum": ["Metabolite", "NVDI", "Peptide", "Plot", "Protein", "TOS", "WeatherSite", "Yield", "Zadocks"], "example": "Metabolite", "type": "string"}, "next_url": {"type": "string"}, "page": {"description": "Page number for this page of results", "type": "integer"}, "pages": {"description": "Total number of pages for this query", "type": "integer"}, "per_page": {"default": 10, "description": "Number of items per page of results", "enum": [0, 2, 5, 10, 20, 50, 100], "example": 10, "format": "one of a set of integers", "type": "integer"}, "prev_url": {"type": "string"}, "total": {"description": "Total number of results", "type": "integer"}}, "required": ["entity_name", "page", "per_page"], "type": "object"}, "A page of Metabolites": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Metabolite"}, "type": "array"}}, "type": "object"}]}, "A page of NVDIs": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/NVDI"}, "type": "array"}}, "type": "object"}]}, "A page of Peptides": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Peptide"}, "type": "array"}}, "type": "object"}]}, "A page of Plots": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Plot"}, "type": "array"}}, "type": "object"}]}, "A page of Proteins": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Protein"}, "type": "array"}}, "type": "object"}]}, "A page of TOSs": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/TOS"}, "type": "array"}}, "type": "object"}]}, "A page of WeatherSites": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/WeatherSite"}, "type": "array"}}, "type": "object"}]}, "A page of Yields": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Yield"}, "type": "array"}}, "type": "object"}]}, "A page of Zadocks": {"allOf": [{"$ref": "#/components/schemas/A%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Zadocks"}, "type": "array"}}, "type": "object"}]}, "A page of results": {"discriminator": {"propertyName": "entity_name"}, "properties": {"entity_name": {"description": "entity or table queried", "enum": ["Plot", "Zadocks", "Protein", "Peptide", "WeatherSite", "TOS", "NVDI", "Yield", "Metabolite"], "example": "Plot", "type": "string"}, "page": {"description": "Page number for this page of results", "type": "integer"}, "pages": {"description": "Total number of pages for this query", "type": "integer"}, "per_page": {"default": 10, "description": "Number of items per page of results", "enum": [0, 2, 5, 10, 20, 50, 100], "example": 0, "format": "one of a set of integers", "type": "integer"}, "total": {"description": "Total number of results", "type": "integer"}}, "required": ["entity_name", "page", "per_page"], "type": "object"}, "A suba page of Metabolites": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Metabolite"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{*}}"}]}, "A suba page of NVDIs": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/NVDI"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{*}}"}]}, "A suba page of Peptides": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Peptide"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{*}}"}]}, "A suba page of Plots": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Plot"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{plot_barcode,dprid_tos_plot,dprid_variety,grain,dpird_plot,dpird_block,dprid_tos,tos_date,dprid_col,dpird_row,repilcate_number,name,gis_plot_barcode,gis_row_id,gis_column_id,plot_area,easting,northing,latitude,longitude,fid_id,rc_id,nvdis,serpentine,h_order,weight,plot_length,plot_width,area,crop_yield}}"}]}, "A suba page of Proteins": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Protein"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{*}}"}]}, "A suba page of TOSs": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/TOS"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{*}}"}]}, "A suba page of WeatherSites": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/WeatherSite"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{*}}"}]}, "A suba page of Yields": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Yield"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{plot_barcode,serpentine,h_order,weight,plot_length,plot_width,area,crop_yield}}"}]}, "A suba page of Zadocks": {"allOf": [{"$ref": "#/components/schemas/A%20SUBA%20page%20of%20results"}, {"properties": {"items": {"items": {"$ref": "#/components/schemas/Zadocks"}, "type": "array"}}, "type": "object", "x-mask": "{*,items{*}}"}]}, "BaseException": {"properties": {"message": {"title": "Error Message", "type": "string"}}, "required": ["message"], "type": "object"}, "Entity Properties": {"discriminator": {"propertyName": "entity_name"}, "properties": {"columns": {"allOf": [{"$ref": "#/components/schemas/FieldMetaData"}], "description": "field meta data of model"}, "entity_name": {"description": "Name of Entity", "enum": ["Metabolite", "NVDI", "Peptide", "Plot", "Protein", "TOS", "WeatherSite", "Yield", "Zadocks"], "example": "Metabolite", "type": "string"}, "masked": {"description": "Columns or Relationships available but not sent by default.", "items": {"type": "string"}, "type": "array"}, "relationships": {"allOf": [{"$ref": "#/components/schemas/FieldMetaData"}], "description": "field meta data of model"}}, "required": ["entity_name"], "type": "object"}, "FieldMetaData": {"properties": {"description": {"type": "string"}, "name": {"type": "string"}, "type": {"type": "string"}}, "type": "object"}, "LanguageException": {"allOf": [{"$ref": "#/components/schemas/BaseException"}, {"properties": {"html": {"title": "html of error", "type": "string"}, "lexdata": {"title": "query string being parsed", "type": "string"}, "paths": {"items": {"type": "string"}, "title": "attribute locations", "type": "array"}, "pos": {"title": "position of lexical error", "type": "integer"}}, "type": "object"}]}, "Metabolite": {"properties": {"id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "metabolite": {"example": "DL-Lactic acid (2TMS)", "maxLength": 128, "type": "string"}, "plot": {"$ref": "#/components/schemas/plot.Plot"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 12, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}, "value": {"example": 1.86513, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "NVDI": {"properties": {"NVDI": {"example": 0.580649, "type": "number"}, "datetime": {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "example": "2018-08-30T12:15:00", "format": "date-time", "type": "string"}, "gis_plot_barcode": {"example": "*FY18.A10001*", "maxLength": 32, "type": "string"}, "green": {"example": 0.294309, "type": "number"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "nir": {"example": 0.704431, "type": "number"}, "plot": {"$ref": "#/components/schemas/plot.Plot"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 32, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}, "re": {"example": 0.531314, "type": "number"}, "red": {"example": 0.186888, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "Peptide": {"properties": {"area": {"example": 0.608929, "type": "number"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "peptide": {"example": "LVGVSEETTTGVK", "maxLength": 64, "type": "string"}, "plot": {"$ref": "#/components/schemas/plot.Plot"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 12, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}, "proteins": {"items": {"$ref": "#/components/schemas/proteins.Protein"}, "type": "array"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "Plot": {"description": "*Plot* data describes data from each plot at Dale", "properties": {"area": {"type": "number"}, "crop_yield": {"type": "number"}, "dpird_block": {"enum": ["A", "B", "C", "D", "E", "F", "G", "H"], "example": "A", "maxLength": 1, "type": "string"}, "dpird_plot": {"example": 10001, "type": "integer"}, "dpird_row": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "dprid_col": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "example": 10, "format": "one of a set of integers", "type": "integer"}, "dprid_tos": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "dprid_tos_plot": {"example": "A10001", "maxLength": 12, "type": "string"}, "dprid_variety": {"enum": ["Y1", "Y10", "Y11", "Y12", "Y13", "Y14", "Y15", "Y16", "Y2", "Y3", "Y4", "Y5", "Y6", "Y7", "Y8", "Y9"], "example": "Y12", "maxLength": 3, "type": "string"}, "easting": {"description": "GDA94 MGA Zone 50", "example": 477202.943067, "type": "number"}, "fid_id": {"example": 4204, "type": "integer"}, "gis_column_id": {"enum": [10, 11, 12, 13, 14, 15, 16, 17, 52, 53, 54, 55, 56, 57, 58, 59, 100, 101, 102, 103, 104, 105, 106, 107, 148, 149, 150, 151, 152, 153, 154, 155], "example": 155, "format": "one of a set of integers", "type": "integer"}, "gis_plot_barcode": {"example": "*FY18.A10001*", "maxLength": 32, "type": "string"}, "gis_row_id": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "example": 10, "format": "one of a set of integers", "type": "integer"}, "grain": {"enum": ["Wheat"], "example": "Wheat", "maxLength": 12, "type": "string"}, "h_order": {"type": "integer"}, "latitude": {"example": -32.2043164371, "type": "number"}, "longitude": {"example": 116.7581096267, "type": "number"}, "metabolites": {"items": {"$ref": "#/components/schemas/metabolites.Metabolite"}, "type": "array"}, "name": {"enum": ["AUS30323", "Calingiri", "Corrigin", "Cosmick", "Cutlass", "Endure", "Forrest", "Impose CL Plus", "Kunjin", "Mace", "Magenta", "Scepter", "Scout", "Wyalkatchem", "Wylah", "Young"], "example": "Scepter", "maxLength": 32, "type": "string"}, "northing": {"description": "GDA94 MGA Zone 50", "example": 6436891.35945, "type": "number"}, "nvdis": {"items": {"$ref": "#/components/schemas/nvdis.NVDI"}, "type": "array"}, "peptides": {"items": {"$ref": "#/components/schemas/peptides.Peptide"}, "type": "array"}, "plot_area": {"example": 2.53422, "type": "number"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 12, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "readOnly": true, "type": "string"}, "plot_length": {"type": "number"}, "plot_width": {"type": "number"}, "rc_id": {"example": "10_155", "maxLength": 32, "type": "string"}, "repilcate_number": {"enum": [1, 2, 3], "example": 3, "format": "one of a set of integers", "type": "integer"}, "serpentine": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "example": 1, "format": "one of a set of integers", "type": "integer"}, "tos": {"items": {"$ref": "#/components/schemas/tos.TOS"}, "type": "array"}, "tos_date": {"example": "2018-04-12", "format": "date", "type": "string"}, "weight": {"type": "number"}, "zadocks": {"items": {"$ref": "#/components/schemas/zadocks.Zadocks"}, "type": "array"}}, "required": ["plot_barcode"], "type": "object", "x-mask": "{plot_barcode,dprid_tos_plot,dprid_variety,grain,dpird_plot,dpird_block,dprid_tos,tos_date,dprid_col,dpird_row,repilcate_number,name,gis_plot_barcode,gis_row_id,gis_column_id,plot_area,easting,northing,latitude,longitude,fid_id,rc_id,nvdis,serpentine,h_order,weight,plot_length,plot_width,area,crop_yield}"}, "Protein": {"properties": {"id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "mapcave_bin": {"example": "amino acid metabolism.degradation.aromatic aa.tyrosine", "maxLength": 255, "type": "string"}, "peptide": {"example": "GEDYNVGFGTCTGK", "maxLength": 63, "type": "string"}, "peptides": {"items": {"$ref": "#/components/schemas/peptides.Peptide"}, "type": "array"}, "protein": {"example": "Traes_6AS_57E2B2AA2.1", "maxLength": 32, "type": "string"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "TOS": {"properties": {"datetime": {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "example": "2018-06-13T00:00:00", "format": "date-time", "type": "string"}, "dprid_tos": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "plots": {"items": {"$ref": "#/components/schemas/plots.Plot"}, "type": "array"}, "ref": {"example": 1, "type": "integer"}, "temp": {"example": 18.3953, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "WeatherSite": {"properties": {"AT_30cm": {"example": 31.3, "type": "number"}, "AT_60cm": {"example": 30.7, "type": "number"}, "airt": {"description": "air temperatature", "example": 28.9, "type": "number"}, "battery": {"example": 13.5, "type": "number"}, "datetime": {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "example": "2018-02-15T11:00:00", "format": "date-time", "type": "string"}, "dirn": {"example": 105, "type": "integer"}, "evap": {"example": 1.01, "type": "number"}, "gust": {"example": 27.0, "type": "number"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "max_at": {"example": 29.5, "type": "number"}, "min_t": {"example": 26.1, "type": "number"}, "rain": {"example": 30.2, "type": "number"}, "rh": {"example": 29.2, "type": "number"}, "sddirn": {"example": 23.8, "type": "number"}, "soilt": {"description": "soil temperatature", "example": 33.0, "type": "number"}, "solar": {"example": 3326.76, "type": "number"}, "wind": {"example": 4.7, "type": "number"}, "windrun": {"example": 16.92, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "Yield": {"properties": {"area": {"example": 4.712, "type": "number"}, "crop_yield": {"example": 4.75382, "type": "number"}, "h_order": {"example": 86, "type": "integer"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 32, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "readOnly": true, "type": "string"}, "plot_length": {"example": 3.1, "type": "number"}, "plot_width": {"example": 1.52, "type": "number"}, "serpentine": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "example": 2, "format": "one of a set of integers", "type": "integer"}, "weight": {"example": 2.24, "type": "number"}}, "required": ["plot_barcode"], "type": "object", "x-mask": "{plot_barcode,serpentine,h_order,weight,plot_length,plot_width,area,crop_yield}"}, "Zadocks": {"properties": {"date": {"example": "2018-06-21", "format": "date", "type": "string"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "plot": {"$ref": "#/components/schemas/plot.Plot"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A1001", "maxLength": 32, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}, "zadock": {"example": 39.0, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "metabolites.Metabolite": {"properties": {"id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "metabolite": {"example": "DL-Lactic acid (2TMS)", "maxLength": 128, "type": "string"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 12, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}, "value": {"example": 1.86513, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "nvdis.NVDI": {"properties": {"NVDI": {"example": 0.580649, "type": "number"}, "datetime": {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "example": "2018-08-30T12:15:00", "format": "date-time", "type": "string"}, "gis_plot_barcode": {"example": "*FY18.A10001*", "maxLength": 32, "type": "string"}, "green": {"example": 0.294309, "type": "number"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "nir": {"example": 0.704431, "type": "number"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 32, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}, "re": {"example": 0.531314, "type": "number"}, "red": {"example": 0.186888, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "peptides.Peptide": {"properties": {"area": {"example": 0.608929, "type": "number"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "peptide": {"example": "LVGVSEETTTGVK", "maxLength": 64, "type": "string"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 12, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "plot.Plot": {"properties": {"area": {"type": "number"}, "crop_yield": {"type": "number"}, "dpird_block": {"enum": ["A", "B", "C", "D", "E", "F", "G", "H"], "example": "A", "maxLength": 1, "type": "string"}, "dpird_plot": {"example": 10001, "type": "integer"}, "dpird_row": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "dprid_col": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "example": 10, "format": "one of a set of integers", "type": "integer"}, "dprid_tos": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "dprid_tos_plot": {"example": "A10001", "maxLength": 12, "type": "string"}, "dprid_variety": {"enum": ["Y1", "Y10", "Y11", "Y12", "Y13", "Y14", "Y15", "Y16", "Y2", "Y3", "Y4", "Y5", "Y6", "Y7", "Y8", "Y9"], "example": "Y12", "maxLength": 3, "type": "string"}, "easting": {"description": "GDA94 MGA Zone 50", "example": 477202.943067, "type": "number"}, "fid_id": {"example": 4204, "type": "integer"}, "gis_column_id": {"enum": [10, 11, 12, 13, 14, 15, 16, 17, 52, 53, 54, 55, 56, 57, 58, 59, 100, 101, 102, 103, 104, 105, 106, 107, 148, 149, 150, 151, 152, 153, 154, 155], "example": 155, "format": "one of a set of integers", "type": "integer"}, "gis_plot_barcode": {"example": "*FY18.A10001*", "maxLength": 32, "type": "string"}, "gis_row_id": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "example": 10, "format": "one of a set of integers", "type": "integer"}, "grain": {"enum": ["Wheat"], "example": "Wheat", "maxLength": 12, "type": "string"}, "h_order": {"type": "integer"}, "latitude": {"example": -32.2043164371, "type": "number"}, "longitude": {"example": 116.7581096267, "type": "number"}, "metabolites": {"items": {"$ref": "#/components/schemas/metabolites.Metabolite"}, "type": "array"}, "name": {"enum": ["AUS30323", "Calingiri", "Corrigin", "Cosmick", "Cutlass", "Endure", "Forrest", "Impose CL Plus", "Kunjin", "Mace", "Magenta", "Scepter", "Scout", "Wyalkatchem", "Wylah", "Young"], "example": "Scepter", "maxLength": 32, "type": "string"}, "northing": {"description": "GDA94 MGA Zone 50", "example": 6436891.35945, "type": "number"}, "nvdis": {"items": {"$ref": "#/components/schemas/nvdis.NVDI"}, "type": "array"}, "peptides": {"items": {"$ref": "#/components/schemas/peptides.Peptide"}, "type": "array"}, "plot_area": {"example": 2.53422, "type": "number"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 12, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "readOnly": true, "type": "string"}, "plot_length": {"type": "number"}, "plot_width": {"type": "number"}, "rc_id": {"example": "10_155", "maxLength": 32, "type": "string"}, "repilcate_number": {"enum": [1, 2, 3], "example": 3, "format": "one of a set of integers", "type": "integer"}, "serpentine": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "example": 1, "format": "one of a set of integers", "type": "integer"}, "tos": {"items": {"$ref": "#/components/schemas/tos.TOS"}, "type": "array"}, "tos_date": {"example": "2018-04-12", "format": "date", "type": "string"}, "weight": {"type": "number"}, "zadocks": {"items": {"$ref": "#/components/schemas/zadocks.Zadocks"}, "type": "array"}}, "required": ["plot_barcode"], "type": "object", "x-mask": "{plot_barcode,dprid_tos_plot,dprid_variety,grain,dpird_plot,dpird_block,dprid_tos,tos_date,dprid_col,dpird_row,repilcate_number,name,gis_plot_barcode,gis_row_id,gis_column_id,plot_area,easting,northing,latitude,longitude,fid_id,rc_id}"}, "plots.Plot": {"properties": {"area": {"type": "number"}, "crop_yield": {"type": "number"}, "dpird_block": {"enum": ["A", "B", "C", "D", "E", "F", "G", "H"], "example": "A", "maxLength": 1, "type": "string"}, "dpird_plot": {"example": 10001, "type": "integer"}, "dpird_row": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "dprid_col": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "example": 10, "format": "one of a set of integers", "type": "integer"}, "dprid_tos": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "dprid_tos_plot": {"example": "A10001", "maxLength": 12, "type": "string"}, "dprid_variety": {"enum": ["Y1", "Y10", "Y11", "Y12", "Y13", "Y14", "Y15", "Y16", "Y2", "Y3", "Y4", "Y5", "Y6", "Y7", "Y8", "Y9"], "example": "Y12", "maxLength": 3, "type": "string"}, "easting": {"description": "GDA94 MGA Zone 50", "example": 477202.943067, "type": "number"}, "fid_id": {"example": 4204, "type": "integer"}, "gis_column_id": {"enum": [10, 11, 12, 13, 14, 15, 16, 17, 52, 53, 54, 55, 56, 57, 58, 59, 100, 101, 102, 103, 104, 105, 106, 107, 148, 149, 150, 151, 152, 153, 154, 155], "example": 155, "format": "one of a set of integers", "type": "integer"}, "gis_plot_barcode": {"example": "*FY18.A10001*", "maxLength": 32, "type": "string"}, "gis_row_id": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "example": 10, "format": "one of a set of integers", "type": "integer"}, "grain": {"enum": ["Wheat"], "example": "Wheat", "maxLength": 12, "type": "string"}, "h_order": {"type": "integer"}, "latitude": {"example": -32.2043164371, "type": "number"}, "longitude": {"example": 116.7581096267, "type": "number"}, "metabolites": {"items": {"$ref": "#/components/schemas/metabolites.Metabolite"}, "type": "array"}, "name": {"enum": ["AUS30323", "Calingiri", "Corrigin", "Cosmick", "Cutlass", "Endure", "Forrest", "Impose CL Plus", "Kunjin", "Mace", "Magenta", "Scepter", "Scout", "Wyalkatchem", "Wylah", "Young"], "example": "Scepter", "maxLength": 32, "type": "string"}, "northing": {"description": "GDA94 MGA Zone 50", "example": 6436891.35945, "type": "number"}, "nvdis": {"items": {"$ref": "#/components/schemas/nvdis.NVDI"}, "type": "array"}, "peptides": {"items": {"$ref": "#/components/schemas/peptides.Peptide"}, "type": "array"}, "plot_area": {"example": 2.53422, "type": "number"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A10001", "maxLength": 12, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "readOnly": true, "type": "string"}, "plot_length": {"type": "number"}, "plot_width": {"type": "number"}, "rc_id": {"example": "10_155", "maxLength": 32, "type": "string"}, "repilcate_number": {"enum": [1, 2, 3], "example": 3, "format": "one of a set of integers", "type": "integer"}, "serpentine": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "example": 1, "format": "one of a set of integers", "type": "integer"}, "tos": {"items": {"$ref": "#/components/schemas/tos.TOS"}, "type": "array"}, "tos_date": {"example": "2018-04-12", "format": "date", "type": "string"}, "weight": {"type": "number"}, "zadocks": {"items": {"$ref": "#/components/schemas/zadocks.Zadocks"}, "type": "array"}}, "required": ["plot_barcode"], "type": "object", "x-mask": "{plot_barcode,dprid_tos_plot,dprid_variety,grain,dpird_plot,dpird_block,dprid_tos,tos_date,dprid_col,dpird_row,repilcate_number,name,gis_plot_barcode,gis_row_id,gis_column_id,plot_area,easting,northing,latitude,longitude,fid_id,rc_id}"}, "proteins.Protein": {"properties": {"id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "mapcave_bin": {"example": "amino acid metabolism.degradation.aromatic aa.tyrosine", "maxLength": 255, "type": "string"}, "peptide": {"example": "GEDYNVGFGTCTGK", "maxLength": 63, "type": "string"}, "peptides": {"items": {"$ref": "#/components/schemas/peptides.Peptide"}, "type": "array"}, "protein": {"example": "Traes_6AS_57E2B2AA2.1", "maxLength": 32, "type": "string"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "tos.TOS": {"properties": {"datetime": {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "example": "2018-06-13T00:00:00", "format": "date-time", "type": "string"}, "dprid_tos": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "example": 1, "format": "one of a set of integers", "type": "integer"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "ref": {"example": 1, "type": "integer"}, "temp": {"example": 18.3953, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}, "zadocks.Zadocks": {"properties": {"date": {"example": "2018-06-21", "format": "date", "type": "string"}, "id": {"description": "surrogate primary key", "example": 1, "readOnly": true, "type": "integer"}, "plot_barcode": {"description": "unique identifier for plot", "example": "FY18_A1001", "maxLength": 32, "pattern": "^FY18_[A-H][1-9][0-2]00?[1-9]$", "type": "string"}, "zadock": {"example": 39.0, "type": "number"}}, "required": ["id"], "type": "object", "x-mask": "{*}"}}}, "info": {"description": "\n\nAgReFed @ Dale [Home Page](http://webapps.plantenergy.uwa.edu.au/agrefed_dale/)\n\n* Attributes with format `array[integer]` or `array[number]` allow range queries.   e.g. `9,` translates to  `attr >= 9`, `9,12` translates to `attr >= 9 and attr <= 12`.   More than 1 comma translates to an `in` query. No comma is an equality query.\n* `$iso 86001 time interval` is explained [here](https://en.wikipedia.org/wiki/ISO_8601#Durations).\n* `$string like` format will interpret any string with a `%` character as an SQL \"like\" query.\n* `$ordering columns` is a comma separated list of column names prefixed or postfixed by `>` or `<`   so that `col>` or `<col` is ascending and `col<` or `>col` is descending.\n* A `per_page` of 0 means return *all* data.\n* The X-Fields header attribute `$mask` allows column filtering and its format is explained   [here](https://flask-restplus.readthedocs.io/en/stable/mask.html#syntax).\n\nAll times are in timezone Australia/Perth UTC+08:00.", "license": {"name": "Creative Commons Attribution 4.0 International License", "url": "https://creativecommons.org/licenses/by/4.0/"}, "title": "AgReFed @ Dale", "version": "0.3"}, "openapi": "3.0.2", "paths": {"/Metabolite": {"get": {"operationId": "get_Metabolite", "parameters": [{"description": "surrogate primary key", "explode": false, "in": "query", "name": "id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"description": "unique identifier for plot", "in": "query", "name": "plot_barcode", "schema": {"type": "string"}}, {"in": "query", "name": "metabolite", "schema": {"type": "string"}}, {"explode": false, "in": "query", "name": "value", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Metabolites"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Metabolites"}}}, "description": "A page of Metabolites", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table Metabolite", "tags": ["AgReFed"]}}, "/NVDI": {"get": {"operationId": "get_NVDI", "parameters": [{"description": "surrogate primary key", "explode": false, "in": "query", "name": "id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"description": "unique identifier for plot", "in": "query", "name": "plot_barcode", "schema": {"type": "string"}}, {"in": "query", "name": "gis_plot_barcode", "schema": {"type": "string"}}, {"explode": false, "in": "query", "name": "green", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "red", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "re", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "nir", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "NVDI", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "in": "query", "name": "datetime", "schema": {"format": "iso 86001 date-time interval", "type": "string"}}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20NVDIs"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20NVDIs"}}}, "description": "A page of NVDIs", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table NVDI", "tags": ["AgReFed"]}}, "/Peptide": {"get": {"operationId": "get_Peptide", "parameters": [{"description": "surrogate primary key", "explode": false, "in": "query", "name": "id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"description": "unique identifier for plot", "in": "query", "name": "plot_barcode", "schema": {"type": "string"}}, {"in": "query", "name": "peptide", "schema": {"type": "string"}}, {"explode": false, "in": "query", "name": "area", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Peptides"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Peptides"}}}, "description": "A page of Peptides", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table Peptide", "tags": ["AgReFed"]}}, "/Plot": {"get": {"operationId": "get_Plot", "parameters": [{"description": "unique identifier for plot", "in": "query", "name": "plot_barcode", "schema": {"type": "string"}}, {"in": "query", "name": "dprid_tos_plot", "schema": {"type": "string"}}, {"in": "query", "name": "dprid_variety", "schema": {"enum": ["Y1", "Y10", "Y11", "Y12", "Y13", "Y14", "Y15", "Y16", "Y2", "Y3", "Y4", "Y5", "Y6", "Y7", "Y8", "Y9"], "type": "string"}}, {"in": "query", "name": "grain", "schema": {"enum": ["Wheat"], "type": "string"}}, {"explode": false, "in": "query", "name": "dpird_plot", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"in": "query", "name": "dpird_block", "schema": {"enum": ["A", "B", "C", "D", "E", "F", "G", "H"], "type": "string"}}, {"in": "query", "name": "dprid_tos", "schema": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"in": "query", "name": "tos_date", "schema": {"format": "iso 86001 date-time interval", "type": "string"}}, {"in": "query", "name": "dprid_col", "schema": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"in": "query", "name": "dpird_row", "schema": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"in": "query", "name": "repilcate_number", "schema": {"enum": [1, 2, 3], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"in": "query", "name": "name", "schema": {"enum": ["AUS30323", "Calingiri", "Corrigin", "Cosmick", "Cutlass", "Endure", "Forrest", "Impose CL Plus", "Kunjin", "Mace", "Magenta", "Scepter", "Scout", "Wyalkatchem", "Wylah", "Young"], "type": "string"}}, {"in": "query", "name": "gis_plot_barcode", "schema": {"type": "string"}}, {"in": "query", "name": "gis_row_id", "schema": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"in": "query", "name": "gis_column_id", "schema": {"enum": [10, 11, 12, 13, 14, 15, 16, 17, 52, 53, 54, 55, 56, 57, 58, 59, 100, 101, 102, 103, 104, 105, 106, 107, 148, 149, 150, 151, 152, 153, 154, 155], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"explode": false, "in": "query", "name": "plot_area", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "GDA94 MGA Zone 50", "explode": false, "in": "query", "name": "easting", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "GDA94 MGA Zone 50", "explode": false, "in": "query", "name": "northing", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "latitude", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "longitude", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "fid_id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"in": "query", "name": "rc_id", "schema": {"type": "string"}}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Plots"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Plots"}}}, "description": "A page of Plots", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "*Plot* data describes data from each plot at Dale", "tags": ["AgReFed"]}}, "/Protein": {"get": {"operationId": "get_Protein", "parameters": [{"description": "surrogate primary key", "explode": false, "in": "query", "name": "id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"in": "query", "name": "protein", "schema": {"type": "string"}}, {"in": "query", "name": "peptide", "schema": {"type": "string"}}, {"in": "query", "name": "mapcave_bin", "schema": {"type": "string"}}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Proteins"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Proteins"}}}, "description": "A page of Proteins", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table Protein", "tags": ["AgReFed"]}}, "/TOS": {"get": {"operationId": "get_TOS", "parameters": [{"description": "surrogate primary key", "explode": false, "in": "query", "name": "id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"in": "query", "name": "dprid_tos", "schema": {"enum": [1, 2, 3, 4, 5, 6, 7, 8], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"explode": false, "in": "query", "name": "ref", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "temp", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "in": "query", "name": "datetime", "schema": {"format": "iso 86001 date-time interval", "type": "string"}}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20TOSs"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20TOSs"}}}, "description": "A page of TOSs", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table TOS", "tags": ["AgReFed"]}}, "/WeatherSite": {"get": {"operationId": "get_WeatherSite", "parameters": [{"description": "surrogate primary key", "explode": false, "in": "query", "name": "id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"description": "air temperatature", "explode": false, "in": "query", "name": "airt", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "rh", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "soil temperatature", "explode": false, "in": "query", "name": "soilt", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "solar", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "rain", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "wind", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "windrun", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "gust", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "dirn", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "sddirn", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "battery", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "evap", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "min_t", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "max_at", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "AT_60cm", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "AT_30cm", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "ISO 8601 date-time interval (timezone Australia/Perth UTC+08:00)", "in": "query", "name": "datetime", "schema": {"format": "iso 86001 date-time interval", "type": "string"}}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20WeatherSites"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20WeatherSites"}}}, "description": "A page of WeatherSites", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table WeatherSite", "tags": ["AgReFed"]}}, "/Yield": {"get": {"operationId": "get_Yield", "parameters": [{"description": "unique identifier for plot", "in": "query", "name": "plot_barcode", "schema": {"type": "string"}}, {"in": "query", "name": "serpentine", "schema": {"enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "format": "integer interval", "items": {"type": "integer"}, "type": "array"}}, {"explode": false, "in": "query", "name": "h_order", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "weight", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "plot_length", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "plot_width", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "area", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"explode": false, "in": "query", "name": "crop_yield", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Yields"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Yields"}}}, "description": "A page of Yields", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table Yield", "tags": ["AgReFed"]}}, "/Zadocks": {"get": {"operationId": "get_Zadocks", "parameters": [{"description": "surrogate primary key", "explode": false, "in": "query", "name": "id", "schema": {"format": "integer interval", "items": {"type": "integer"}, "type": "array"}, "style": "form"}, {"description": "unique identifier for plot", "in": "query", "name": "plot_barcode", "schema": {"type": "string"}}, {"explode": false, "in": "query", "name": "zadock", "schema": {"format": "number interval", "items": {"type": "number"}, "type": "array"}, "style": "form"}, {"in": "query", "name": "date", "schema": {"format": "iso 86001 date-time interval", "type": "string"}}, {"description": "Order results", "explode": false, "in": "query", "name": "ordering", "schema": {"format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Select fields", "explode": false, "in": "query", "name": "select", "schema": {"format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}, "style": "form"}, {"description": "Page number", "in": "query", "name": "page", "schema": {"default": 1, "type": "integer"}}, {"description": "Results per page (0 means *all* results)", "in": "query", "name": "per_page", "schema": {"default": 10, "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Zadocks"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/A%20page%20of%20Zadocks"}}}, "description": "A page of Zadocks", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query table Zadocks", "tags": ["AgReFed"]}}, "/suba/entity_properties": {"get": {"description": "Query metadata about Entity columns and relationships.", "operationId": "get_columns_resource", "parameters": [{"in": "query", "name": "entity_name", "required": true, "schema": {"enum": ["Metabolite", "NVDI", "Peptide", "Plot", "Protein", "TOS", "WeatherSite", "Yield", "Zadocks"], "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Entity%20Properties"}}}, "description": "Entity properties"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BaseException"}}}, "description": "no such entity", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Entity properties including columns and relationships", "tags": ["suba"]}}, "/suba/paginate/{path}": {"get": {"description": "This target should be used with the `next_url` and `prev_url` attributes returned by a previous search `/agrefed_dale/suba/query`. It returns the next or previous page of the current result.", "operationId": "get_paginate_resource", "parameters": [{"description": "encoded url of previous or next page of current query (json|compress|btoa|quote)", "in": "query", "name": "path", "required": true, "schema": {"type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"discriminator": {"propertyName": "entity_name"}, "oneOf": [{"$ref": "#/components/schemas/A%20suba%20page%20of%20Plots"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Zadocks"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Proteins"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Peptides"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20WeatherSites"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20TOSs"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20NVDIs"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Yields"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Metabolites"}]}}}, "description": "Success", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Target for prev/next urls", "tags": ["suba"]}, "parameters": [{"in": "path", "name": "path", "required": true, "schema": {"type": "string"}}]}, "/suba/query": {"post": {"description": "Probably better to use [this page](http://webapps.plantenergy.uwa.edu.au/agrefed_dale/search.html).", "operationId": "post_builder_resource", "requestBody": {"content": {"application/x-www-form-urlencoded": {"schema": {"properties": {"entity_name": {"enum": ["Metabolite", "NVDI", "Peptide", "Plot", "Protein", "TOS", "WeatherSite", "Yield", "Zadocks"], "type": "string"}, "ordering": {"description": "Order results", "format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "page": {"default": 1, "description": "Page number", "type": "integer"}, "per_page": {"default": 10, "description": "Results per page (0 means *all* results)", "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}, "query": {"description": "SUBA query", "format": "SUBA query string", "type": "string"}, "select": {"description": "Select fields", "format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}}, "type": "object"}}, "multipart/form-data": {"schema": {"properties": {"entity_name": {"enum": ["Metabolite", "NVDI", "Peptide", "Plot", "Protein", "TOS", "WeatherSite", "Yield", "Zadocks"], "type": "string"}, "ordering": {"description": "Order results", "format": "ordering columns", "items": {"format": "column ordering", "type": "string"}, "type": "array"}, "page": {"default": 1, "description": "Page number", "type": "integer"}, "per_page": {"default": 10, "description": "Results per page (0 means *all* results)", "enum": [0, 2, 5, 10, 20, 50, 100], "type": "integer"}, "query": {"description": "SUBA query", "format": "SUBA query string", "type": "string"}, "select": {"description": "Select fields", "format": "mask", "items": {"format": "column select", "type": "string"}, "type": "array"}}, "type": "object"}}}, "required": true}, "responses": {"200": {"content": {"application/json": {"schema": {"discriminator": {"propertyName": "entity_name"}, "oneOf": [{"$ref": "#/components/schemas/A%20suba%20page%20of%20Plots"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Zadocks"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Proteins"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Peptides"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20WeatherSites"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20TOSs"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20NVDIs"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Yields"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Metabolites"}]}}, "text/csv": {"schema": {"discriminator": {"propertyName": "entity_name"}, "oneOf": [{"$ref": "#/components/schemas/A%20suba%20page%20of%20Plots"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Zadocks"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Proteins"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Peptides"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20WeatherSites"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20TOSs"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20NVDIs"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Yields"}, {"$ref": "#/components/schemas/A%20suba%20page%20of%20Metabolites"}]}}}, "description": "A page of SUBA results", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LanguageException"}}, "text/csv": {"schema": {"$ref": "#/components/schemas/LanguageException"}}}, "description": "SUBA Language Exception", "headers": {"Access-Control-Allow-Origin": {"description": "permitted cross-site locations", "schema": {"default": "*", "type": "string"}}}}}, "summary": "Query Entities with SUBA query language", "tags": ["suba"]}}}, "servers": [{"url": "https://webapps.plantenergy.uwa.edu.au/agrefed_dale"}], "tags": [{"description": "AgReFed @ Dale Tables", "name": "AgReFed"}, {"description": "SUBAlang based queries", "name": "suba"}]}
