Deprecate HPMI schema and endpoint from V2
* Migrate mercury injection analysis schema attributes to Cap Pressure schema
- Remove mercury injection analysis content schema & endpoint from v2
* Expected Schema
Schema merger was handled with #250 (closed)
```postman_json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"SamplesAnalysisID": {
"type": "string",
"pattern": "^[\w\-\.]+:work-product-component\-\-SamplesAnalysis:[\w\-\.\:\%]+:[0-9]*$"
},
"SampleID": {
"type": "string",
"pattern": "^[\w-.]+:master-data-Sample:[\w\-\.\:\%]+:[0-9]*$"
},
"TestData": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Permeability": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Type": {
"type": "string",
"pattern": "^[\w-.]:reference-data--PermeabilityMeasurementType:[\w\-\.\:\%]+:[0-9]*$"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"CapillaryPressureMethod": {
"type": "object",
"properties": {
"Value": {
"type": "string",
"pattern": "^[\w-.]:reference-data--CapillaryPressureMethod:[\w\-\.\:\%]+:[0-9]*$",
"description": "Capillary Pressure test method, e.g. Imbibition, Primary Imbibition, Drainage, Tertiary Drainage, Mercury Injection"
}
}
},
"InitialWaterSaturation": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"InitialGasSaturation": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"Temperature": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"CapillaryPressureMax": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"CapillaryPressureMin": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"CapillaryPressureSteps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"StepNumber": {
"type": "string"
},
"CapillaryPressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"PhaseSaturation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
},
"DisplacingFluid": {
"type": "string",
"description": "Fluid introduced to a sample during capillary pressure testing, e.g. Mercury",
"pattern": "^[\w-.]:reference-data--DisplacingFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"DisplacedFluid": {
"type": "string",
"description": "Fluid produced or displaced from a sample during capillary pressure testing, e.g. Brine, Hexane, or LiveCrudeOil",
"pattern": "^[\w-.]:reference-data--DisplacedFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"PhaseType": {
"type": "string",
"description": "wetting or non-wetting phase type. e.g. Wetting"
}
}
}
},
"PhaseInjectedVolume": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
},
"DisplacingFluid": {
"type": "string",
"description": "Fluid introduced to a sample during capillary pressure testing, e.g. Mercury",
"pattern": "^[\w-.]:reference-data--DisplacingFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"DisplacedFluid": {
"type": "string",
"description": "Fluid produced or displaced from a sample during capillary pressure testing, e.g. Brine, Hexane, or LiveCrudeOil",
"pattern": "^[\w-.]:reference-data--DisplacedFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"PhaseType": {
"type": "string",
"description": "wetting or non-wetting phase type. e.g. Wetting"
}
}
}
},
"Remark": {
"type": "string"
},
"CalculatedProperties": {
"type": "object",
"properties": {
"PoreThroatRadius": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"PoreThroatMedianRadius": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"JFunction": {
"type": "object",
"properties": {
"Value": {
"type": "number"
}
}
},
"GasWaterCapillaryPressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"GasOilCapillaryPressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"OilWaterCapillaryPressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"GasWaterFWL": {
"type": "object",
"description": "estimated height above free water level for gas",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"OilWaterFWL": {
"type": "object",
"description": "estimated height above free water level for oil",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
}
}
},
"PoreThroatSizeDistribution": {
"type": "array",
"items": {
"type": "object",
"properties": {
"PoreThroatSize": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"CumulativePhaseSaturation": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w-.]:reference-data--UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
},
"DisplacingFluid": {
"type": "string",
"description": "Fluid introduced to a sample during capillary pressure testing, e.g. Mercury",
"pattern": "^[\w-.]:reference-data--DisplacingFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"DisplacedFluid": {
"type": "string",
"description": "Fluid produced or displaced from a sample during capillary pressure testing, e.g. Brine, Hexane, or LiveCrudeOil",
"pattern": "^[\w-.]:reference-data--DisplacedFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"PhaseType": {
"type": "string",
"description": "wetting or non-wetting phase type. e.g. Wetting"
}
}
},
"PhaseSaturationFrequency": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"DisplacingFluid": {
"type": "string",
"description": "Fluid introduced to a sample during capillary pressure testing, e.g. Mercury",
"pattern": "^[\w-.]:reference-data--DisplacingFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"DisplacedFluid": {
"type": "string",
"description": "Fluid produced or displaced from a sample during capillary pressure testing, e.g. Brine, Hexane, or LiveCrudeOil",
"pattern": "^[\w-.]:reference-data--DisplacedFluidType:[\w\-\.\:\%]+:[0-9]*$"
},
"PhaseType": {
"type": "string",
"description": "wetting or non-wetting phase type. e.g. Wetting"
}
}
}
}
}
}
},
"InjectionSampleData": {
"type": "array",
"items": {
"type": "object",
"properties": {
"SampleID": {
"type": "string"
},
"Porosity": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"PoreVolume": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"BulkVolume": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"BrineDensityGradient": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"GasDensityGradient": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"AvgHydraulicRadius": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"FZI": {
"type": "number"
},
"SwansonParameter": {
"type": "number"
}
}
}
},
"IftCosineContactAngle": {
"type": "array",
"items": {
"type": "object",
"properties": {
"LabAirBrineAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"ReservoirAirBrineAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"LabAirOilAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"ReservoirAirOilAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"LabOilBrineAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"ReservoirOilBrineAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"LabAirMercuryAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"ReservoirAirMercuryAngle": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
}
}
}
},
"InjectionTestSteps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"StepNumber": {
"type": "string"
},
"MercurySaturationFraction": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"EquivalentSaturationFraction": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"PoreThroatRadius": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"NormalizedPoreSizeDistributionFunction": {
"type": "number"
},
"OnBottomPressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"GasBubblePressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"AnnulusBorePressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"HeightAboveFreeWater": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$"
}
}
},
"NormalizedPermeabilityDistributionFunction": {
"type": "number"
},
"jFunction": {
"type": "number"
}
}
}
}
}
}
}
}
}
}
},
"required": [
"SampleID",
"SamplesAnalysisID"
]
}