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

updated schemas with populated x-osdu-indexing

parent f1f6e73f
Pipeline #37622 canceled with stages
in 47 minutes and 54 seconds
......@@ -100,9 +100,6 @@
"FacilityNameAliases": {
"description": "DEPRECATED: please use data.NameAliases. Alternative names, including historical, by which this facility is/has been known.",
"type": "array",
"x-osdu-indexing": {
"type": "flattened"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractAliasNames:1.0.0"
}
......
......@@ -95,8 +95,7 @@
"title": "Checksum",
"description": "Checksum of file bytes - a hexadecimal number with even number of bytes.",
"example": "d41d8cd98f00b204e9800998ecf8427e",
"pattern": "^([0-9a-fA-F]{2})+$",
"x-osdu-skip-indexing": true
"pattern": "^([0-9a-fA-F]{2})+$"
},
"ChecksumAlgorithm": {
"type": "string",
......
......@@ -25,20 +25,20 @@
"properties": {
"NameAliases": {
"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"
},
"description": "Alternative names, including historical, by which this master data is/has been known (it should include all the identifiers).",
"items": {
"$ref": "{{schema-authority}}:wks:AbstractAliasNames:1.0.0"
}
},
"GeoContexts": {
"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"
},
"description": "List of geographic entities which provide context to the master data. This may include multiple types or multiple values of the same type.",
"items": {
"$ref": "{{schema-authority}}:wks:AbstractGeoContext:1.0.0"
}
......
......@@ -34,9 +34,6 @@
"ProjectNames": {
"description": "DEPRECATED: please use data.NameAliases. The history of Project names, codes, and other business identifiers.",
"type": "array",
"x-osdu-indexing": {
"type": "flattened"
},
"items": {
"$ref": "{{schema-authority}}:wks:AbstractAliasNames:1.0.0"
}
......
{
"schemaInfo": {
"schemaIdentity": {
"authority": "schema-namespace",
"source": "source-context",
"entityType": "entity-type",
"schemaVersionMajor": 0,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "schema-namespace:source-context:entity-type:0.0.0"
},
"createdBy": "OSDU Data Definition Group",
"scope": "SHARED",
"status": "DEVELOPMENT"
},
"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.",
"$id": "https://schema.osdu.opengroup.org/json/abstract/AbstractSystemProperties.1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"x-osdu-schema-source": "schema-namespace:source-context:entity-type:0.0.0",
"title": "OSDU System Properties",
"description": "System properties to be injected at root level by the OsduSchemaComposer script.",
"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\\-\\.]+:[\\w\\-\\.]+:[\\w\\-\\.\\:\\%]+$",
"example": "namespace:master-data--Wellbore:MyWellbore"
},
"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]+$"
},
"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": "{{schema-authority}}: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": "{{schema-authority}}:wks:AbstractLegalTags:1.0.0"
},
"tags": {
"title": "Tag Dictionary",
"description": "A generic dictionary of string keys mapping to string value. Only strings are permitted as keys and values.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"example": {
"NameOfKey": "String value"
}
},
"createTime": {
"description": "Timestamp of the time at which initial version of this OSDU resource object was created. Set by the System. The value is a combined date-time string in ISO-8601 given in UTC.",
"title": "Resource Object Creation DateTime",
"type": "string",
"format": "date-time",
"example": "2020-12-16T11:46:20.163Z"
},
"createUser": {
"title": "Resource Object Creation User Reference",
"description": "The user reference, which created the first version of this resource object. Set by the System.",
"type": "string",
"example": "some-user@some-company-cloud.com"
},
"modifyTime": {
"description": "Timestamp of the time at which this version of the OSDU resource object was created. Set by the System. The value is a combined date-time string in ISO-8601 given in UTC.",
"title": "Resource Object Version Creation DateTime",
"type": "string",
"format": "date-time",
"example": "2020-12-16T11:52:24.477Z"
},
"modifyUser": {
"title": "Resource Object Version Creation User Reference",
"description": "The user reference, which created this version of this resource object. Set by the System.",
"type": "string",
"example": "some-user@some-company-cloud.com"
},
"ancestry": {
"description": "The links to data, which constitute the inputs.",
"title": "Ancestry",
"$ref": "{{schema-authority}}: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": "{{schema-authority}}:wks:AbstractMetaItem:1.0.0"
}
}
},
"required": [
"kind",
"acl",
"legal"
],
"x-osdu-inheriting-from-kind": []
}
}
\ No newline at end of file
......@@ -240,10 +240,10 @@
},
"SeismicAttributes": {
"type": "array",
"description": "Summary of measurements included with horizon in addition to depth attribute.",
"x-osdu-indexing": {
"type": "flattened"
},
"description": "Summary of measurements included with horizon in addition to depth attribute.",
"items": {
"type": "object",
"description": "Summary of measurements included with horizon in addition to depth attribute.",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment