0% found this document useful (0 votes)
147 views9 pages

OSDU Schema Presentation

Uploaded by

quangtm.sd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views9 pages

OSDU Schema Presentation

Uploaded by

quangtm.sd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

OSDU Data Platform

Application Developer Training

Schema Service

Copyright © The Open Group 2021


Schema
» A schema is a data model definition

» OSDU Data Platform's Data Model is defined in rich JSON objects

» Schema ID and version:


– authority:source:entity-type:major-version.minor-version.patch-version
– E.g., opendes:wks:master-data--Well:1.0.0

» Scoped:
– INTERNAL
– SHARED
2
Copyright © The Open Group 2021
Schema Service Overview

» Enables centralized governance and management of


schemas in the OSDU Data Platform

» Provides all necessary APIs to fetch, create, update, and


mark a schema obsolete

» Requires a special permission level to manage schemas:


– service.schema-service.admin

Copyright © The Open Group 2021


Schema States
» DEVELOPMENT: mutable state
» PUBLISHED: immutable state
» OBSOLETE: no longer needed

PUBLISHED
Create

DEVELOPMENT

OBSOLETE

4
Copyright © The Open Group 2021
Schema Definition: Example
{
"$id": "https://schema.osdu.opengroup. org/json/master-data/SeismicProcessingProject.1.6.0.json",
"schema": "http: //json-schema.org/draft-07/schema#",
"title": "SeismicProcessingProject",
"description": "A seismic processing project is a type of business project...",
"type": "object",
"allof": [
{
"$ref": "../abstract/AbstractMaster.1.0.0. json"
},
{
"$ref": "../abstract/AbstractProject.1.0.0.json"
},
{
"type": "object",
"properties": {
"SeismicAcquisitionSurveys": {
"description": "List of seismic acquisition projects (surveys)...",
"type": "array",
"items": {
"type": "string",
"pattern": "*(\\w \\-\\. ]+:master-data\\-\\-SeismicAcquisitionSurvey: [\\w\\-\\.\\:\\%)+: (0-9) *$"
}
}
}
}
]
}
5
Copyright © The Open Group 2021
Schema Record: Example
{
"schemaInfo": {
"schemaIdentity": {
"authority": "{{schema-authority}}",
"source": "wks",
"entityType": "master-data--SeismicProcessingProject",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "{{schema-authority}l:wks:master-data--SeismicProcessingP roject:1.0.0"
},
"createdBy": "OSDU Data Definition Group",
"scope": "SHARED",
"status": "DEVELOPMENT"
},
"schema": {{ schema definition }}
}
}

6
Copyright © The Open Group 2021
Entity Types in Manifest
Manifest 1.0.0 AbstractEntities ACL, Legal, etc.

MasterData
AE Well, Wellbore, Field, etc.

ReferenceData
AE UnitOfMeasure, LogCurveType, CoordinateReferenceSystem, etc.

Data
WorkProduct
AE An envelope of WorkProductComponents

WorkProductComponent
WellLog, WellboreMarkerSet, SeismicTraceData, etc.
AE

Datasets
FileGeneric, FileWITSML, FileCollectionSEGY, etc.
AE

Schema Definition repository: https://gitlab.opengroup.org/osdu/subcommittees/data-def


7
Copyright © The Open Group 2021
E-R for Manifest (part)

E-R diagrams
https://gitlab.opengroup.org/osdu/subcommittees/
data-def/work-products/schema/-/tree/master/E-R
8
Copyright © The Open Group 2021
Thank you!

9
Copyright © The Open Group 2021

You might also like