M10 preview shared schemas
Closes #80 (closed)
DDSC commit 1b05145a18bde08ef16900909cb026fe0b1e8a6e
Summary of changes
The links refer to the OSDU member GitLab.
-
VirtualProperties
Based on the community search-service ADR #69 the schemas for storable records were extended to carry a JSON extension tag defining virtual properties to resolve the following two challenges:- Ambiguous Location information
A number of schemas offer more than one property with map coordinates. Thedata.VirtualProperties.DefaultLocation
list disambiguates the locations by providing a priority. This way a deterministic map location be achieved. - Default Name
There is no standard name property for all schemas. WhileName
is present in most of the OSDU schemas there are notable exceptions, e.g. Well and Wellbore withFacilityName
instead. Thedata.VirtualProperties.DefaultName
definition refers to where the default name property is to be derived from.
- Ambiguous Location information
-
VirtualProperties Support
- The script to create new proposal workbooks or proposal workbooks from existing schemas has been modified to populate a new fixed sheet 'VirtualPropertiesSpecification'.
- The script to parse schema proposals to JSON schema definitions has been updated to create the data block
under the
x-osdu-virtual-properties
tag. - An overview report about the VirtualProperties has been provided in VirtualPropertiesReport.md.
-
Indexing Hint Changes
The following schema fragments were changed such that queries into arrays of objects frequently used return more scoped responses. This causes a massive re-indexing of existing records since virtually all storable osdu kinds include the following fragments - see more details in the following Migration Guides: -
LogCurveType and LogCurveFamily augmented with explicit relationships; the associated OSDU reference value
manifests for LogCurveType and LogCurveFamily are updated with the new relationships.
-
LogCurveType:1.1.0
records now relate to other reference-data types, such as:- →
PropertyType
, via AbstractPropertyTypedata.PropertyType.PropertyTypeID
anddata.PropertyType.Name
- →
UnitQuantity
, viadata.UnitQuantityID
- →
StandardsOrganisation
viadata.AcquisitionCompanyID
- →
-
LogCurveFamily:1.1.0
- →
PropertyType
, via AbstractPropertyTypedata.PropertyType.PropertyTypeID
anddata.PropertyType.Name
- →
UnitQuantity
, viadata.UnitQuantityID
- →
-
Edited by Thomas Gehrmann [InvitedE]