Skip to content

TestPit

{
  "column_headers": {
    "size": "10%"
  },
  "figure": {
    "title": "LOG OF TEST PIT {test_id}",
    "y_values_per_page": 5
  },
  "columns": [
    {
      "title": {
        "title": "DEPTH (m)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "axis"
      }
    },
    {
      "title": {
        "title": "GRAPHIC\nLOG",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "graphic",
        "data_source": "strata",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "hatch_field": "hatch"
      }
    },
    {
      "title": {
        "title": "COLOR",
        "rotation": "vertical"
      },
      "width_ratio": 0.1,
      "model": {
        "column_type": "graphic",
        "data_source": "strata",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "color_field": "color"
      }
    },
    {
      "title": {
        "title": "MATERIAL DESCRIPTION"
      },
      "width_ratio": 1.5,
      "model": {
        "column_type": "text",
        "data_source": "strata",
        "text_field": "{depth_top:.2f}m\n{description}",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {}
      }
    },
    {
      "title": {
        "title": "SAMPLER",
        "rotation": "vertical"
      },
      "width_ratio": 0.075,
      "model": {
        "column_type": "graphic",
        "data_source": "samples",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "hatch_field": "sampler_type"
      }
    },
    {
      "title": {
        "title": "SAMPLER TYPE\nNUMBER",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "samples",
        "text_field": "{sampler_type}\n{sample}",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "P4 (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "percent_passing_no4",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "P10 (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "percent_passing_no10",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "MOISTURE\nCONTENT (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "water_content",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "LIQUID\nLIMIT (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "liquid_limit",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "PLASTIC\nLIMIT (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "plastic_limit",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "PLASTICITY\nINDEX (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "plasticity_index",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "FINES\n(%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "fines_content",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    }
  ]
}