Make FluidConditionType and PhasesPresentType consistent between different PVT schemas (use STO_data_schema as a reference)
- CCE schema is using enum:
"FluidConditionType": {
"title": "Fluid Condition Type",
"type": "string",
"description": "The fluid condition at this test step.",
"enum": [
"Current Reservoir Conditions",
"Initial Reservoir Conditions",
"Initial Saturation Conditions",
"Stock Tank Conditions"
]
},
"PhasesPresentType": {
"type": "string",
"enum": [
"Oil",
"Solid",
"Gas",
"Oil and Gas"
]
}
},
- Diflib and MSS are using free form string:
"FluidCondition": {
"type": "string"
},
"PhasesPresent": {
"type": "string"
}
- STO is using reference data (best example):
"FluidConditions": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-SampleTestCondition:[\\w\\-\\.\\:\\%]+:[0-9]*$"
},
"PhasesPresent": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-FluidPhasesPresent:[\\w\\-\\.\\:\\%]+:[0-9]*$"
},
FluidConditions should reference a new list, SampleTestCondition:
{
"manifest": {
"kind": "osdu:wks:Manifest:1.0.0",
"ReferenceData": [
{
"id": "{{NAMESPACE}}:reference-data--SampleTestCondition:CurrentReservoir",
"kind": "{{rafsddms-schema-authority}}:wks:reference-data--SampleTestCondition.1.0.0",
"acl": {
"owners": [
"{{DATA_OWNERS_GROUP}}"
],
"viewers": [
"{{DATA_OWNERS_GROUP}}"
]
},
"legal": {
"legaltags": [
"{{LEGAL_TAG}}"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"data": {
"Name": "CurrentReservoir",
"ID": null,
"Description": "CurrentReservoir",
"Code": "CurrentReservoir",
"AttributionAuthority": "RAFSDDMS"
}
},
{
"id": "{{NAMESPACE}}:reference-data--SampleTestCondition:InitialReservoir",
"kind": "{{rafsddms-schema-authority}}:wks:reference-data--SampleTestCondition.1.0.0",
"acl": {
"owners": [
"{{DATA_OWNERS_GROUP}}"
],
"viewers": [
"{{DATA_OWNERS_GROUP}}"
]
},
"legal": {
"legaltags": [
"{{LEGAL_TAG}}"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"data": {
"Name": "InitialReservoir",
"ID": null,
"Description": "InitialReservoir",
"Code": "InitialReservoir",
"AttributionAuthority": "RAFSDDMS"
}
},
{
"id": "{{NAMESPACE}}:reference-data--SampleTestCondition:InitialSaturation",
"kind": "{{rafsddms-schema-authority}}:wks:reference-data--SampleTestCondition.1.0.0",
"acl": {
"owners": [
"{{DATA_OWNERS_GROUP}}"
],
"viewers": [
"{{DATA_OWNERS_GROUP}}"
]
},
"legal": {
"legaltags": [
"{{LEGAL_TAG}}"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"data": {
"Name": "InitialSaturation",
"ID": null,
"Description": "**InitialSaturationConditions**",
"Code": "**InitialSaturationConditions**",
"AttributionAuthority": "RAFSDDMS"
}
},
{
"id": "{{NAMESPACE}}:reference-data--SampleTestCondition:StockTank",
"kind": "{{rafsddms-schema-authority}}:wks:reference-data--SampleTestCondition.1.0.0",
"acl": {
"owners": [
"{{DATA_OWNERS_GROUP}}"
],
"viewers": [
"{{DATA_OWNERS_GROUP}}"
]
},
"legal": {
"legaltags": [
"{{LEGAL_TAG}}"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"data": {
"Name": "StockTank",
"ID": null,
"Description": "StockTank",
"Code": "StockTank",
"AttributionAuthority": "RAFSDDMS"
}
}
]
}
}
Edited by Michael Jones