Commit 6f5100fc authored by Kamlesh Todai's avatar Kamlesh Todai
Browse files

Changes to CSV Ingestion (works on Azure) and add environment vairable...

Changes to CSV Ingestion (works on Azure) and add environment vairable UseDatasetService to decide to use FILE API or DATASET API for CSV ingestion
parent 0629e51b
Pipeline #66433 passed with stages
in 3 minutes and 37 seconds
......@@ -67,6 +67,21 @@
"value": "us-west-1_cUPb8YmMf",
"enabled": true
},
{
"key": "access_token",
"value": "",
"enabled": true
},
{
"key": "id_token",
"value": "",
"enabled": true
},
{
"key": "refresh_token",
"value": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.dGICmByqQWJMTAyYLC5YfK8nerJ4p6QecqMhiLrB0YTqz74l6eNxeus8-ZButmBqVvhzExkiz2AUbWiS0Au_e8rcvdJIFdPucQCWZlCmY5sKTS-FjEQSWTzJpSv9bQUPGve1EfNlFxV3ee6-b0kC2t6b58FLPCTKj2R2FahxVWsaofG5wPxe_w1xUDF3V5g6MyaE8wBNSymhctOxqp7D8LRn4frkd-YAcareCfPBxM_j0pwGpMmwnpUn8PkqMyf4OxX-veMW74M_2i3baq91VDeWHv7vXcbd8oAgBUQQf2-X09P095_VN_YUeLtSU5LVwJ-m_jo7-6rVj-B3PKMByw.aObz7XTNmJrsYUvR.4EfYIAyquoPZLfyEQBkT8IFnWdxG-mptmRNPcXPZLJqjAK_DDlHvt8Wjv61ny4SIbnIXF5Lk2lAz8qLrVOeGTvZj4zHS-HU0k6NgNvZyCIvQNJGymxJS9Iev2Sk0v2yV6c1DE1-kevkJ60Bj0RMhrTzv-X519JPLX-bFnDloC-H2qSL_OFiJCVUXFEqtABrPPDDlhSiEVMtOLt3W8iyyicOnuF1Dj7tKy4zHxr1CXS8vukyv-bNwdAYZ-PDsnvNIrdaze3FDDXG5gImqDOf7_RqqvVP5FG1AqxVDCAE6AzORGkZUZl2M52Z-s4eIRBb62C7lX-PyTR0rljtnpkPS4-pE46YkmZcjS0ECMiNxhvFIM7rYJcT1iFHWpxJkVWrGXzXujmL2YZ_hg5vS97Gt7H2QB1Tlj8nXrsxLuo77HDWJKBPhSJ-LnkX4qLzYk49Gt2X5MyHfLw5HxOsHTY85lpri8MjggFMP0cdZjp6xNdyHI4NuGRU97M2ByJv88fPR6Z_M5lhPpc2eFROQaRtQUb2HshZsKspL27MQEQlNq4ECJaOzYPTuI9T0lmyedJcor9eA-Hl9Xra67GsbDbN2UrrWFzYXdxnfMj8THcJGZvPXl9A7Zry0AeQ6aAJSLTajLGYAITmV4lh85jvZIVgTPIATY2ovF3uQcZr_4EcLConpd9ZhLDv9pW4u637L1ZETJ3w0ikDmdXP6dcDZ2twKsaBERFVFPMRR4x9-9JNihuFse4Z65ti_V8yQhTFkT79PdRhd55f0zGQb6wWrto3TBl-58utc3gIu0OnflJ20cUOtLpAQqz1-AAOvnAAGxMxaCyV5Oa1IxE9HOxtc3PQVM3ijiBKt-xSj7iEO3WkcaFok1r72eF5skuPQ9xaanXTy7QEUBmJKZBKf3xZFr3Vi7Um8sd7NJLm3QzJSooZ6gTYs-lqBLAnr_HXegYdYJqupOPAx2EsahtGe-EqbJOKoP-rqK2wxwR3FwNQmiOr9On8cQ53Z0b2XXNSVis_po6bXpWbq17GJdBOT-jWNWn0IyCfzYP1etygj1cadGdXW4p7X4dz77xqvhvh2FLWrEPv_DU4kQOn89iaGNE1KmnG1UuYyTotHWKW8Iy76xrnxvJ9CuBqgJHdagLmoc0QTucGCac_aT3aLuEchhlWwvV0U48Ks0GmoD4lnrsQbC40j_6a2D4-sN71aRjlhmjp4ZDW2yzPnWBJCl9FjR_3s5zLH26l5n4-L0VekLAeNkgesEOAiXXcEA1GlIh3R1eapEVJQTuv7inbCAbEa_wI.a3JSD-fXviOfOTNlJwVoJQ",
"enabled": true
},
{
"key": "LEGAL_HOST",
"value": "{{HOSTNAME}}/api/legal/v1",
......@@ -168,28 +183,23 @@
"enabled": true
},
{
"key": "POLICY_HOST",
"value": "{{HOSTNAME}}/api/policy/v1",
"enabled": true
},
{
"key": "pushEndpointURL",
"value": "???",
"key": "DATASET_HOST",
"value": "{{HOSTNAME}}/api/dataset/v1",
"enabled": true
},
{
"key": "access_token",
"value": "",
"key": "UseDatasetService",
"value": "true",
"enabled": true
},
{
"key": "id_token",
"value": "",
"key": "POLICY_HOST",
"value": "{{HOSTNAME}}/api/policy/v1",
"enabled": true
},
{
"key": "refresh_token",
"value": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.dGICmByqQWJMTAyYLC5YfK8nerJ4p6QecqMhiLrB0YTqz74l6eNxeus8-ZButmBqVvhzExkiz2AUbWiS0Au_e8rcvdJIFdPucQCWZlCmY5sKTS-FjEQSWTzJpSv9bQUPGve1EfNlFxV3ee6-b0kC2t6b58FLPCTKj2R2FahxVWsaofG5wPxe_w1xUDF3V5g6MyaE8wBNSymhctOxqp7D8LRn4frkd-YAcareCfPBxM_j0pwGpMmwnpUn8PkqMyf4OxX-veMW74M_2i3baq91VDeWHv7vXcbd8oAgBUQQf2-X09P095_VN_YUeLtSU5LVwJ-m_jo7-6rVj-B3PKMByw.aObz7XTNmJrsYUvR.4EfYIAyquoPZLfyEQBkT8IFnWdxG-mptmRNPcXPZLJqjAK_DDlHvt8Wjv61ny4SIbnIXF5Lk2lAz8qLrVOeGTvZj4zHS-HU0k6NgNvZyCIvQNJGymxJS9Iev2Sk0v2yV6c1DE1-kevkJ60Bj0RMhrTzv-X519JPLX-bFnDloC-H2qSL_OFiJCVUXFEqtABrPPDDlhSiEVMtOLt3W8iyyicOnuF1Dj7tKy4zHxr1CXS8vukyv-bNwdAYZ-PDsnvNIrdaze3FDDXG5gImqDOf7_RqqvVP5FG1AqxVDCAE6AzORGkZUZl2M52Z-s4eIRBb62C7lX-PyTR0rljtnpkPS4-pE46YkmZcjS0ECMiNxhvFIM7rYJcT1iFHWpxJkVWrGXzXujmL2YZ_hg5vS97Gt7H2QB1Tlj8nXrsxLuo77HDWJKBPhSJ-LnkX4qLzYk49Gt2X5MyHfLw5HxOsHTY85lpri8MjggFMP0cdZjp6xNdyHI4NuGRU97M2ByJv88fPR6Z_M5lhPpc2eFROQaRtQUb2HshZsKspL27MQEQlNq4ECJaOzYPTuI9T0lmyedJcor9eA-Hl9Xra67GsbDbN2UrrWFzYXdxnfMj8THcJGZvPXl9A7Zry0AeQ6aAJSLTajLGYAITmV4lh85jvZIVgTPIATY2ovF3uQcZr_4EcLConpd9ZhLDv9pW4u637L1ZETJ3w0ikDmdXP6dcDZ2twKsaBERFVFPMRR4x9-9JNihuFse4Z65ti_V8yQhTFkT79PdRhd55f0zGQb6wWrto3TBl-58utc3gIu0OnflJ20cUOtLpAQqz1-AAOvnAAGxMxaCyV5Oa1IxE9HOxtc3PQVM3ijiBKt-xSj7iEO3WkcaFok1r72eF5skuPQ9xaanXTy7QEUBmJKZBKf3xZFr3Vi7Um8sd7NJLm3QzJSooZ6gTYs-lqBLAnr_HXegYdYJqupOPAx2EsahtGe-EqbJOKoP-rqK2wxwR3FwNQmiOr9On8cQ53Z0b2XXNSVis_po6bXpWbq17GJdBOT-jWNWn0IyCfzYP1etygj1cadGdXW4p7X4dz77xqvhvh2FLWrEPv_DU4kQOn89iaGNE1KmnG1UuYyTotHWKW8Iy76xrnxvJ9CuBqgJHdagLmoc0QTucGCac_aT3aLuEchhlWwvV0U48Ks0GmoD4lnrsQbC40j_6a2D4-sN71aRjlhmjp4ZDW2yzPnWBJCl9FjR_3s5zLH26l5n4-L0VekLAeNkgesEOAiXXcEA1GlIh3R1eapEVJQTuv7inbCAbEa_wI.a3JSD-fXviOfOTNlJwVoJQ",
"key": "pushEndpointURL",
"value": "???",
"enabled": true
},
{
......@@ -782,16 +792,6 @@
"value": "???",
"enabled": true
},
{
"key": "UseDatasetService",
"value": "true",
"enabled": true
},
{
"key": "DATASET_HOST",
"value": "{{HOSTNAME}}/api/dataset/v1",
"enabled": true
},
{
"key": "workflow_id",
"value": "",
......@@ -911,11 +911,6 @@
"key": "nosearchuser_refresh_token",
"value": "???",
"enabled": true
},
{
"key": "UseDatasetService",
"value": "true",
"enabled": true
}
],
"_postman_variable_scope": "environment",
......
{
"id": "6d4f1e8b-737c-4201-a7fb-f65ee1c8b4a4",
"name": "Azure R3 M5 OSDU qa Environment",
"name": "Azure R3 M8 OSDU qa Environment",
"values": [
{
"key": "TENANT_ID",
......@@ -77,11 +77,6 @@
"value": ".contoso.com",
"enabled": true
},
{
"key": "schema_version",
"value": "0.2.5",
"enabled": true
},
{
"key": "LEGAL_HOST",
"value": "{{HOSTNAME}}/api/legal/v1",
......@@ -187,6 +182,16 @@
"value": "{{HOSTNAME}}/api/os-wellbore-ddms",
"enabled": true
},
{
"key": "DATASET_HOST",
"value": "{{FILE_HOST}}",
"enabled": true
},
{
"key": "UseDatasetService",
"value": "false",
"enabled": true
},
{
"key": "POLICY_HOST",
"value": "{{HOSTNAME}}/api/policy/v1",
......@@ -197,6 +202,11 @@
"value": "https://{{HOSTNAME}}/api/register/v1/test/challenge/",
"enabled": true
},
{
"key": "schema_version",
"value": "0.2.5",
"enabled": true
},
{
"key": "record_id",
"value": 999735760303,
......@@ -917,11 +927,6 @@
"value": "???",
"enabled": true
},
{
"key": "DATASET_HOST",
"value": "{{FILE_HOST}}",
"enabled": true
},
{
"key": "schemaVerMajor",
"value": "1",
......
{
"id": "403dc405-fb57-4be3-a19f-c22e63001bc5",
"name": "OSDU R3 GCP DEV",
"name": "OSDU R3 M8 GCP DEV",
"values": [
{
"key": "access_token",
......@@ -82,6 +82,11 @@
"value": "https://dataset-{{HOSTNAME}}/api/dataset/v1",
"enabled": true
},
{
"key": "UseDatasetService",
"value": "false",
"enabled": true
},
{
"key": "SEARCH_HOST",
"value": "preship-asm.osdu-gcp.go3-nrg.projects.epam.com/api/search/v2",
......
{
"id": "a4518bdb-3397-4a12-98ed-aad4b76d9341",
"name": "IBM R3 M5 OSDU Environment",
"name": "IBM R3 M8 OSDU Environment",
"values": [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MuYXBwZG9tYWluLmNsb3VkL2F1dGgvcmVhbG1zL09TRFUiLCJzdWIiOiIwNDU4ODE4Ny05ZTFjLTRkOTUtOTk1Ny0wNTczM2IyZDZjMmEiLCJ0eXAiOiJSZWZyZXNoIiwiYXpwIjoib3NkdS1sb2dpbiIsInNlc3Npb25fc3RhdGUiOiIwZDA0ZDg5NS1kZjdiLTRkYjUtYTdiMi02MjY4ZWUwMzQwOGMiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIn0.CeGzVwOvcO4fztMGfXXxY588LQyDe-wh6ZZ7KbsM-1w",
"enabled": true
},
{
"key": "cloud_platform",
"value": "IBM",
......@@ -52,11 +67,6 @@
"value": "openid profile email",
"enabled": true
},
{
"key": "schema_version",
"value": "0.2.5",
"enabled": true
},
{
"key": "domain",
"value": ".ibm.com",
......@@ -162,6 +172,16 @@
"value": "{{HOSTNAME}}/osdu-seismic/api/v3",
"enabled": true
},
{
"key": "DATASET_HOST",
"value": "https://{{HOSTNAME}}/osdu-dataset/api/dataset/v1",
"enabled": true
},
{
"key": "UseDatasetService",
"value": "false",
"enabled": true
},
{
"key": "POLICY_HOST",
"value": "{{HOSTNAME}}/api/policy/v1",
......@@ -172,6 +192,11 @@
"value": "https://{{HOSTNAME}}/osdu-registration/api/register/v1/test/challenge/",
"enabled": true
},
{
"key": "schema_version",
"value": "0.2.5",
"enabled": true
},
{
"key": "record_id",
"value": "999605662766",
......@@ -217,21 +242,6 @@
"value": "opendes:osdu:999567457377",
"enabled": true
},
{
"key": "access_token",
"value": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrVEIxdkdSWWNBTEMyUGVjOHh3U0ZSOXAwMGpYdWRnSkVhWlNqOC1IdXRNIn0.eyJleHAiOjE2MTE5NDA0NDUsImlhdCI6MTYxMTkzODY0NSwianRpIjoiNTE0MTczZGEtMzliZS00MTY5LWExNDUtNjY5YmE3MzFhNjY5IiwiaXNzIjoiaHR0cHM6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De-wh6ZZ7KbsM-1w",
"enabled": true
},
{
"key": "LegalTagNameExists",
"value": "opendes-Wellbore-Legal-Tag-Test5184340",
......@@ -657,11 +667,6 @@
"value": "dsetodi",
"enabled": true
},
{
"key": "DATASET_HOST",
"value": "https://{{HOSTNAME}}/osdu-dataset/api/dataset/v1",
"enabled": true
},
{
"key": "schemaVerMajor",
"value": "1",
......
{
"info": {
"_postman_id": "8275cdd2-eb0a-48d3-bae5-1e9c6cbed0e3",
"_postman_id": "9314fc2d-07fb-43da-924c-e99e4ac65713",
"name": "CSVWorkflow__CI-CD_v1.0",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Configure collection Copy",
"name": "Configure collection",
"item": [
{
"name": "Refresh Token",
......@@ -98,7 +98,12 @@
}
]
},
"url": "{{Token_Fetch_URL}}"
"url": {
"raw": "{{Token_Fetch_URL}}",
"host": [
"{{Token_Fetch_URL}}"
]
}
},
"response": []
}
......@@ -169,7 +174,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"schemaInfo\": {\r\n \"schemaIdentity\": {\r\n \"authority\": \"{{data-partition-id}}\",\r\n \"source\": \"wellbore\",\r\n \"entityType\": \"{{entityType}}\",\r\n \"schemaVersionPatch\": 1,\r\n \"schemaVersionMinor\": 0,\r\n \"schemaVersionMajor\": 0\r\n },\r\n \"status\": \"DEVELOPMENT\"\r\n },\r\n \"schema\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"license\": \"Copyright 2017-2020, Schlumberger\\n\\nLicensed under the Apache License, Version 2.0 (the \\\"License\\\");\\nyou may not use this file except in compliance with the License.\\nYou may obtain a copy of the License at\\n\\nhttp://www.apache.org/licenses/LICENSE-2.0\\n\\nUnless required by applicable law or agreed to in writing, software\\ndistributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\nSee the License for the specific language governing permissions and\\nlimitations under the License.\\n\",\r\n \"description\": \"The wellbore schema. Used to capture the general information about a wellbore. This information is sometimes called a \\\"wellbore header\\\". A wellbore represents the path from surface to a unique bottomhole location. The wellbore object is uniquely identified within the context of one well object.\",\r\n \"title\": \"Wellbore\",\r\n \"type\": \"object\",\r\n \"definitions\": {\r\n \"wellboreData\": {\r\n \"description\": \"The domain specific data container for a wellbore.\",\r\n \"title\": \"Wellbore Data\",\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"UWI\": {\r\n \"description\": \"The unique wellbore identifier, aka. API number, US well number or UBHI. Codes can have 10, 12 or 14 digits depending on the availability of directional sidetrack (2 digits) and event sequence codes (2 digits).\",\r\n \"x-slb-aliasProperties\": [\r\n \"ocean:UWI\",\r\n \"witsml:SuffixAPI\",\r\n \"drillplan:uwi\"\r\n ],\r\n \"title\": \"Unique Wellbore Identifier\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"SP435844921288\",\r\n \"42-501-20130-01-02\"\r\n ],\r\n \"x-osdu-natural-key\": 1\r\n },\r\n \"WELLBORE_NAME\": {\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Wellbore Name\",\r\n \"type\": \"string\",\r\n \"example\": \"SMP G09995 001S0B1\"\r\n },\r\n \"WB_NUMBER\": {\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Wellbore Number\",\r\n \"type\": \"string\",\r\n \"example\": \"001S0B1\",\r\n \"x-osdu-natural-key\": 2\r\n },\r\n \"SPUD_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time when activities to drill the borehole begin to create a hole in the earth. For a sidetrack, this is the date kickoff operations began. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:SPUD_DATE\",\r\n \"drillplan:spud_date\"\r\n ],\r\n \"title\": \"Spud Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"MD\": {\r\n \"x-slb-measurement\": \"Measured Depth\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Measured Depth\",\r\n \"type\": \"string\",\r\n \"example\": \"12.20\"\r\n },\r\n \"TVD\": {\r\n \"x-slb-measurement\": \"True Vertical Depth\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"True Vertical Depth\",\r\n \"example\": [\r\n 20711,\r\n \"TBD\"\r\n ]\r\n },\r\n \"OPERATOR\": {\r\n \"description\": \"The operator of the wellbore.\",\r\n \"x-slb-aliasProperties\": [\r\n \"ocean:Operator\",\r\n \"witsml:Operator\"\r\n ],\r\n \"title\": \"Operator\",\r\n \"type\": \"string\",\r\n \"example\": \"Anadarko Petroleum\"\r\n },\r\n \"LONGUITUDE\": {\r\n \"x-slb-measurement\": \"Longuitude\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Longuitude\",\r\n \"example\": [\r\n -119.2,\r\n \"TBD\"\r\n ]\r\n },\r\n \"LATITUDE\": {\r\n \"x-slb-measurement\": \"Latitude\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Latitude\",\r\n \"example\": [\r\n 60.2,\r\n \"TBD\"\r\n ]\r\n },\r\n \"ELEVATION_REF\": {\r\n \"description\": \"Elevation reference used for the measurements\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Elevation reference\",\r\n \"type\": \"string\",\r\n \"example\": \"MSL\"\r\n },\r\n \"ELEVATION\": {\r\n \"x-slb-measurement\": \"Elevation\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Elevation\",\r\n \"example\": [\r\n 84,\r\n \"TBD\"\r\n ],\r\n \"type\": \"string\"\r\n },\r\n \"LEASE\": {\r\n \"description\": \"The lease name, to which the wellbore belongs.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:LEASE\"\r\n ],\r\n \"title\": \"LEASE\",\r\n \"type\": \"string\",\r\n \"example\": \"SMP G09995\"\r\n },\r\n \"FIELD\": {\r\n \"description\": \"The field name, to which the wellbore belongs.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:Field\"\r\n ],\r\n \"title\": \"Field\",\r\n \"type\": \"string\",\r\n \"example\": \"ATWATER VLLY B 8\"\r\n },\r\n \"BASIN\": {\r\n \"description\": \"The basin name, to which the wellbore belongs.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:BASIN\"\r\n ],\r\n \"title\": \"Basin\",\r\n \"type\": \"string\",\r\n \"example\": \"ATWATER\"\r\n },\r\n \"FORMATION_AT_TD\": {\r\n \"description\": \"The formation name at the wellbore total depth\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:FORMATION_AT_TD\"\r\n ],\r\n \"title\": \"Formation at TD\",\r\n \"type\": \"string\",\r\n \"example\": \"MIOCENE LOWER\"\r\n },\r\n \"COUNTRY\": {\r\n \"description\": \"The country, in which the wellbore is located. The country name follows the convention in ISO 3166-1 'English short country name', see https://en.wikipedia.org/wiki/ISO_3166-1\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:Country\"\r\n ],\r\n \"title\": \"Country\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"United States of America\"\r\n ]\r\n },\r\n \"STATE\": {\r\n \"description\": \"The state, in which the wellbore is located.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:State\"\r\n ],\r\n \"title\": \"State\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"Texas\"\r\n ]\r\n },\r\n \"COUNTY\": {\r\n \"description\": \"The county, in which the wellbore is located.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:County\"\r\n ],\r\n \"title\": \"County\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"ATWATER VALLEY\"\r\n ]\r\n },\r\n \"CLASS\": {\r\n \"description\": \"The current class of the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"class\",\r\n \"type\": \"string\",\r\n \"example\": \"NEW FIELD WILDCAT\"\r\n },\r\n \"STATUS\": {\r\n \"description\": \"The current status of the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Status\",\r\n \"type\": \"string\",\r\n \"example\": \"DRY & ABANDONED\"\r\n },\r\n \"STATUS_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time of the current status of the wellbore. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:STATUS_DATE\",\r\n \"drillplan:STATUS_DATE\"\r\n ],\r\n \"title\": \"Status Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"PERMIT_NUMBER\": {\r\n \"description\": \"Ther permit number for the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Permit Number\",\r\n \"type\": \"string\",\r\n \"example\": \"SMP-09995\"\r\n },\r\n \"PERMIT_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time when the wellbore permit was issued. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:PERMIT_DATE\",\r\n \"drillplan:PERMIT_DATE\"\r\n ],\r\n \"title\": \"Permit Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"INITIAL_COMPLETION_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time of the initial completion of the wellbore. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:INITIAL_COMPLETION_DATE\",\r\n \"drillplan:INITIAL_COMPLETION_DATE\"\r\n ],\r\n \"title\": \"Initial Completion Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"WELLBORE_SHAPE\": {\r\n \"description\": \"The shape of the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Wellbore Shape\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"DIRECTIONAL\",\r\n \"VERTICAL\"\r\n ]\r\n },\r\n \"ORIGINAL_OPERATOR\": {\r\n \"description\": \"The original operator of the wellbore.\",\r\n \"x-slb-aliasProperties\": [\r\n \"ocean:Operator\",\r\n \"witsml:Operator\"\r\n ],\r\n \"title\": \"Original Operator\",\r\n \"type\": \"string\",\r\n \"example\": \"Anadarko Petroleum\"\r\n },\r\n \"EPSG_CODE\": {\r\n \"description\": \"EPSG code of the CRS\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"EPSG Code\",\r\n \"type\": \"string\",\r\n \"example\": \"4326\"\r\n },\r\n \"CRS\": {\r\n \"description\": \"Wellbore location CRS\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"CRS\",\r\n \"type\": \"string\",\r\n \"example\": \"World Geodetic System 1984\"\r\n },\r\n \"UNIT_SYSTEM\": {\r\n \"description\": \"Unit system used for the wellbore measurements\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Unit Sustem\",\r\n \"type\": \"string\",\r\n \"example\": \"English\"\r\n }\r\n },\r\n \"$id\": \"definitions/wellboreData\"\r\n },\r\n \"linkList\": {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"name\": {\r\n \"link\": \"string\"\r\n }\r\n }\r\n },\r\n \"legal\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"title\": \"legal\",\r\n \"type\": \"object\"\r\n },\r\n \"metaItem\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"title\": \"metaItem\",\r\n \"type\": \"object\"\r\n },\r\n \"tagDictionary\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"title\": \"tagDictionary\",\r\n \"type\": \"object\"\r\n }\r\n },\r\n \"properties\": {\r\n \"ancestry\": {\r\n \"description\": \"The links to data, which constitute the inputs.\",\r\n \"title\": \"Ancestry\",\r\n \"$ref\": \"#/definitions/linkList\"\r\n },\r\n \"data\": {\r\n \"description\": \"Wellbore data container\",\r\n \"title\": \"Wellbore Data\",\r\n \"$ref\": \"#/definitions/wellboreData\"\r\n },\r\n \"kind\": {\r\n \"default\": \"slb:osdudemo:wellbore:1.0.0\",\r\n \"description\": \"OSDU demo wellbore kind specification\",\r\n \"title\": \"Wellbore Kind\",\r\n \"type\": \"string\"\r\n },\r\n \"meta\": {\r\n \"description\": \"The meta data section linking the 'unitKey', 'crsKey' to self-contained definitions (persistableReference)\",\r\n \"title\": \"Frame of Reference Meta Data\",\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/metaItem\"\r\n }\r\n },\r\n \"legal\": {\r\n \"description\": \"The geological interpretation's legal tags\",\r\n \"title\": \"Legal Tags\",\r\n \"$ref\": \"#/definitions/legal\"\r\n },\r\n \"acl\": {\r\n \"description\": \"The access control tags associated with this entity.\",\r\n \"title\": \"Access Control List\",\r\n \"$ref\": \"#/definitions/tagDictionary\"\r\n },\r\n \"id\": {\r\n \"description\": \"The unique identifier of the wellbore\",\r\n \"title\": \"Wellbore ID\",\r\n \"type\": \"string\"\r\n },\r\n \"type\": {\r\n \"description\": \"The reference entity type as declared in common:metadata:entity:*.\",\r\n \"title\": \"Entity Type\",\r\n \"type\": \"string\"\r\n },\r\n \"version\": {\r\n \"format\": \"int64\",\r\n \"description\": \"The version number of this wellbore; set by the framework.\",\r\n \"title\": \"Entity Version Number\",\r\n \"type\": \"number\",\r\n \"example\": \"1040815391631285\"\r\n }\r\n },\r\n \"id\": \"https://slb-swt.visualstudio.com/data-management/Ingestion%20Services/_git/wke-schema?path=%2Fdomains%2Fwell%2Fjson_schema%2Fslb_wke_wellbore.json&version=GBmaster\"\r\n }\r\n}"
"raw": "{\r\n \"schemaInfo\": {\r\n \"schemaIdentity\": {\r\n \"authority\": \"{{data-partition-id}}\",\r\n \"source\": \"wellbore\",\r\n \"entityType\": \"{{entityType}}\",\r\n \"schemaVersionPatch\": 1,\r\n \"schemaVersionMinor\": 0,\r\n \"schemaVersionMajor\": 0\r\n },\r\n \"status\": \"DEVELOPMENT\"\r\n },\r\n \"schema\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"license\": \"Copyright 2017-2020, Schlumberger\\n\\nLicensed under the Apache License, Version 2.0 (the \\\"License\\\");\\nyou may not use this file except in compliance with the License.\\nYou may obtain a copy of the License at\\n\\nhttp://www.apache.org/licenses/LICENSE-2.0\\n\\nUnless required by applicable law or agreed to in writing, software\\ndistributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\nSee the License for the specific language governing permissions and\\nlimitations under the License.\\n\",\r\n \"description\": \"The wellbore schema. Used to capture the general information about a wellbore. This information is sometimes called a \\\"wellbore header\\\". A wellbore represents the path from surface to a unique bottomhole location. The wellbore object is uniquely identified within the context of one well object.\",\r\n \"title\": \"Wellbore\",\r\n \"type\": \"object\",\r\n \"definitions\": {\r\n \"wellboreData\": {\r\n \"description\": \"The domain specific data container for a wellbore.\",\r\n \"title\": \"Wellbore Data\",\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"UWI\": {\r\n \"description\": \"The unique wellbore identifier, aka. API number, US well number or UBHI. Codes can have 10, 12 or 14 digits depending on the availability of directional sidetrack (2 digits) and event sequence codes (2 digits).\",\r\n \"x-slb-aliasProperties\": [\r\n \"ocean:UWI\",\r\n \"witsml:SuffixAPI\",\r\n \"drillplan:uwi\"\r\n ],\r\n \"title\": \"Unique Wellbore Identifier\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"SP435844921288\",\r\n \"42-501-20130-01-02\"\r\n ],\r\n \"x-osdu-natural-key\": 1\r\n },\r\n \"WB_NAME\": {\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Wellbore Name\",\r\n \"type\": \"string\",\r\n \"example\": \"SMP G09995 001S0B1\"\r\n },\r\n \"WB_NUMBER\": {\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Wellbore Number\",\r\n \"type\": \"string\",\r\n \"example\": \"001S0B1\",\r\n \"x-osdu-natural-key\": 2\r\n },\r\n \"SPUD_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time when activities to drill the borehole begin to create a hole in the earth. For a sidetrack, this is the date kickoff operations began. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:SPUD_DATE\",\r\n \"drillplan:spud_date\"\r\n ],\r\n \"title\": \"Spud Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"MD\": {\r\n \"x-slb-measurement\": \"Measured Depth\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Measured Depth\",\r\n \"type\": \"string\",\r\n \"example\": \"12.20\"\r\n },\r\n \"TVD\": {\r\n \"x-slb-measurement\": \"True Vertical Depth\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"True Vertical Depth\",\r\n \"example\": [\r\n 20711,\r\n \"TBD\"\r\n ]\r\n },\r\n \"OPERATOR\": {\r\n \"description\": \"The operator of the wellbore.\",\r\n \"x-slb-aliasProperties\": [\r\n \"ocean:Operator\",\r\n \"witsml:Operator\"\r\n ],\r\n \"title\": \"Operator\",\r\n \"type\": \"string\",\r\n \"example\": \"Anadarko Petroleum\"\r\n },\r\n \"LONGUITUDE\": {\r\n \"x-slb-measurement\": \"Longuitude\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Longuitude\",\r\n \"example\": [\r\n -119.2,\r\n \"TBD\"\r\n ]\r\n },\r\n \"LATITUDE\": {\r\n \"x-slb-measurement\": \"Latitude\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Latitude\",\r\n \"example\": [\r\n 60.2,\r\n \"TBD\"\r\n ]\r\n },\r\n \"ELEVATION_REF\": {\r\n \"description\": \"Elevation reference used for the measurements\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Elevation reference\",\r\n \"type\": \"string\",\r\n \"example\": \"MSL\"\r\n },\r\n \"ELEVATION\": {\r\n \"x-slb-measurement\": \"Elevation\",\r\n \"description\": \"TBD\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Elevation\",\r\n \"example\": [\r\n 84,\r\n \"TBD\"\r\n ],\r\n \"type\": \"string\"\r\n },\r\n \"LEASE\": {\r\n \"description\": \"The lease name, to which the wellbore belongs.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:LEASE\"\r\n ],\r\n \"title\": \"LEASE\",\r\n \"type\": \"string\",\r\n \"example\": \"SMP G09995\"\r\n },\r\n \"FIELD\": {\r\n \"description\": \"The field name, to which the wellbore belongs.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:Field\"\r\n ],\r\n \"title\": \"Field\",\r\n \"type\": \"string\",\r\n \"example\": \"ATWATER VLLY B 8\"\r\n },\r\n \"BASIN\": {\r\n \"description\": \"The basin name, to which the wellbore belongs.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:BASIN\"\r\n ],\r\n \"title\": \"Basin\",\r\n \"type\": \"string\",\r\n \"example\": \"ATWATER\"\r\n },\r\n \"FORMATION_AT_TD\": {\r\n \"description\": \"The formation name at the wellbore total depth\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:FORMATION_AT_TD\"\r\n ],\r\n \"title\": \"Formation at TD\",\r\n \"type\": \"string\",\r\n \"example\": \"MIOCENE LOWER\"\r\n },\r\n \"COUNTRY\": {\r\n \"description\": \"The country, in which the wellbore is located. The country name follows the convention in ISO 3166-1 'English short country name', see https://en.wikipedia.org/wiki/ISO_3166-1\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:Country\"\r\n ],\r\n \"title\": \"Country\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"United States of America\"\r\n ]\r\n },\r\n \"STATE\": {\r\n \"description\": \"The state, in which the wellbore is located.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:State\"\r\n ],\r\n \"title\": \"State\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"Texas\"\r\n ]\r\n },\r\n \"COUNTY\": {\r\n \"description\": \"The county, in which the wellbore is located.\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:County\"\r\n ],\r\n \"title\": \"County\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"ATWATER VALLEY\"\r\n ]\r\n },\r\n \"CLASS\": {\r\n \"description\": \"The current class of the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"class\",\r\n \"type\": \"string\",\r\n \"example\": \"NEW FIELD WILDCAT\"\r\n },\r\n \"STATUS\": {\r\n \"description\": \"The current status of the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Status\",\r\n \"type\": \"string\",\r\n \"example\": \"DRY & ABANDONED\"\r\n },\r\n \"STATUS_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time of the current status of the wellbore. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:STATUS_DATE\",\r\n \"drillplan:STATUS_DATE\"\r\n ],\r\n \"title\": \"Status Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"PERMIT_NUMBER\": {\r\n \"description\": \"Ther permit number for the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Permit Number\",\r\n \"type\": \"string\",\r\n \"example\": \"SMP-09995\"\r\n },\r\n \"PERMIT_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time when the wellbore permit was issued. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:PERMIT_DATE\",\r\n \"drillplan:PERMIT_DATE\"\r\n ],\r\n \"title\": \"Permit Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"INITIAL_COMPLETION_DATE\": {\r\n \"format\": \"date\",\r\n \"description\": \"The date and time of the initial completion of the wellbore. The format follows ISO 8601 YYYY-MM-DD extended format\",\r\n \"x-slb-aliasProperties\": [\r\n \"witsml:DTimKickoff\",\r\n \"ocean:INITIAL_COMPLETION_DATE\",\r\n \"drillplan:INITIAL_COMPLETION_DATE\"\r\n ],\r\n \"title\": \"Initial Completion Date\",\r\n \"type\": \"string\",\r\n \"example\": \"2013-03-22\"\r\n },\r\n \"WELLBORE_SHAPE\": {\r\n \"description\": \"The shape of the wellbore\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Wellbore Shape\",\r\n \"type\": \"string\",\r\n \"example\": [\r\n \"DIRECTIONAL\",\r\n \"VERTICAL\"\r\n ]\r\n },\r\n \"ORIGINAL_OPERATOR\": {\r\n \"description\": \"The original operator of the wellbore.\",\r\n \"x-slb-aliasProperties\": [\r\n \"ocean:Operator\",\r\n \"witsml:Operator\"\r\n ],\r\n \"title\": \"Original Operator\",\r\n \"type\": \"string\",\r\n \"example\": \"Anadarko Petroleum\"\r\n },\r\n \"EPSG_CODE\": {\r\n \"description\": \"EPSG code of the CRS\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"EPSG Code\",\r\n \"type\": \"string\",\r\n \"example\": \"4326\"\r\n },\r\n \"CRS\": {\r\n \"description\": \"Wellbore location CRS\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"CRS\",\r\n \"type\": \"string\",\r\n \"example\": \"World Geodetic System 1984\"\r\n },\r\n \"UNIT_SYSTEM\": {\r\n \"description\": \"Unit system used for the wellbore measurements\",\r\n \"x-slb-aliasProperties\": [\r\n \"TBD:TBD\"\r\n ],\r\n \"title\": \"Unit Sustem\",\r\n \"type\": \"string\",\r\n \"example\": \"English\"\r\n }\r\n },\r\n \"$id\": \"definitions/wellboreData\"\r\n },\r\n \"linkList\": {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"name\": {\r\n \"link\": \"string\"\r\n }\r\n }\r\n },\r\n \"legal\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"title\": \"legal\",\r\n \"type\": \"object\"\r\n },\r\n \"metaItem\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"title\": \"metaItem\",\r\n \"type\": \"object\"\r\n },\r\n \"tagDictionary\": {\r\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n \"title\": \"tagDictionary\",\r\n \"type\": \"object\"\r\n }\r\n },\r\n \"properties\": {\r\n \"ancestry\": {\r\n \"description\": \"The links to data, which constitute the inputs.\",\r\n \"title\": \"Ancestry\",\r\n \"$ref\": \"#/definitions/linkList\"\r\n },\r\n \"data\": {\r\n \"description\": \"Wellbore data container\",\r\n \"title\": \"Wellbore Data\",\r\n \"$ref\": \"#/definitions/wellboreData\"\r\n },\r\n \"kind\": {\r\n \"default\": \"slb:osdudemo:wellbore:1.0.0\",\r\n \"description\": \"OSDU demo wellbore kind specification\",\r\n \"title\": \"Wellbore Kind\",\r\n \"type\": \"string\"\r\n },\r\n \"meta\": {\r\n \"description\": \"The meta data section linking the 'unitKey', 'crsKey' to self-contained definitions (persistableReference)\",\r\n \"title\": \"Frame of Reference Meta Data\",\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/metaItem\"\r\n }\r\n },\r\n \"legal\": {\r\n \"description\": \"The geological interpretation's legal tags\",\r\n \"title\": \"Legal Tags\",\r\n \"$ref\": \"#/definitions/legal\"\r\n },\r\n \"acl\": {\r\n \"description\": \"The access control tags associated with this entity.\",\r\n \"title\": \"Access Control List\",\r\n \"$ref\": \"#/definitions/tagDictionary\"\r\n },\r\n \"id\": {\r\n \"description\": \"The unique identifier of the wellbore\",\r\n \"title\": \"Wellbore ID\",\r\n \"type\": \"string\"\r\n },\r\n \"type\": {\r\n \"description\": \"The reference entity type as declared in common:metadata:entity:*.\",\r\n \"title\": \"Entity Type\",\r\n \"type\": \"string\"\r\n },\r\n \"version\": {\r\n \"format\": \"int64\",\r\n \"description\": \"The version number of this wellbore; set by the framework.\",\r\n \"title\": \"Entity Version Number\",\r\n \"type\": \"number\",\r\n \"example\": \"1040815391631285\"\r\n }\r\n },\r\n \"id\": \"https://slb-swt.visualstudio.com/data-management/Ingestion%20Services/_git/wke-schema?path=%2Fdomains%2Fwell%2Fjson_schema%2Fslb_wke_wellbore.json&version=GBmaster\"\r\n }\r\n}"
},
"url": {
"raw": "https://{{SCHEMA_HOST}}/api/schema-service/v1/schema",
......@@ -206,7 +211,7 @@
"listen": "prerequest",
"script": {
"exec": [
"pm.environment.set(\"tagName\", \"Test-Legal-Tag-\" + _.random(1, 9999999));",
"pm.environment.set(\"tagName\", \"TestCSV-Legal-Tag-\" + _.random(1, 9999999));",
""
],
"type": "text/javascript"
......@@ -258,7 +263,16 @@
"mode": "raw",
"raw": "{\n \"name\": \"{{tagName}}\",\n \"description\": \"Legal Tag added for Well\",\n \"properties\": {\n \"contractId\": \"123456\",\n \"countryOfOrigin\": [\n \"US\",\n \"CA\"\n ],\n \"dataType\": \"Third Party Data\",\n \"exportClassification\": \"EAR99\",\n \"originator\": \"Schlumberger\",\n \"personalData\": \"No Personal Data\",\n \"securityClassification\": \"Private\",\n \"expirationDate\": \"2025-12-25\"\n }\n}"
},
"url": "https://{{LEGAL_HOST}}/legaltags"
"url": {
"raw": "https://{{LEGAL_HOST}}/legaltags",
"protocol": "https",
"host": [
"{{LEGAL_HOST}}"
],
"path": [
"legaltags"
]
}
},
"response": []
},
......@@ -285,8 +299,11 @@
"script": {
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"if (cp == \"Azure\") {\r",
" postman.setNextRequest(\"07 Get FileUploadSignedURL\");\r",
"if ( (cp == \"Azure\") || (cp == \"GCP\") || (cp == \"IBM\") ) {\r",
" postman.setNextRequest(\"04 Get FileUploadSignedURL\");\r",
"}\r",
"else {\r",
" postman.setNextRequest(\"05 Get Storage Instructions\");\r",
"}"
],
"type": "text/javascript"
......@@ -341,191 +358,7 @@
"response": []
},
{
"name": "04 Create Storage Schema",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Ensure the API was able to send a successful response\r",
"pm.test(\"Status code is 201\", function () {\r",
" pm.response.to.have.status(201);\r",
"});\r",
"pm.test(\"Status description - Created.\", function () {\r",
" pm.response.to.have.status(\"Created\");\r",
"});"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
"var rand = _.random(999111111111, 999999999999);\r",
"var schemaNameWellbore= \"Test\" + rand;\r",
"pm.environment.set(\"schemaNameWellbore\", schemaNameWellbore);\r",
"console.log(schemaNameWellbore);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:{{schemaNameWellbore}}-wellbore-master-test:{{wellbore_schema_version}}\",\r\n \"schema\": [\r\n {\r\n \"path\": \"UWI\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"WB_NAME\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"WB_NUMBER\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"SPUD_DATE\",\r\n \"kind\": \"datetime\"\r\n },\r\n {\r\n \"path\": \"MD\",\r\n \"kind\": \"double\"\r\n },\r\n {\r\n \"path\": \"TVD\",\r\n \"kind\": \"double\"\r\n },\r\n {\r\n \"path\": \"OPERATOR\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"LONGUITUDE\",\r\n \"kind\": \"double\"\r\n },\r\n {\r\n \"path\": \"LATITUDE\",\r\n \"kind\": \"double\"\r\n },\r\n {\r\n \"path\": \"ELEVATION\",\r\n \"kind\": \"double\"\r\n },\r\n {\r\n \"path\": \"ELEVATION_REF\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"LEASE\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"FIELD\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"BASIN\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"FORMATION_AT_TD\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"COUNTRY\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"STATE\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"COUNTY\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"CLASS\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"STATUS\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"STATUS_DATE\",\r\n \"kind\": \"datetime\"\r\n },\r\n {\r\n \"path\": \"PERMIT_NUMBER\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"PERMIT_DATE\",\r\n \"kind\": \"datetime\"\r\n },\r\n {\r\n \"path\": \"INITIAL_COMPLETION_DATE\",\r\n \"kind\": \"datetime\"\r\n },\r\n {\r\n \"path\": \"WELLBORE_SHAPE\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"ORIGINAL_OPERATOR\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"EPSG_CODE\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"CRS\",\r\n \"kind\": \"string\"\r\n },\r\n {\r\n \"path\": \"UNIT_SYSTEM\",\r\n \"kind\": \"string\"\r\n }\r\n ]\r\n}"
},
"url": "https://{{STORAGE_HOST}}/schemas"
},
"response": []
},
{
"name": "05 Storage Put API - insert record",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Ensure the API was able to send a successful response\r",
"pm.test(\"Status code is 201\", function () {\r",
" pm.response.to.have.status(201);\r",
" const responseJson = pm.response.json();\r",
" var recordIds = responseJson.recordIds[0];\r",
" pm.environment.set(\"recordIds\", recordIds);\r",
"});\r",
"pm.test(\"Status description - Created.\", function () {\r",
" pm.response.to.have.status(\"Created\");\r",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
}
],
"body": {
"mode": "raw",
"raw": "[\r\n {\r\n \"kind\": \"{{data-partition-id}}:osdu:{{schemaNameWellbore}}-wellbore-master-test:{{wellbore_schema_version}}\",\r\n \"acl\": {\r\n \"viewers\": [\r\n \"data.default.viewers@{{data-partition-id}}{{domain}}\"\r\n ],\r\n \"owners\": [\r\n \"data.default.owners@{{data-partition-id}}{{domain}}\"\r\n ]\r\n },\r\n \"legal\": {\r\n \"legaltags\": [\r\n \"{{LegalTagName}}\"\r\n ],\r\n \"otherRelevantDataCountries\": [\r\n \"BR\"\r\n ]\r\n },\r\n \"data\": {\r\n \"csv\": \"sample_wellbores.csv\",\r\n \"schema\": \"{{data-partition-id}}:welldb:wellbore:1.0.0\",\r\n \"encoding\": \"UtF-8\",\r\n \"ExtensionProperties\": {\r\n \"Classification\": \"Raw File\",\r\n \"Description\": \"An text further describing this file example.\",\r\n \"ExternalIds\": [\r\n \"string\"\r\n ],\r\n \"FileDateCreated\": {},\r\n \"FileDateModified\": {},\r\n \"FileContentsDetails\": {\r\n \"TargetKind\": \"{{data-partition-id}}:welldb:wellbore:1.0.0\",\r\n \"FileType\": \"csv\",\r\n \"unitOfMeasure\": \"Energistics_UoM\",\r\n \"FrameOfReference\": [\r\n {\r\n \"kind\": \"DateTime\",\r\n \"persistableReference\": \"{\\\"type\\\": \\\"DAT\\\", \\\"format\\\": \\\"dd-MMM-yyyy\\\"}\",\r\n \"propertyNames\": [\r\n \"PERMIT_DATE\",\r\n \"INITIAL_COMPLETION_DATE\",\r\n \"STATUS_DATE\",\r\n \"SPUD_date\",\r\n \"missing_date\"\r\n ]\r\n },\r\n {\r\n \"kind\": \"DateTime\",\r\n \"propertyNames\": [\r\n \"SPUD_DATE\",\r\n \"missing_date2\"\r\n ],\r\n \"extraProperty\": \"test\"\r\n },\r\n {\r\n \"kind\": \"Unit\",\r\n \"name\": \"ft\",\r\n \"persistableReference\": \"{\\\"scaleOffset\\\":{\\\"scale\\\":0.3048,\\\"offset\\\":0.0},\\\"symbol\\\":\\\"ft\\\",\\\"baseMeasurement\\\":{\\\"ancestry\\\":\\\"Length\\\",\\\"type\\\":\\\"UM\\\"},\\\"type\\\":\\\"USO\\\"}\",\r\n \"propertyNames\": [\r\n \"ELEVATION\"\r\n ],\r\n \"propertyValues\": [\r\n \"ft\"\r\n ]\r\n },\r\n {\r\n \"kind\": \"Unit\",\r\n \"name\": \"deg\",\r\n \"persistableReference\": \"{\\\"scaleOffset\\\":{\\\"scale\\\":0.0174532925199433,\\\"offset\\\":0.0},\\\"symbol\\\":\\\"deg\\\",\\\"baseMeasurement\\\":{\\\"ancestry\\\":\\\"Plane_Angle\\\",\\\"type\\\":\\\"UM\\\"},\\\"type\\\":\\\"USO\\\"}\",\r\n \"propertyNames\": [\r\n \"EPSG_CODE\"\r\n ],\r\n \"propertyValues\": [\r\n \"deg\"\r\n ]\r\n },\r\n {\r\n \"kind\": \"Unit\",\r\n \"name\": \"Ft\",\r\n \"persistableReference\": \"{\\\"scaleOffset\\\":{\\\"scale\\\":0.3048,\\\"offset\\\":0.0},\\\"symbol\\\":\\\"ft\\\",\\\"baseMeasurement\\\":{\\\"ancestry\\\":\\\"Length\\\",\\\"type\\\":\\\"UM\\\"},\\\"type\\\":\\\"USO\\\"}\",\r\n \"propertyNames\": [\r\n \"TVD\"\r\n ],\r\n