Add x-osdu relationship to well known schemas in content schemas
Task (1) To all SamplesAnalysis WPC in all active content schema a following change should be applied, add the following array:
"x-osdu-relationship": [
{"GroupType": "work-product-component",
"EntityType": "SamplesAnalysis"
}
]
Task (2) For all Sample master data enrich the schema defintion with following:
"x-osdu-relationship": [
{
"GroupType": "master-data",
"EntityType": "Sample"
}
]
For example
-
cce_data_schema has a reference to
- SamplesAnalysisID object with the following nested attributes
- SampleID
- x-osdu-relationship array inside the SamplesAnalysisID definition object should have the following nested attributes
- GroupType: "work-product-component",
- EntityType: "SamplesAnalysis"
- x-osdu-relationship array inside the UnitOfMeasure should have the following nested attributes
- GroupType: "master-data",
- EntityType: "Sample"