Commit cdb19c0a authored by Thomas Gehrmann [SLB]'s avatar Thomas Gehrmann [SLB]
Browse files

add loadable resources

parent 7dac9d1d
Pipeline #19338 passed with stages
in 25 minutes and 3 seconds
{
"schemaInfo": {
"schemaIdentity": {
"authority": "osdu",
"source": "wks",
"entityType": "AbstractAccessControlList",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "osdu:wks:AbstractAccessControlList:1.0.0"
},
"createdBy": "OSDU Data Definition Group",
"scope": "SHARED",
"status": "DEVELOPMENT"
},
"schema": {
"x-osdu-license": "Copyright 2020, 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.",
"$id": "https://schema.osdu.opengroup.org/json/abstract/AbstractAccessControlList.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:AbstractAccessControlList:1.0.0",
"title": "Access Control List",
"description": "The access control tags associated with this entity. This structure is included by the SystemProperties \"acl\", which is part of all OSDU records. Not extensible.",
"type": "object",
"properties": {
"owners": {
"title": "List of Owners",
"description": "The list of owners of this data record formatted as an email (core.common.model.storage.validation.ValidationDoc.EMAIL_REGEX).",
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9_+&*-]+(?:\\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,7}$"
}
},
"viewers": {
"title": "List of Viewers",
"description": "The list of viewers to which this data record is accessible/visible/discoverable formatted as an email (core.common.model.storage.validation.ValidationDoc.EMAIL_REGEX).",
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9_+&*-]+(?:\\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,7}$"
}
}
},
"required": [
"owners",
"viewers"
],
"additionalProperties": false
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "osdu",
"source": "wks",
"entityType": "AbstractAliasNames",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "osdu:wks:AbstractAliasNames:1.0.0"
},
"createdBy": "OSDU Data Definition Group",
"scope": "SHARED",
"status": "DEVELOPMENT"
},
"schema": {
"x-osdu-license": "Copyright 2020, 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.",
"$id": "https://schema.osdu.opengroup.org/json/abstract/AbstractAliasNames.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:AbstractAliasNames:1.0.0",
"title": "AbstractAliasNames",
"description": "A list of alternative names for an object. The preferred name is in a separate, scalar property. It may or may not be repeated in the alias list, though a best practice is to include it if the list is present, but to omit the list if there are no other names. Note that the abstract entity is an array so the $ref to it is a simple property reference.",
"type": "object",
"properties": {
"AliasName": {
"description": "Alternative Name value of defined name type for an object.",
"type": "string"
},
"AliasNameTypeID": {
"description": "A classification of alias names such as by role played or type of source, such as regulatory name, regulatory code, company code, international standard name, etc.",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/AliasNameType:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "AliasNameType"
}
]
},
"DefinitionOrganisationID": {
"description": "Organisation that provided the name (the source).",
"type": "string",
"pattern": "^[\\w\\-\\.]+:master-data\\/Organisation:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "master-data",
"EntityType": "Organisation"
}
]
},
"EffectiveDateTime": {
"description": "The date and time when an alias name becomes effective.",
"type": "string",
"format": "date-time"
},
"TerminationDateTime": {
"description": "The data and time when an alias name is no longer in effect.",
"type": "string",
"format": "date-time"
}
}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "osdu",
"source": "wks",
"entityType": "file.AbstractAnyRecordFile",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "osdu:wks:file.AbstractAnyRecordFile:1.0.0"
},
"createdBy": "OSDU Data Definition Group",
"scope": "SHARED",
"status": "DEVELOPMENT"
},
"schema": {
"x-osdu-license": "Copyright 2020, 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.",
"$id": "https://schema.osdu.opengroup.org/json/file/AbstractAnyRecordFile.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:file.AbstractAnyRecordFile:1.0.0",
"title": "AbstractAnyRecordFile",
"description": "Essential schema for file group-type records.",
"type": "object",
"properties": {
"id": {
"description": "Previously called ResourceID or SRN which identifies this OSDU resource object without version.",
"title": "Entity ID",
"type": "string",
"pattern": "^(surrogate-key:.+|[\\w\\-\\.]+:file\\/[\\w\\-\\.]+:.+)$",
"example": "namespace:file/AbstractAnyRecordFile:23270a0b-0090-5570-8259-3424eb8cd2cf"
},
"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/.",
"title": "Entity Kind",
"type": "string",
"pattern": "^[\\w\\-\\.]+:[\\w\\-\\.]+:[\\w\\-\\.]+:[0-9]+.[0-9]+.[0-9]+$",
"example": "osdu:wks:file.AbstractAnyRecordFile:1.0.0"
},
"version": {
"description": "The version number of this OSDU resource; set by the framework.",
"title": "Version Number",
"type": "integer",
"format": "int64",
"example": 1562066009929332
},
"acl": {
"description": "The access control tags associated with this entity.",
"title": "Access Control List",
"$ref": "osdu:wks:AbstractAccessControlList:1.0.0"
},
"legal": {
"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",
"$ref": "osdu:wks:AbstractLegalTags:1.0.0"
},
"resourceHomeRegionID": {
"description": "The name of the home [cloud environment] region for this OSDU resource object.",
"title": "Resource Home Region ID",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/OSDURegion:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "OSDURegion"
}
]
},
"resourceHostRegionIDs": {
"description": "The name of the host [cloud environment] region(s) for this OSDU resource object.",
"title": "Resource Host Region ID",
"type": "array",
"items": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/OSDURegion:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "OSDURegion"
}
]
}
},
"resourceObjectCreationDateTime": {
"description": "Timestamp of the time at which Version 1 of this OSDU resource object was originated.",
"title": "Resource Object Creation DateTime",
"type": "string",
"format": "date-time"
},
"resourceVersionCreationDateTime": {
"description": "Timestamp of the time when the current version of this resource entered the OSDU.",
"title": "Resource Version Creation DateTime",
"type": "string",
"format": "date-time"
},
"resourceCurationStatus": {
"description": "Describes the current Curation status.",
"title": "Resource Curation Status",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ResourceCurationStatus:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ResourceCurationStatus"
}
]
},
"resourceLifecycleStatus": {
"description": "Describes the current Resource Lifecycle status.",
"title": "Resource Lifecycle Status",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ResourceLifecycleStatus:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ResourceLifecycleStatus"
}
]
},
"resourceSecurityClassification": {
"description": "Classifies the security level of the resource.",
"title": "Resource Security Classification",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ResourceSecurityClassification:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ResourceSecurityClassification"
}
]
},
"ancestry": {
"description": "The links to data, which constitute the inputs.",
"title": "Ancestry",
"$ref": "osdu:wks:AbstractLegalParentList:1.0.0"
},
"meta": {
"description": "The Frame of Reference meta data section linking the named properties to self-contained definitions.",
"title": "Frame of Reference Meta Data",
"type": "array",
"items": {
"$ref": "osdu:wks:AbstractMetaItem:1.0.0"
}
},
"source": {
"description": "The entity that produced the record, or from which it is received; could be an organization, agency, system, internal team, or individual. For informational purposes only, the list of sources is not governed.",
"title": "Data Source",
"type": "string"
},
"existenceKind": {
"description": "Where does this data resource sit in the cradle-to-grave span of its existence?",
"title": "Existence Kind",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ExistenceKind:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ExistenceKind"
}
]
},
"data": {
"type": "object",
"description": "The data block containing the kind-specific payload. The actual schema is defined by the 'kind', resolvable via the Schema Service."
}
},
"required": [
"kind",
"acl",
"legal"
]
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "osdu",
"source": "wks",
"entityType": "master-data.AbstractAnyRecordMasterData",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "osdu:wks:master-data.AbstractAnyRecordMasterData:1.0.0"
},
"createdBy": "OSDU Data Definition Group",
"scope": "SHARED",
"status": "DEVELOPMENT"
},
"schema": {
"x-osdu-license": "Copyright 2020, 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.",
"$id": "https://schema.osdu.opengroup.org/json/master-data/AbstractAnyRecordMasterData.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:master-data.AbstractAnyRecordMasterData:1.0.0",
"title": "AbstractAnyRecordMasterData",
"description": "Essential schema for master-data group-type records.",
"type": "object",
"properties": {
"id": {
"description": "Previously called ResourceID or SRN which identifies this OSDU resource object without version.",
"title": "Entity ID",
"type": "string",
"pattern": "^[\\w\\-\\.]+:master-data\\/[\\w\\-\\.]+:.+$",
"example": "namespace:master-data/AbstractAnyRecordMasterData:ceebd853-f26c-5fd8-a405-01fb1e11ca64"
},
"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/.",
"title": "Entity Kind",
"type": "string",
"pattern": "^[\\w\\-\\.]+:[\\w\\-\\.]+:[\\w\\-\\.]+:[0-9]+.[0-9]+.[0-9]+$",
"example": "osdu:wks:master-data.AbstractAnyRecordMasterData:1.0.0"
},
"version": {
"description": "The version number of this OSDU resource; set by the framework.",
"title": "Version Number",
"type": "integer",
"format": "int64",
"example": 1562066009929332
},
"acl": {
"description": "The access control tags associated with this entity.",
"title": "Access Control List",
"$ref": "osdu:wks:AbstractAccessControlList:1.0.0"
},
"legal": {
"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",
"$ref": "osdu:wks:AbstractLegalTags:1.0.0"
},
"resourceHomeRegionID": {
"description": "The name of the home [cloud environment] region for this OSDU resource object.",
"title": "Resource Home Region ID",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/OSDURegion:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "OSDURegion"
}
]
},
"resourceHostRegionIDs": {
"description": "The name of the host [cloud environment] region(s) for this OSDU resource object.",
"title": "Resource Host Region ID",
"type": "array",
"items": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/OSDURegion:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "OSDURegion"
}
]
}
},
"resourceObjectCreationDateTime": {
"description": "Timestamp of the time at which Version 1 of this OSDU resource object was originated.",
"title": "Resource Object Creation DateTime",
"type": "string",
"format": "date-time"
},
"resourceVersionCreationDateTime": {
"description": "Timestamp of the time when the current version of this resource entered the OSDU.",
"title": "Resource Version Creation DateTime",
"type": "string",
"format": "date-time"
},
"resourceCurationStatus": {
"description": "Describes the current Curation status.",
"title": "Resource Curation Status",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ResourceCurationStatus:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ResourceCurationStatus"
}
]
},
"resourceLifecycleStatus": {
"description": "Describes the current Resource Lifecycle status.",
"title": "Resource Lifecycle Status",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ResourceLifecycleStatus:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ResourceLifecycleStatus"
}
]
},
"resourceSecurityClassification": {
"description": "Classifies the security level of the resource.",
"title": "Resource Security Classification",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ResourceSecurityClassification:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ResourceSecurityClassification"
}
]
},
"ancestry": {
"description": "The links to data, which constitute the inputs.",
"title": "Ancestry",
"$ref": "osdu:wks:AbstractLegalParentList:1.0.0"
},
"meta": {
"description": "The Frame of Reference meta data section linking the named properties to self-contained definitions.",
"title": "Frame of Reference Meta Data",
"type": "array",
"items": {
"$ref": "osdu:wks:AbstractMetaItem:1.0.0"
}
},
"source": {
"description": "The entity that produced the record, or from which it is received; could be an organization, agency, system, internal team, or individual. For informational purposes only, the list of sources is not governed.",
"title": "Data Source",
"type": "string"
},
"existenceKind": {
"description": "Where does this data resource sit in the cradle-to-grave span of its existence?",
"title": "Existence Kind",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/ExistenceKind:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",
"EntityType": "ExistenceKind"
}
]
},
"data": {
"type": "object",
"description": "The data block containing the kind-specific payload. The actual schema is defined by the 'kind', resolvable via the Schema Service."
}
},
"required": [
"id",
"kind",
"acl",
"legal"
]
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "osdu",
"source": "wks",
"entityType": "reference-data.AbstractAnyRecordReferenceData",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "osdu:wks:reference-data.AbstractAnyRecordReferenceData:1.0.0"
},
"createdBy": "OSDU Data Definition Group",
"scope": "SHARED",
"status": "DEVELOPMENT"
},
"schema": {
"x-osdu-license": "Copyright 2020, 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.",
"$id": "https://schema.osdu.opengroup.org/json/reference-data/AbstractAnyRecordReferenceData.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "osdu:wks:reference-data.AbstractAnyRecordReferenceData:1.0.0",
"title": "AbstractAnyRecordReferenceData",
"description": "Essential schema for reference-data group-type records.",
"type": "object",
"properties": {
"id": {
"description": "Previously called ResourceID or SRN which identifies this OSDU resource object without version.",
"title": "Entity ID",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/[\\w\\-\\.]+:.+$",
"example": "namespace:reference-data/AbstractAnyRecordReferenceData:71e87d3d-4963-52dc-94c4-22312765146b"
},
"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/.",
"title": "Entity Kind",
"type": "string",
"pattern": "^[\\w\\-\\.]+:[\\w\\-\\.]+:[\\w\\-\\.]+:[0-9]+.[0-9]+.[0-9]+$",
"example": "osdu:wks:reference-data.AbstractAnyRecordReferenceData:1.0.0"
},
"version": {
"description": "The version number of this OSDU resource; set by the framework.",
"title": "Version Number",
"type": "integer",
"format": "int64",
"example": 1562066009929332
},
"acl": {
"description": "The access control tags associated with this entity.",
"title": "Access Control List",
"$ref": "osdu:wks:AbstractAccessControlList:1.0.0"
},
"legal": {
"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",
"$ref": "osdu:wks:AbstractLegalTags:1.0.0"
},
"resourceHomeRegionID": {
"description": "The name of the home [cloud environment] region for this OSDU resource object.",
"title": "Resource Home Region ID",
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\/OSDURegion:.+:[0-9]*$",
"x-osdu-relationship": [
{
"GroupType": "reference-data",