Commit 98f08f7d authored by fabian serin's avatar fabian serin Committed by Cyril Monmouton
Browse files

Move to WellboreTrajectory110

parent 46943d2a
......@@ -20,7 +20,7 @@ The following software have components provided under the terms of this license:
- google-cloud-monitoring (from https://github.com/GoogleCloudPlatform/google-cloud-python)
- google-cloud-trace (from https://github.com/googleapis/googleapis)
- googleapis-common-protos (from https://github.com/googleapis/googleapis)
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- importlib-metadata (from http://importlib-metadata.readthedocs.io/)
- jsonpath-ng (from https://github.com/h2non/jsonpath-ng)
- msgpack (from http://msgpack.org/)
......@@ -38,7 +38,7 @@ The following software have components provided under the terms of this license:
- pandas (from http://pandas.pydata.org)
- pyarrow (from https://arrow.apache.org/)
- pytest-asyncio (from https://github.com/pytest-dev/pytest-asyncio)
- pytest-dependency (from )
- pytest-dependency (from https://github.com/RKrahl/pytest-dependency)
- python-dateutil (from https://dateutil.readthedocs.org)
- python-multipart (from http://github.com/andrew-d/python-multipart)
- requests (from http://python-requests.org)
......@@ -58,7 +58,7 @@ BSD-2-Clause
The following software have components provided under the terms of this license:
- colorama (from https://github.com/tartley/colorama)
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- locket (from http://github.com/mwilliamson/locket.py)
- mock (from https://github.com/testing-cabal/mock)
- numpy (from http://www.numpy.org)
......@@ -86,7 +86,7 @@ The following software have components provided under the terms of this license:
- distributed (from https://distributed.readthedocs.io/en/latest/)
- fsspec (from http://github.com/intake/filesystem_spec)
- gcsfs (from https://github.com/dask/gcsfs)
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- hiredis (from https://github.com/redis/hiredis-py)
- httpcore (from https://github.com/encode/httpcore)
- httpx (from https://github.com/encode/httpx)
......@@ -144,14 +144,14 @@ GPL-2.0-only
The following software have components provided under the terms of this license:
- coverage (from https://coverage.readthedocs.io)
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
========================================================================
GPL-2.0-or-later
========================================================================
The following software have components provided under the terms of this license:
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
========================================================================
GPL-3.0-only
......@@ -159,7 +159,7 @@ GPL-3.0-only
The following software have components provided under the terms of this license:
- coverage (from https://coverage.readthedocs.io)
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- pyparsing (from http://pyparsing.wikispaces.com/)
- rfc3986 (from https://rfc3986.readthedocs.org)
......@@ -168,7 +168,7 @@ ISC
========================================================================
The following software have components provided under the terms of this license:
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- requests-oauthlib (from https://github.com/requests/requests-oauthlib)
========================================================================
......@@ -176,7 +176,7 @@ Info-ZIP
========================================================================
The following software have components provided under the terms of this license:
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
========================================================================
JSON
......@@ -235,7 +235,7 @@ The following software have components provided under the terms of this license:
- cffi (from http://cffi.readthedocs.org)
- coverage (from https://coverage.readthedocs.io)
- fastapi (from https://github.com/tiangolo/fastapi)
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- h11 (from https://github.com/python-hyper/h11)
- iniconfig (from http://github.com/RonnyPfannschmidt/iniconfig)
- jmespath (from https://github.com/jmespath/jmespath.py)
......@@ -254,7 +254,7 @@ The following software have components provided under the terms of this license:
- pyrsistent (from http://github.com/tobgu/pyrsistent/)
- pytest (from http://pytest.org)
- pytest-cov (from https://github.com/pytest-dev/pytest-cov)
- pytest-httpx (from )
- pytest-httpx (from https://colin-b.github.io/pytest_httpx/)
- pytest-mock (from https://github.com/pytest-dev/pytest-mock/)
- python-rapidjson (from https://github.com/python-rapidjson/python-rapidjson)
- python-ulid (from https://github.com/mdomke/python-ulid)
......@@ -294,7 +294,7 @@ OpenSSL
========================================================================
The following software have components provided under the terms of this license:
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
========================================================================
Python-2.0
......@@ -329,7 +329,7 @@ Unlicense
========================================================================
The following software have components provided under the terms of this license:
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
========================================================================
WTFPL
......@@ -350,7 +350,7 @@ Zlib
========================================================================
The following software have components provided under the terms of this license:
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- numpy (from http://www.numpy.org)
========================================================================
......@@ -359,7 +359,7 @@ public-domain
The following software have components provided under the terms of this license:
- botocore (from https://github.com/boto/botocore)
- grpcio (from http://www.grpc.io)
- grpcio (from https://grpc.io)
- numpy (from http://www.numpy.org)
- pandas (from http://pandas.pydata.org)
- py (from http://pylib.readthedocs.org/)
......
......@@ -40,6 +40,37 @@ class LogServiceDateInterval(DDMSBaseModel):
EndDate: Optional[datetime] = None
class AvailableTrajectoryStationProperty(DDMSBaseModel):
"""
A set of properties describing a trajectory station property which is available for this instance of a WellboreTrajectory.
"""
TrajectoryStationPropertyTypeID: Optional[
constr(
regex=r'^[\w\-\.]+:reference-data\-\-TrajectoryStationPropertyType:[\w\-\.\:\%]+:[0-9]*$'
)
] = Field(
None,
description='The reference to a trajectory station property type - of if interpreted as channels, the curve or channel name type, identifying e.g. MD, Inclination, Azimuth. This is a relationship to a reference-data--TrajectoryStationPropertyType record id.',
example='partition-id:reference-data--TrajectoryStationPropertyType:AzimuthTN:',
title='Trajectory Station Property Type ID',
)
StationPropertyUnitID: Optional[
constr(regex=r'^[\w\-\.]+:reference-data\-\-UnitOfMeasure:[\w\-\.\:\%]+:[0-9]*$')
] = Field(
None,
description='Unit of Measure for the station properties of type TrajectoryStationPropertyType.',
example='partition-id:reference-data--UnitOfMeasure:dega:',
title='Station Property Unit ID',
)
Name: Optional[str] = Field(
None,
description='The name of the curve (e.g. column in a CSV document) as originally found. If absent The name of the TrajectoryCurveType is intended to be used.',
example='AzimuthTN',
title='Name',
)
class Owner(DDMSBaseModel):
__root__: constr(
regex=r'^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,7}$'
......@@ -1649,6 +1680,143 @@ class WellboreTrajectoryData(
)
ExtensionProperties: Optional[Dict[str, Any]] = None
class WellboreTrajectoryData110(
AbstractCommonResources100, AbstractWPCGroupType100, AbstractWorkProductComponent100
):
ServiceCompanyID: Optional[
constr(regex=r'^[\w\-\.]+:master-data\-\-Organisation:[\w\-\.\:\%]+:[0-9]*$')
] = Field(None, description='Name of the Survey Company.', title='Service Company')
WellboreID: constr(
regex=r'^[\w\-\.]+:master-data\-\-Wellbore:[\w\-\.\:\%]+:[0-9]*$'
) = Field(
...,
description='A unique name, code or number designated to the Wellbore.',
title='Wellbore',
)
TopDepthMeasuredDepth: float = Field(
...,
description='Measured depth in wellbore where the directional survey starts. This should equal the minimum station measured depth for this directional survey, regardless of whether the surveyed station represents an actual surveyed MD or not.',
title='Survey Top Measured Depth',
)
AzimuthReferenceType: Optional[
constr(
regex=r'^[\w\-\.]+:reference-data\-\-AzimuthReferenceType:[\w\-\.\:\%]+:[0-9]*$'
)
] = Field(
None,
description='The North reference of the trajectory used to define the azimuth angular measurement values. For example, True North, Grid North, Magnetic North.',
title='Azimuth Reference Type',
)
CalculationMethodType: Optional[
constr(
regex=r'^[\w\-\.]+:reference-data\-\-CalculationMethodType:[\w\-\.\:\%]+:[0-9]*$'
)
] = Field(
None,
description='Calculation Method Type used to compute the TVD, X OFFSET, Y OFFSET and DOG LEG SEVERITY values for this Directional Survey. For example, Radius of Curvature, Minimum Curvature, Balanced Tangential, etc.',
title='Calculation Method Type',
)
ProjectedCRSID: Optional[
constr(
regex=r'^[\w\-\.]+:reference-data\-\-CoordinateReferenceSystem:[\w\-\.\:\%]+:[0-9]*$'
)
] = Field(
None,
description='Coordinate Reference System defining the Projection of the station EASTING and NORTHING values. If type is "Grid North" and EASTING and NORTHING attributes are stored, clearly identifying their projection is required.',
example='namespace:reference-data--CoordinateReferenceSystem:ProjectedCRS.EPSG.32615:',
title='Projected Coordinate Reference System ID',
)
ActiveIndicator: Optional[bool] = Field(
None,
description='A flag indicating if the survey is currently active or valid within his lifecycle stage, not necessarily the definitive survey.',
title='Active Survey Indicator',
)
SurveyType: Optional[str] = Field(
None,
description='The type of this directional survey. For example a "Directional Survey" where MD, Inclination and Azimuth are all measured or a "Position Log" where Inclination and Azimuth are both null and only MD, TVD and X/Y Offsets are available) - or "Full Survey" where everything is fully filled-up, depth-inclination-azimuth.',
title='Directional Survey Type',
)
AcquisitionDate: Optional[datetime] = Field(
None,
description='The date that the survey data was acquired on the field.',
title='Effective Date',
)
GeographicCRSID: Optional[
constr(
regex=r'^[\w\-\.]+:reference-data\-\-CoordinateReferenceSystem:[\w\-\.\:\%]+:[0-9]*$'
)
] = Field(
None,
description='Coordinate Reference System defining the Geodetic Datum of the station LATITUDE and LONGITUDE values. If LATITUDE and LONGITUDE attributes are stored, clearly identifying their Datum is required.',
example='namespace:reference-data--CoordinateReferenceSystem:GeodeticCRS.EPSG.4326:',
title='Geographic Coordinate Reference System',
)
AcquisitionRemark: Optional[str] = Field(
None,
description='Remarks related to acquisition context which is not the same as Description which is a summary of the work-product-component.',
title='Survey Remark',
)
SurveyReferenceIdentifier: Optional[str] = Field(
None,
description='Unique or Distinctive Survey Reference Number, Job Number, File Number, Identifier, Label, Name, etc. as indicated on a directional survey report, file, etc. Use this attribute to allow correlation of the data in this Directional Survey back to the original source document, file, etc.',
title='Survey Reference Identifier',
)
SurveyToolTypeID: Optional[
constr(
regex=r'^[\w\-\.]+:reference-data\-\-SurveyToolType:[\w\-\.\:\%]+:[0-9]*$'
)
] = Field(
None,
description='The type of tool or equipment used to acquire this Directional Survey. For example, gyroscopic, magnetic, MWD, TOTCO, acid bottle, etc. Follow OWSG reference data and support the ISCWSA survey tool definitions.',
title='Type of the Survey Tool',
)
SurveyVersion: Optional[str] = Field(
None,
description='The version of the wellbore survey deliverable received from the service provider - as given by this provider',
title='Survey Version',
)
ExtrapolatedMeasuredDepth: Optional[float] = Field(
None,
description='The measured depth to which the survey segment was extrapolated.',
title='Extrapolated Measured Depth',
)
BaseDepthMeasuredDepth: float = Field(
...,
description='Measured depth within the wellbore of the LAST surveyed station with recorded data. If a stored survey has been extrapolated to a deeper depth than the last surveyed station then that is the extrapolated measured depth and not the survey base depth.',
title='Survey Base Measured Depth',
)
TieMeasuredDepth: Optional[float] = Field(
None,
description='Tie-point depth measured along the wellbore from the measurement reference datum to the survey station - where tie point is the place on the originating survey where the current survey intersect it.',
title='Tie Measured Depth',
)
VerticalMeasurement: AbstractFacilityVerticalMeasurement100 = Field(
...,
description='References an entry in the Vertical Measurement array for the Wellbore identified by WellboreID, which defines the vertical reference datum for all survey station measured depths.',
)
AvailableTrajectoryStationProperties: Optional[
List[AvailableTrajectoryStationProperty]
] = Field(
None,
description='The array of TrajectoryStationProperty definitions describing the available properties for this instance of WellboreTrajectory.',
title='Available Trajectory Station Properties',
)
AppliedOperations: Optional[List[str]] = Field(
None,
description='The audit trail of operations applied to the station coordinates from the original state to the current state. The list may contain operations applied prior to ingestion as well as the operations applied to produce the Wgs84Coordinates. The text elements refer to ESRI style CRS and Transformation names, which may have to be translated to EPSG standard names.',
title='Applied Operations',
)
CompanyID: Optional[
constr(regex=r'^[\w\-\.]+:master-data\-\-Organisation:[\w\-\.\:\%]+:[0-9]*$')
] = Field(
None,
description='The relationship to company who engaged the service company (ServiceCompanyID) to perform the surveying.',
title='Company ID',
)
ExtensionProperties: Optional[Dict[str, Any]] = None
class WellboreTrajectory(DDMSBaseModel):
"""
Work Product Component describing an individual instance of a wellbore trajectory data object. Also called a deviation survey, wellbore trajectory is data that is used to calculate the position and spatial uncertainty of a planned or actual wellbore in 2-dimensional and 3-dimensional space.
......@@ -1729,6 +1897,86 @@ class WellboreTrajectory(DDMSBaseModel):
data: Optional[WellboreTrajectoryData] = None
class WellboreTrajectory110(DDMSBaseModel):
"""
Work Product Component describing an individual instance of a wellbore trajectory data object. Also called a deviation survey, wellbore trajectory is data that is used to calculate the position and spatial uncertainty of a planned or actual wellbore in 2-dimensional and 3-dimensional space.
"""
id: Optional[
constr(
regex=r'^[\w\-\.]+:work-product-component\-\-WellboreTrajectory:[\w\-\.\:\%]+$'
)
] = Field(
None,
description='Previously called ResourceID or SRN which identifies this OSDU resource object without version.',
example='namespace:work-product-component--WellboreTrajectory:606f224a-ef1f-5690-9843-d26cd7e33e10',
title='Entity ID',
)
kind: constr(regex=r'^[\w\-\.]+:[\w\-\.]+:[\w\-\.]+:[0-9]+.[0-9]+.[0-9]+$') = Field(
...,
description='The schema identification for the OSDU resource object following the pattern {Namespace}:{Source}:{Type}:{VersionMajor}.{VersionMinor}.{VersionPatch}. The versioning scheme follows the semantic versioning, https://semver.org/.',
example='osdu:wks:work-product-component--WellboreTrajectory:1.1.0',
title='Entity Kind',
)
version: Optional[int] = Field(
None,
description='The version number of this OSDU resource; set by the framework.',
example=1562066009929332,
title='Version Number',
)
acl: AbstractAccessControlList100 = Field(
...,
description='The access control tags associated with this entity.',
title='Access Control List',
)
legal: AbstractLegalTags100 = Field(
...,
description="The entity's legal tags and compliance status. The actual contents associated with the legal tags is managed by the Compliance Service.",
title='Legal Tags',
)
tags: Optional[Dict[str, Tags]] = Field(
None,
description='A generic dictionary of string keys mapping to string value. Only strings are permitted as keys and values.',
example={'NameOfKey': 'String value'},
title='Tag Dictionary',
)
createTime: Optional[datetime] = Field(
None,
description='Timestamp of the time at which initial version of this OSDU resource object was created. Set by the System. The value is a combined date-time string in ISO-8601 given in UTC.',
example='2020-12-16T11:46:20.163Z',
title='Resource Object Creation DateTime',
)
createUser: Optional[str] = Field(
None,
description='The user reference, which created the first version of this resource object. Set by the System.',
example='some-user@some-company-cloud.com',
title='Resource Object Creation User Reference',
)
modifyTime: Optional[datetime] = Field(
None,
description='Timestamp of the time at which this version of the OSDU resource object was created. Set by the System. The value is a combined date-time string in ISO-8601 given in UTC.',
example='2020-12-16T11:52:24.477Z',
title='Resource Object Version Creation DateTime',
)
modifyUser: Optional[str] = Field(
None,
description='The user reference, which created this version of this resource object. Set by the System.',
example='some-user@some-company-cloud.com',
title='Resource Object Version Creation User Reference',
)
ancestry: Optional[AbstractLegalParentList100] = Field(
None,
description='The links to data, which constitute the inputs.',
title='Ancestry',
)
meta: Optional[List[Any]] = Field(
None,
description='The Frame of Reference meta data section linking the named properties to self-contained definitions.',
title='Frame of Reference Meta Data',
)
data: Optional[WellboreTrajectoryData110] = None
class Marker(DDMSBaseModel):
MarkerName: Optional[str] = Field(None, description='Name of the Marker')
MarkerMeasuredDepth: Optional[float] = Field(
......
......@@ -21,7 +21,7 @@ from odes_storage.models import (
)
from app.clients.storage_service_client import get_storage_record_service
from app.model.osdu_model import WellboreTrajectory
from app.model.osdu_model import WellboreTrajectory110 as WellboreTrajectory
from app.routers.common_parameters import REQUIRED_ROLES_READ, REQUIRED_ROLES_WRITE
from app.utils import Context
from app.utils import get_ctx
......
......@@ -608,6 +608,34 @@
"title": "Artefact",
"type": "object"
},
"AvailableTrajectoryStationProperty": {
"additionalProperties": false,
"description": "A set of properties describing a trajectory station property which is available for this instance of a WellboreTrajectory.",
"properties": {
"Name": {
"description": "The name of the curve (e.g. column in a CSV document) as originally found. If absent The name of the TrajectoryCurveType is intended to be used.",
"example": "AzimuthTN",
"title": "Name",
"type": "string"
},
"StationPropertyUnitID": {
"description": "Unit of Measure for the station properties of type TrajectoryStationPropertyType.",
"example": "partition-id:reference-data--UnitOfMeasure:dega:",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"title": "Station Property Unit ID",
"type": "string"
},
"TrajectoryStationPropertyTypeID": {
"description": "The reference to a trajectory station property type - of if interpreted as channels, the curve or channel name type, identifying e.g. MD, Inclination, Azimuth. This is a relationship to a reference-data--TrajectoryStationPropertyType record id.",
"example": "partition-id:reference-data--TrajectoryStationPropertyType:AzimuthTN:",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-TrajectoryStationPropertyType:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"title": "Trajectory Station Property Type ID",
"type": "string"
}
},
"title": "AvailableTrajectoryStationProperty",
"type": "object"
},
"Body_fastquery_wellbores_bygeopolygon_ddms_fastquery_wellbores_bygeopolygon_post": {
"properties": {
"points": {
......@@ -4969,7 +4997,7 @@
],
"title": "WellboreStatus"
},
"WellboreTrajectory": {
"WellboreTrajectory110": {
"additionalProperties": false,
"description": "Work Product Component describing an individual instance of a wellbore trajectory data object. Also called a deviation survey, wellbore trajectory is data that is used to calculate the position and spatial uncertainty of a planned or actual wellbore in 2-dimensional and 3-dimensional space.",
"properties": {
......@@ -5005,7 +5033,7 @@
"type": "string"
},
"data": {
"$ref": "#/components/schemas/WellboreTrajectoryData"
"$ref": "#/components/schemas/WellboreTrajectoryData110"
},
"id": {
"description": "Previously called ResourceID or SRN which identifies this OSDU resource object without version.",
......@@ -5016,7 +5044,7 @@
},
"kind": {
"description": "The schema identification for the OSDU resource object following the pattern {Namespace}:{Source}:{Type}:{VersionMajor}.{VersionMinor}.{VersionPatch}. The versioning scheme follows the semantic versioning, https://semver.org/.",
"example": "osdu:wks:work-product-component--WellboreTrajectory:1.0.0",
"example": "osdu:wks:work-product-component--WellboreTrajectory:1.1.0",
"pattern": "^[\\w\\-\\.]+:[\\w\\-\\.]+:[\\w\\-\\.]+:[0-9]+.[0-9]+.[0-9]+$",
"title": "Entity Kind",
"type": "string"
......@@ -5072,10 +5100,10 @@
"acl",
"legal"
],
"title": "WellboreTrajectory",
"title": "WellboreTrajectory110",
"type": "object"
},
"WellboreTrajectoryData": {
"WellboreTrajectoryData110": {
"additionalProperties": false,
"description": "Common resources to be injected at root 'data' level for every entity, which is persistable in Storage. The insertion is performed by the OsduSchemaComposer script.",
"properties": {
......@@ -5095,6 +5123,14 @@
"title": "Active Survey Indicator",
"type": "boolean"
},
"AppliedOperations": {
"description": "The audit trail of operations applied to the station coordinates from the original state to the current state. The list may contain operations applied prior to ingestion as well as the operations applied to produce the Wgs84Coordinates. The text elements refer to ESRI style CRS and Transformation names, which may have to be translated to EPSG standard names.",
"items": {
"type": "string"
},
"title": "Applied Operations",
"type": "array"
},
"Artefacts": {
"description": "An array of Artefacts - each artefact has a Role, Resource tuple. An artefact is distinct from the file, in the sense certain valuable information is generated during loading process (Artefact generation process). Examples include retrieving location data, performing an OCR which may result in the generation of artefacts which need to be preserved distinctly",
"items": {
......@@ -5111,6 +5147,14 @@
"title": "Authorids",
"type": "array"
},
"AvailableTrajectoryStationProperties": {
"description": "The array of TrajectoryStationProperty definitions describing the available properties for this instance of WellboreTrajectory.",
"items": {
"$ref": "#/components/schemas/AvailableTrajectoryStationProperty"
},
"title": "Available Trajectory Station Properties",
"type": "array"
},
"AzimuthReferenceType": {
"description": "The North reference of the trajectory used to define the azimuth angular measurement values. For example, True North, Grid North, Magnetic North.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-AzimuthReferenceType:[\\w\\-\\.\\:\\%]+:[0-9]*$",
......@@ -5136,6 +5180,12 @@
"title": "Calculation Method Type",
"type": "string"
},
"CompanyID": {
"description": "The relationship to company who engaged the service company (ServiceCompanyID) to perform the surveying.",
"pattern": "^[\\w\\-\\.]+:master-data\\-\\-Organisation:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"title": "Company ID",
"type": "string"
},
"CreationDateTime": {
"description": "Date that a resource (work product component here) is formed outside of OSDU before loading (e.g. publication date).",
"format": "date-time",
......@@ -5285,6 +5335,7 @@
},
"SurveyToolTypeID": {
"description": "The type of tool or equipment used to acquire this Directional Survey. For example, gyroscopic, magnetic, MWD, TOTCO, acid bottle, etc. Follow OWSG reference data and support the ISCWSA survey tool definitions.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-SurveyToolType:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"title": "Type of the Survey Tool",
"type": "string"
},
......@@ -5338,7 +5389,7 @@
"BaseDepthMeasuredDepth",
"VerticalMeasurement"
],
"title": "WellboreTrajectoryData",
"title": "WellboreTrajectoryData110",
"type": "object"
},
"WellboreType": {
......@@ -16730,7 +16781,7 @@
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/WellboreTrajectory"
"$ref": "#/components/schemas/WellboreTrajectory110"
},
"title": "Wellboretrajectories",
"type": "array"
......@@ -17595,7 +17646,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WellboreTrajectory"
"$ref": "#/components/schemas/WellboreTrajectory110"
}
}
},
......@@ -17730,7 +17781,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WellboreTrajectory"
"$ref": "#/components/schemas/WellboreTrajectory110"
}
}
},
......
......@@ -31,7 +31,7 @@ variables_dict = {
"osduWellboreKind": "osdu:wks:master-data--Wellbore:1.0.0",
"osduWellKind": "osdu:wks:master-data--Well:1.0.0",
"osduWellLogKind": "osdu:wks:work-product-component--WellLog:1.0.0",
"osduWellboreTrajectoryKind": "osdu:wks:work-product-component--WellboreTrajectory:1.0.0",
"osduWellboreTrajectoryKind": "osdu:wks:work-product-component--WellboreTrajectory:1.1.0",
"osduWellboreMarkerSetKind": "osdu:wks:work-product-component--WellboreMarkerSet:1.0.0",
"acl_domain": "p4d.cloud.slb-ds.com",
"acl_owner": "data.default.owners@{{data_partition}}.{{acl_domain}}",
......
[
{
"id": "namespace:work-product-component--WellboreTrajectory:123456",
"kind": "osdu:wks:work-product-component--WellboreTrajectory:1.1.0",
"version": 1562066009929332,
"acl": {
"owners": [
"someone@company.com"
],
"viewers": [
"someone@company.com"
]
},
"legal": {
"legaltags": [
"Example legaltags"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"tags": {
"NameOfKey": "String value"
},
"createTime": "2020-12-16T11:46:20.163Z",
"createUser": "some-user@some-company-cloud.com",
"modifyTime": "2020-12-16T11:52:24.477Z",
"modifyUser": "some-user@some-company-cloud.com",
"ancestry": {
"parents": []
},
"meta": [
{
"kind": "Unit",
"name": "m",
"persistableReference": "{\"abcd\":{\"a\":0.0,\"b\":1.0,\"c\":1.0,\"d\":0.0},\"symbol\":\"m\",\"baseMeasurement\":{\"ancestry\":\"L\",\"type\":\"UM\"},\"type\":\"UAD\"}",
"unitOfMeasureID": "namespace:reference-data--UnitOfMeasure:m:",
"propertyNames": [
"TopDepthMeasuredDepth",
"ExtrapolatedMeasuredDepth",
"BaseDepthMeasuredDepth",
"TieMeasuredDepth"
]
}
],
"data": {
"ResourceHomeRegionID": "namespace:reference-data--OSDURegion:AWSEastUSA:",
"ResourceHostRegionIDs": [
"namespace:reference-data--OSDURegion:AWSEastUSA:"