{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "mww_interpolated-v2",
  "description": "DrillPlan interpolated mud weight window. AEA input type name: mww_interpolated-v2",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "pore_pressure": {
      "$ref": "#/definitions/PressureDto",
      "description": "Pore pressure curve (lower bound of mud weight window) vs depth"
    },
    "fracture_pressure": {
      "$ref": "#/definitions/PressureDto",
      "description": "Fracture pressure curve (upper bound of mud weight window) vs depth"
    }
  },
  "definitions": {
    "PressureDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "entries": {
          "type": "array",
          "description": "Absolute pressures and pressures expressed as equivalent mud weight at specified depths.",
          "items": {
            "$ref": "#/definitions/PressureItemDto"
          }
        },
        "display_setting": {
          "$ref": "#/definitions/DisplaySetting"
        }
      }
    },
    "PressureItemDto": {
      "type": "object",
      "description": "Pressure data point expressed in both pressure and equivalent mud weight",
      "properties": {
        "tvd": {
          "type": [
            "null",
            "number"
          ],
          "description": "True vertical depth (StandardDepthIndex,meter,m).",
          "format": "double"
        },
        "md": {
          "type": [
            "null",
            "number"
          ],
          "description": "Measured depth (StandardDepthIndex,meter,m).",
          "format": "double"
        },
        "pressure": {
          "type": [
            "null",
            "number"
          ],
          "description": "Pressure at specified depth (Pressure,pascal,Pa).",
          "format": "double"
        },
        "emw": {
          "type": [
            "null",
            "number"
          ],
          "description": "Pressure expressed in equivalent mud weight referenced to the project RKB (MudDensity, kilogram per cubic meter,kg/m3).",
          "format": "double"
        },
        "is_extrapolated": {
          "type": "boolean",
          "description": "True if the pressure value was generated from extrapolation or false if entered directly"
        }
      }
    },
    "DisplaySetting": {
      "type": "object",
      "description": "Display settings for pressure curve",
      "properties": {
        "color": {
          "type": "string",
          "description": "hexidecimal color designation for pressure curve."
        }
      }
    }
  }
}