{
  "success": {
    "v": 2,
    "license": "CC-BY 4.0",
    "description": "eODP Macrostrat Baggage Stripper Import",
    "options": {
      "parameters": {
        "epoch": "string, drilling 'epoch'; only three valid values (DSDP, ODP and IODP), but note that Baggage Stipper limited to IODP",
        "leg": "string, drilling leg (or expedition for IODP, e.g., leg=317)",
        "site": "string, drilling site (e.g., U1351)",
        "col_id": "integer, one or more Macrostrat column ids",
        "col_group_id": "integer, one or more Macrostrat column group ids; corresponds to legs/expeditions",
        "all": "return all drilling expeditions and sites",
        "sample": "if present, get a selection of data",
        "format": "desired output format, options given below in output_formats"
      },
      "output_formats": [
        "json",
        "csv",
        "geojson",
        "topojson",
        "geojson_bare",
        "topojson_bare"
      ],
      "examples": [
        "api/eodp?leg=317",
        "api/eodp?site=U1354",
        "api/eodp?col_id=5092"
      ],
      "fields": {
        "col_group": "text, name of group the column belongs to, generally corresponds to geologic provinces",
        "site_hole": "",
        "date_started": "",
        "ref_id": "integer, unique reference identifer",
        "col_id": "integer, unique identifier for column",
        "lat": "decimal, latitude in WGS84",
        "lng": "decimal, longigtude in WGS84",
        "top_depth": "",
        "bottom_depth": "",
        "primary_lith": "",
        "minor_lith": ""
      }
    }
  }
}