Commit c7523da6 authored by Abhishek Kumar (SLB)'s avatar Abhishek Kumar (SLB)
Browse files
parents ceea06f9 a1840b2b
This diff is collapsed.
......@@ -110,7 +110,7 @@
"type": "array",
"description": "The history of life cycle states the facility has been through.",
"x-osdu-indexing": {
"type": "flattened"
"type": "nested"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractFacilityState:1.0.0"
......@@ -120,7 +120,7 @@
"type": "array",
"description": "A list of key facility events.",
"x-osdu-indexing": {
"type": "flattened"
"type": "nested"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractFacilityEvent:1.0.0"
......
......@@ -27,7 +27,7 @@
"type": "array",
"description": "Alternative names, including historical, by which this master data is/has been known (it should include all the identifiers).",
"x-osdu-indexing": {
"type": "flattened"
"type": "nested"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractAliasNames:1.0.0"
......@@ -37,7 +37,7 @@
"type": "array",
"description": "List of geographic entities which provide context to the master data. This may include multiple types or multiple values of the same type.",
"x-osdu-indexing": {
"type": "flattened"
"type": "nested"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractGeoContext:1.0.0"
......
......@@ -15,6 +15,7 @@
},
"schema": {
"x-osdu-license": "Copyright 2021, The Open Group \\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.",
"x-osdu-review-status": "Accepted",
"$id": "https://schema.osdu.opengroup.org/json/abstract/AbstractProject.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:AbstractProject:1.0.0",
......@@ -23,64 +24,66 @@
"type": "object",
"properties": {
"ProjectID": {
"type": "string",
"title": "External Project Identifier",
"description": "Native identifier from a Master Data Management System or other trusted source external to OSDU - stored here in order to allow for multi-system connection and synchronization. If used, the \"Source\" property should identify that source system.",
"type": "string"
"description": "Native identifier from a Master Data Management System or other trusted source external to OSDU - stored here in order to allow for multi-system connection and synchronization. If used, the \"Source\" property should identify that source system."
},
"ProjectName": {
"type": "string",
"description": "The common or preferred name of a Project.",
"x-osdu-natural-key": 0,
"type": "string"
"x-osdu-natural-key": 0
},
"ProjectNames": {
"description": "DEPRECATED: please use data.NameAliases. The history of Project names, codes, and other business identifiers.",
"type": "array",
"description": "DEPRECATED: please use data.NameAliases. The history of Project names, codes, and other business identifiers.",
"items": {
"$ref": "{{schema-authority}}:wks:AbstractAliasNames:1.0.0"
}
},
"Purpose": {
"description": "Description of the objectives of a Project.",
"type": "string"
"type": "string",
"description": "Description of the objectives of a Project."
},
"ProjectBeginDate": {
"description": "The date and time when the Project was initiated.",
"type": "string",
"description": "The date and time when the Project was initiated.",
"format": "date-time",
"x-osdu-frame-of-reference": "DateTime"
},
"ProjectEndDate": {
"description": "The date and time when the Project was completed.",
"type": "string",
"description": "The date and time when the Project was completed.",
"format": "date-time",
"x-osdu-frame-of-reference": "DateTime"
},
"FundsAuthorizations": {
"description": "The history of expenditure approvals.",
"type": "array",
"description": "The history of expenditure approvals.",
"x-osdu-indexing": {
"type": "nested"
},
"items": {
"type": "object",
"title": "FundsAuthorizations",
"description": "The history of expenditure approvals.",
"properties": {
"AuthorizationID": {
"description": "Internal Company control number which identifies the allocation of funds to the Project.",
"type": "string"
"type": "string",
"description": "Internal Company control number which identifies the allocation of funds to the Project."
},
"EffectiveDateTime": {
"description": "The date and time when the funds were approved.",
"type": "string",
"description": "The date and time when the funds were approved.",
"format": "date-time",
"x-osdu-frame-of-reference": "DateTime"
},
"FundsAmount": {
"description": "The level of expenditure approved.",
"type": "number"
"type": "number",
"description": "The level of expenditure approved."
},
"CurrencyID": {
"description": "Type of currency for the authorized expenditure.",
"type": "string",
"description": "Type of currency for the authorized expenditure.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-Currency:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -93,8 +96,8 @@
}
},
"ContractIDs": {
"description": "References to applicable agreements in external contract database system of record.",
"type": "array",
"description": "References to applicable agreements in external contract database system of record.",
"items": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:master-data\\-\\-Agreement:[\\w\\-\\.\\:\\%]+:[0-9]*$",
......@@ -107,8 +110,8 @@
}
},
"Operator": {
"description": "The organisation which controlled the conduct of the project.",
"type": "string",
"description": "The organisation which controlled the conduct of the project.",
"pattern": "^[\\w\\-\\.]+:master-data\\-\\-Organisation:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -118,17 +121,19 @@
]
},
"Contractors": {
"description": "References to organisations which supplied services to the Project.",
"type": "array",
"description": "References to organisations which supplied services to the Project.",
"x-osdu-indexing": {
"type": "flattened"
"type": "nested"
},
"items": {
"type": "object",
"title": "Contractors",
"description": "References to organisations which supplied services to the Project.",
"properties": {
"ContractorOrganisationID": {
"description": "Reference to a company that provided services.",
"type": "string",
"description": "Reference to a company that provided services.",
"pattern": "^[\\w\\-\\.]+:master-data\\-\\-Organisation:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -138,12 +143,12 @@
]
},
"ContractorCrew": {
"description": "Name of the team, unit, crew, party, or other subdivision of the Contractor that provided services.",
"type": "string"
"type": "string",
"description": "Name of the team, unit, crew, party, or other subdivision of the Contractor that provided services."
},
"ContractorTypeID": {
"description": "The identifier of a reference value for the role of a contractor providing services, such as Recording, Line Clearing, Positioning, Data Processing.",
"type": "string",
"description": "The identifier of a reference value for the role of a contractor providing services, such as Recording, Line Clearing, Positioning, Data Processing.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-ContractorType:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -156,21 +161,23 @@
}
},
"Personnel": {
"description": "List of key individuals supporting the Project. This could be Abstracted for re-use, and could reference a separate Persons master data object.",
"type": "array",
"description": "List of key individuals supporting the Project. This could be Abstracted for re-use, and could reference a separate Persons master data object.",
"x-osdu-indexing": {
"type": "flattened"
},
"items": {
"type": "object",
"title": "Personnel",
"description": "List of key individuals supporting the Project. This could be Abstracted for re-use, and could reference a separate Persons master data object.",
"properties": {
"PersonName": {
"description": "Name of an individual supporting the Project.",
"type": "string"
"type": "string",
"description": "Name of an individual supporting the Project."
},
"CompanyOrganisationID": {
"description": "Reference to the company which employs Personnel.",
"type": "string",
"description": "Reference to the company which employs Personnel.",
"pattern": "^[\\w\\-\\.]+:master-data\\-\\-Organisation:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -180,8 +187,8 @@
]
},
"ProjectRoleID": {
"description": "The identifier of a reference value for the role of an individual supporting a Project, such as Project Manager, Party Chief, Client Representative, Senior Observer.",
"type": "string",
"description": "The identifier of a reference value for the role of an individual supporting a Project, such as Project Manager, Party Chief, Client Representative, Senior Observer.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-ProjectRole:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -194,48 +201,50 @@
}
},
"ProjectSpecifications": {
"description": "General parameters defining the configuration of the Project. In the case of a seismic acquisition project it is like receiver interval, source depth, source type. In the case of a processing project, it is like replacement velocity, reference datum above mean sea level.",
"type": "array",
"description": "General parameters defining the configuration of the Project. In the case of a seismic acquisition project it is like receiver interval, source depth, source type. In the case of a processing project, it is like replacement velocity, reference datum above mean sea level.",
"x-osdu-indexing": {
"type": "flattened"
},
"items": {
"type": "object",
"title": "ProjectSpecifications",
"description": "General parameters defining the configuration of the Project. In the case of a seismic acquisition project it is like receiver interval, source depth, source type. In the case of a processing project, it is like replacement velocity, reference datum above mean sea level.",
"properties": {
"EffectiveDateTime": {
"description": "The date and time at which a ProjectSpecification becomes effective.",
"type": "string",
"description": "The date and time at which a ProjectSpecification becomes effective.",
"format": "date-time",
"x-osdu-frame-of-reference": "DateTime"
},
"TerminationDateTime": {
"type": "string",
"description": "The date and time at which a ProjectSpecification is no longer in effect.",
"format": "date-time",
"type": "string",
"x-osdu-frame-of-reference": "DateTime"
},
"ProjectSpecificationQuantity": {
"description": "The value for the specified parameter type.",
"type": "number",
"description": "The value for the specified parameter type.",
"x-osdu-frame-of-reference": "UOM_via_property:UnitOfMeasureID"
},
"ProjectSpecificationDateTime": {
"description": "The actual date and time value of the parameter. ISO format permits specification of time or date only.",
"type": "string",
"description": "The actual date and time value of the parameter. ISO format permits specification of time or date only.",
"format": "date-time",
"x-osdu-frame-of-reference": "DateTime"
},
"ProjectSpecificationIndicator": {
"description": "The actual indicator value of the parameter.",
"type": "boolean"
"type": "boolean",
"description": "The actual indicator value of the parameter."
},
"ProjectSpecificationText": {
"description": "The actual text value of the parameter.",
"type": "string"
"type": "string",
"description": "The actual text value of the parameter."
},
"UnitOfMeasureID": {
"description": "The unit for the quantity parameter if overriding the default for this ParameterType, like metre (m in SI units system) for quantity Length.",
"type": "string",
"description": "The unit for the quantity parameter if overriding the default for this ParameterType, like metre (m in SI units system) for quantity Length.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -245,8 +254,8 @@
]
},
"ParameterTypeID": {
"description": "Parameter type of property or characteristic.",
"type": "string",
"description": "Parameter type of property or characteristic.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-ParameterType:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......@@ -259,29 +268,31 @@
}
},
"ProjectStates": {
"description": "The history of life cycle states that the Project has been through..",
"type": "array",
"description": "The history of life cycle states that the Project has been through..",
"x-osdu-indexing": {
"type": "flattened"
},
"items": {
"type": "object",
"title": "ProjectStates",
"description": "The history of life cycle states that the Project has been through..",
"properties": {
"EffectiveDateTime": {
"description": "The date and time at which the state becomes effective.",
"type": "string",
"description": "The date and time at which the state becomes effective.",
"format": "date-time",
"x-osdu-frame-of-reference": "DateTime"
},
"TerminationDateTime": {
"description": "The date and time at which the state is no longer in effect.",
"type": "string",
"description": "The date and time at which the state is no longer in effect.",
"format": "date-time",
"x-osdu-frame-of-reference": "DateTime"
},
"ProjectStateTypeID": {
"description": "The Project life cycle state from planning to completion.",
"type": "string",
"description": "The Project life cycle state from planning to completion.",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-ProjectStateType:[\\w\\-\\.\\:\\%]+:[0-9]*$",
"x-osdu-relationship": [
{
......
......@@ -15,6 +15,7 @@
},
"schema": {
"x-osdu-license": "Copyright 2021, The Open Group \\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.",
"x-osdu-review-status": "Accepted",
"$id": "https://schema.osdu.opengroup.org/json/abstract/AbstractReferenceType.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:AbstractReferenceType:1.0.0",
......@@ -23,50 +24,50 @@
"type": "object",
"properties": {
"Name": {
"type": "string",
"description": "The name of the entity instance.",
"x-osdu-natural-key": 1,
"type": "string"
"x-osdu-natural-key": 1
},
"NameAlias": {
"description": "Alternative names, including historical, by which this entity instance is/has been known.",
"type": "array",
"description": "Alternative names, including historical, by which this entity instance is/has been known.",
"x-osdu-indexing": {
"type": "flattened"
"type": "nested"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractAliasNames:1.0.0"
}
},
"ID": {
"type": "string",
"title": "External Identifier",
"description": "Native identifier from a Master Data Management System or other trusted source external to OSDU - stored here in order to allow for multi-system connection and synchronization. If used, the \"Source\" property should identify that source system.",
"type": "string"
"description": "Native identifier from a Master Data Management System or other trusted source external to OSDU - stored here in order to allow for multi-system connection and synchronization. If used, the \"Source\" property should identify that source system."
},
"InactiveIndicator": {
"type": "boolean",
"title": "Inactive Indicator",
"description": "By default reference values are considered as 'active'. An absent 'InactiveIndicator' property value means the reference value is in active use. When 'InactiveIndicator' is set true the reverence value is no longer in use and should no longer be offered as a choice.",
"type": "boolean"
"description": "By default reference values are considered as 'active'. An absent 'InactiveIndicator' property value means the reference value is in active use. When 'InactiveIndicator' is set true the reverence value is no longer in use and should no longer be offered as a choice."
},
"Description": {
"description": "The text which describes a NAME TYPE in detail.",
"type": "string"
"type": "string",
"description": "The text which describes a NAME TYPE in detail."
},
"Code": {
"type": "string",
"description": "The abbreviation or mnemonic for a reference type if defined. Example: WELL and WLBR.",
"x-osdu-natural-key": 0,
"type": "string"
"x-osdu-natural-key": 0
},
"AttributionAuthority": {
"description": "Name of the authority, or organisation, which governs the entity value and from which it is sourced.",
"type": "string"
"type": "string",
"description": "Name of the authority, or organisation, which governs the entity value and from which it is sourced."
},
"AttributionPublication": {
"description": "Name, URL, or other identifier of the publication, or repository, of the attribution source organisation from which the entity value is sourced.",
"type": "string"
"type": "string",
"description": "Name, URL, or other identifier of the publication, or repository, of the attribution source organisation from which the entity value is sourced."
},
"AttributionRevision": {
"description": "The distinct instance of the attribution publication, by version number, sequence number, date of publication, etc., that was used for the entity value.",
"type": "string"
"type": "string",
"description": "The distinct instance of the attribution publication, by version number, sequence number, date of publication, etc., that was used for the entity value."
}
},
"x-osdu-inheriting-from-kind": []
......
......@@ -15,6 +15,7 @@
},
"schema": {
"x-osdu-license": "Copyright 2021, The Open Group \\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.",
"x-osdu-review-status": "Accepted",
"$id": "https://schema.osdu.opengroup.org/json/abstract/AbstractWorkProductComponent.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:AbstractWorkProductComponent:1.0.0",
......@@ -32,8 +33,8 @@
},
"CreationDateTime": {
"type": "string",
"format": "date-time",
"description": "Date that a resource (work product component here) is formed outside of OSDU before loading (e.g. publication date)."
"description": "Date that a resource (work product component here) is formed outside of OSDU before loading (e.g. publication date).",
"format": "date-time"
},
"Tags": {
"type": "array",
......@@ -43,18 +44,18 @@
}
},
"SpatialPoint": {
"description": "A centroid point that reflects the locale of the content of the work product component (location of the subject matter).",
"$ref": "{{schema-authority}}:wks:AbstractSpatialLocation:1.0.0"
"$ref": "{{schema-authority}}:wks:AbstractSpatialLocation:1.0.0",
"description": "A centroid point that reflects the locale of the content of the work product component (location of the subject matter)."
},
"SpatialArea": {
"description": "A polygon boundary that reflects the locale of the content of the work product component (location of the subject matter).",
"$ref": "{{schema-authority}}:wks:AbstractSpatialLocation:1.0.0"
"$ref": "{{schema-authority}}:wks:AbstractSpatialLocation:1.0.0",
"description": "A polygon boundary that reflects the locale of the content of the work product component (location of the subject matter)."
},
"GeoContexts": {
"description": "List of geographic entities which provide context to the WPC. This may include multiple types or multiple values of the same type.",
"type": "array",
"description": "List of geographic entities which provide context to the WPC. This may include multiple types or multiple values of the same type.",
"x-osdu-indexing": {
"type": "flattened"
"type": "nested"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractGeoContext:1.0.0"
......@@ -68,8 +69,7 @@
"type": "array",
"description": "Array of business processes/workflows that the work product component has been through (ex. well planning, exploration).",
"items": {
"type": "string",
"title": "Business Activity"
"type": "string"
}
},
"AuthorIDs": {
......@@ -77,19 +77,19 @@
"title": "Author IDs",
"description": "Array of Authors' names of the work product component. Could be a person or company entity.",
"items": {
"type": "string",
"title": "Author ID"
"type": "string"
}
},
"LineageAssertions": {
"type": "array",
"description": "Defines relationships with other objects (any kind of Resource) upon which this work product component depends. The assertion is directed only from the asserting WPC to ancestor objects, not children. It should not be used to refer to files or artefacts within the WPC -- the association within the WPC is sufficient and Artefacts are actually children of the main WPC file. They should be recorded in the Data.Artefacts[] array.",
"x-osdu-indexing": {
"type": "flattened"
},
"description": "Defines relationships with other objects (any kind of Resource) upon which this work product component depends. The assertion is directed only from the asserting WPC to ancestor objects, not children. It should not be used to refer to files or artefacts within the WPC -- the association within the WPC is sufficient and Artefacts are actually children of the main WPC file. They should be recorded in the Data.Artefacts[] array.",
"items": {
"type": "object",
"title": "LineageAssertion",
"description": "Defines relationships with other objects (any kind of Resource) upon which this work product component depends. The assertion is directed only from the asserting WPC to ancestor objects, not children. It should not be used to refer to files or artefacts within the WPC -- the association within the WPC is sufficient and Artefacts are actually children of the main WPC file. They should be recorded in the Data.Artefacts[] array.",
"properties": {
"ID": {
"type": "string",
......
......@@ -144,6 +144,16 @@
],
"additionalProperties": false,
"x-osdu-review-status": "Accepted",
"x-osdu-virtual-properties": {
"data.VirtualProperties.DefaultName": {
"type": "string",
"priority": [
{
"path": "data.Name"
}
]
}
},
"x-osdu-inheriting-from-kind": [
{
"name": "Dataset",
......
......@@ -138,6 +138,16 @@
],
"additionalProperties": false,
"x-osdu-review-status": "Accepted",
"x-osdu-virtual-properties": {
"data.VirtualProperties.DefaultName": {
"type": "string",
"priority": [
{
"path": "data.Name"
}
]
}
},
"x-osdu-inheriting-from-kind": [
{
"name": "Dataset",
......
......@@ -138,6 +138,16 @@
],
"additionalProperties": false,
"x-osdu-review-status": "Accepted",
"x-osdu-virtual-properties": {
"data.VirtualProperties.DefaultName": {
"type": "string",
"priority": [
{
"path": "data.Name"
}
]
}
},
"x-osdu-inheriting-from-kind": [
{
"name": "Dataset",
......
......@@ -145,6 +145,16 @@
],
"additionalProperties": false,
"x-osdu-review-status": "Accepted",
"x-osdu-virtual-properties": {
"data.VirtualProperties.DefaultName": {
"type": "string",
"priority": [
{
"path": "data.Name"
}
]
}
},
"x-osdu-inheriting-from-kind": [
{
"name": "Dataset",
......
......@@ -152,6 +152,16 @@
"x-osdu-governance-authorities": [
"Bluware"
],
"x-osdu-virtual-properties": {
"data.VirtualProperties.DefaultName": {
"type": "string",
"priority": [
{