From f63c5931b99b7e06175b925253b4873379f84b82 Mon Sep 17 00:00:00 2001 From: Per Olav Eide Svendsen Date: Fri, 13 Oct 2023 12:44:01 +0200 Subject: [PATCH] Remove legacy schema 0.4 and examples. --- .../definitions/0.4/examples/fmu_ensemble.yml | 53 -- .../definitions/0.4/examples/fmu_polygons.yml | 101 --- .../0.4/examples/fmu_regularsurface.yml | 115 --- .../definitions/0.4/schema/fmu_ensemble.json | 303 -------- .../definitions/0.4/schema/fmu_polygons.json | 605 --------------- .../0.4/schema/fmu_regularsurface.json | 708 ------------------ 6 files changed, 1885 deletions(-) delete mode 100644 schema/definitions/0.4/examples/fmu_ensemble.yml delete mode 100644 schema/definitions/0.4/examples/fmu_polygons.yml delete mode 100644 schema/definitions/0.4/examples/fmu_regularsurface.yml delete mode 100644 schema/definitions/0.4/schema/fmu_ensemble.json delete mode 100644 schema/definitions/0.4/schema/fmu_polygons.json delete mode 100644 schema/definitions/0.4/schema/fmu_regularsurface.json diff --git a/schema/definitions/0.4/examples/fmu_ensemble.yml b/schema/definitions/0.4/examples/fmu_ensemble.yml deleted file mode 100644 index 61b424d24..000000000 --- a/schema/definitions/0.4/examples/fmu_ensemble.yml +++ /dev/null @@ -1,53 +0,0 @@ -# Example yaml generated from schema. -# Schema: ../schema/fmu_ensemble.json -# Schema title: fmu_ensemble -# Schema description: FMU ensemble object -# Last updated: 2020-08-05 15:09:29 - -# NOTE! Not all attributes are mandatory, but some are. -# If in doubt, refer to the schema or the documentation. - -class: - class_version: '0.8' - type: fmu_ensemble -coordinate_reference_system: - base_system: WGS84 - central_meridian: 3 - datum: OW_European_Datum_1950 - epsg_code: 23031 - epsg_version: 8 - hemisphere: Northern - name: ST_ED50_UTM31N_P23031_T1133 - projection: UTM - zone: 31 -country_identifier: Norway -datetime: '2020-06-26 09:28:32' -field_id: - field_guid: 268281971 - field_name: JOHAN SVERDRUP -fmu_ensemble: - case: MyCaseName - fmu_ensemble_id: e00a862d-06f8-4ff9-a19f-9eaf09cc8c87 - iteration: iter-0 - runs: - - configpath: /project/johan_sverdrup/resmod/... - datetime: '2020-06-26 09:28:32' - runpath: /scratch/johan_sverdrup/... - user: peesv - - configpath: /project/johan_sverdrup/resmod/... - datetime: '2020-06-26 09:52:02' - runpath: /scratch/johan_sverdrup/... - user: someuser -fmu_template: - description: The continously updated full field reservoir model for Johan Sverdrup. - model_name: ff - model_revision: 2020a b007.1.0 - simulator: eclipse - simulator_version: xx - static_model_software: rms - static_model_software_version: 10.1.3 - stratigraphic_column: JOHAN SVERDRUP 2015 - workflow_manager: ert - workflow_manager_version: 2.2.1 -source: fmu -user: peesv diff --git a/schema/definitions/0.4/examples/fmu_polygons.yml b/schema/definitions/0.4/examples/fmu_polygons.yml deleted file mode 100644 index 50cba4346..000000000 --- a/schema/definitions/0.4/examples/fmu_polygons.yml +++ /dev/null @@ -1,101 +0,0 @@ -# Example yaml generated from schema. -# Schema: ../schema/fmu_polygons.json -# Schema title: fmu_polygons -# Schema description: FMU output polygons data object -# Last updated: 2020-08-05 15:09:29 - -# NOTE! Not all attributes are mandatory, but some are. -# If in doubt, refer to the schema or the documentation. - -class: - class_version: '0.8' - type: fmu_polygons -coordinate_reference_system: - base_system: WGS84 - central_meridian: 3 - datum: OW_European_Datum_1950 - epsg_code: 23031 - epsg_version: 8 - hemisphere: Northern - name: ST_ED50_UTM31N_P23031_T1133 - projection: UTM - zone: 31 -country_identifier: Norway -data: - aggregation: - realizations: - - 0 - - 1 - - 2 - - 343 - - 643 - type: mean - alias: - - Eiriksson_Fm_1_Top - - E1Top - - Eiriksson1Top - - TopEirikssonFm_1 - checksum: 4ef5b9fe983532a69932c8a0573da53f - custom: - MyCustomAttribute: MyCustomValue - MyOtherCustomAttribute: MyOtherCustomValue - depth_reference: msl - description: Field outline calculated from the structural model - fmu_module: rms - fmu_submodule: structural_model - format: csv - location: - xmax: 532584.0 - xmin: 465634.0 - ymax: 7955750.0 - ymin: 7902850.0 - name: Eiriksson Fm. 1 JS Top - realization: 10 - relative_file_path: realization-20/pred/share/depth/stored--filename.csv - time: - t1: '2020-01-25' - t1_label: MyLabel - t2: '2059-01-25' - t2_label: MyLabel - unit: m - vertical_domain: depth -datetime: '2020-06-26 09:28:32' -field_id: - field_guid: 268281971 - field_name: JOHAN SVERDRUP -fmu_ensemble: - case: MyCaseName - fmu_ensemble_id: e00a862d-06f8-4ff9-a19f-9eaf09cc8c87 - iteration: iter-0 - runs: - - configpath: /project/johan_sverdrup/resmod/... - datetime: '2020-06-26 09:28:32' - runpath: /scratch/johan_sverdrup/... - user: peesv - - configpath: /project/johan_sverdrup/resmod/... - datetime: '2020-06-26 09:52:02' - runpath: /scratch/johan_sverdrup/... - user: someuser -fmu_template: - model_name: ff - model_revision: 2020a b007.1.0 - simulator: eclipse - simulator_version: xx - static_model_software: rms - static_model_software_version: 10.1.3 - stratigraphic_column: JOHAN SVERDRUP 2015 - workflow_manager: ert - workflow_manager_version: 2.2.1 -rep_include: true -sensitivity: internal -source: fmu -user: peesv -visual_settings: - display_name: Field Outline - lines: - color: black - visible: true - points: - color: '#000000' - visible: true - subtitle: MySubTitle diff --git a/schema/definitions/0.4/examples/fmu_regularsurface.yml b/schema/definitions/0.4/examples/fmu_regularsurface.yml deleted file mode 100644 index 53a2a48a8..000000000 --- a/schema/definitions/0.4/examples/fmu_regularsurface.yml +++ /dev/null @@ -1,115 +0,0 @@ -# Example yaml generated from schema. -# Schema: ../schema/fmu_regularsurface.json -# Schema title: fmu_regularsurface -# Schema description: FMU output surface data object -# Last updated: 2020-08-05 15:09:29 - -# NOTE! Not all attributes are mandatory, but some are. -# If in doubt, refer to the schema or the documentation. - -class: - class_version: '0.8' - type: fmu_regularsurface -coordinate_reference_system: - base_system: WGS84 - central_meridian: 3 - datum: OW_European_Datum_1950 - epsg_code: 23031 - epsg_version: 8 - hemisphere: Northern - name: ST_ED50_UTM31N_P23031_T1133 - projection: UTM - zone: 31 -country_identifier: Norway -data: - aggregation: - realizations: - - 0 - - 1 - - 2 - - 343 - - 643 - type: mean - alias: - - Eiriksson_Fm_1_Top - - E1Top - - Eiriksson1Top - - TopEirikssonFm_1 - checksum: 4ef5b9fe983532a69932c8a0573da53f - content: depth - custom: - MyCustomAttribute: MyCustomValue - MyOtherCustomAttribute: MyOtherCustomValue - depth_reference: msl - description: Depth converted surfaces used as input to structural model - fmu_element_id: e00a862d-06f8-4ff9-a19f-9eaf09cc8c87 - fmu_module: rms - fmu_submodule: structural_model - format: irap_binary - irap_binary_header: - nx: 1340 - ny: 1059 - rot: 0.0 - xinc: 50.0 - xmax: 532584.0 - xori: 465634.0 - yinc: 50.0 - ymax: 7955750.0 - yori: 7902850.0 - location: - xmax: 532584.0 - xmin: 465634.0 - ymax: 7955750.0 - ymin: 7902850.0 - name: Eiriksson Fm. 1 JS Top - realization: 10 - relative_file_path: realization-20/pred/share/depth/stored--filename.gri - stratigraphic: true - time: - t1: '2020-01-25' - t1_label: MyLabel - t2: '2059-01-25' - t2_label: MyLabel - unit: m - vertical_domain: depth -datetime: '2020-06-26 09:28:32' -field_id: - field_guid: 268281971 - field_name: JOHAN SVERDRUP -fmu_ensemble: - case: MyCaseName - fmu_ensemble_id: e00a862d-06f8-4ff9-a19f-9eaf09cc8c87 - iteration: iter-0 - runs: - - configpath: /project/johan_sverdrup/resmod/... - datetime: '2020-06-26 09:28:32' - runpath: /scratch/johan_sverdrup/... - user: peesv - - configpath: /project/johan_sverdrup/resmod/... - datetime: '2020-06-26 09:52:02' - runpath: /scratch/johan_sverdrup/... - user: someuser -fmu_template: - model_name: ff - model_revision: 2020a b007.1.0 - simulator: eclipse - simulator_version: xx - static_model_software: rms - static_model_software_version: 10.1.3 - stratigraphic_column: JOHAN SVERDRUP 2015 - workflow_manager: ert - workflow_manager_version: 2.2.1 -rep_include: true -sensitivity: internal -source: fmu -user: peesv -visual_settings: - colors: - colormap: gist_earth_r - contour_lines: true - cross_section: black - display_max: 2000.0 - display_min: 1800.0 - cross_section: interval - display_name: Eiriksson Fm. 1 Top - subtitle: MySubTitle diff --git a/schema/definitions/0.4/schema/fmu_ensemble.json b/schema/definitions/0.4/schema/fmu_ensemble.json deleted file mode 100644 index bb6affb79..000000000 --- a/schema/definitions/0.4/schema/fmu_ensemble.json +++ /dev/null @@ -1,303 +0,0 @@ -{ - "title": "fmu_ensemble", - "description": "FMU ensemble object", - "required": [ - "source", - "user", - "datetime", - "field_id", - "fmu_ensemble", - "fmu_template", - "coordinate_reference_system" - ], - "$schema": "http://json-schema.org/schema#", - "type": "object", - "properties": { - "class": { - "description": "Object type information", - "type": "object", - "properties": { - "type": { - "description": "The data type this document describes", - "type": "string", - "examples": [ - "fmu_ensemble" - ] - }, - "class_version": { - "description": "The version of the metadata definitions used.", - "type": "string", - "examples": [ - "0.8" - ] - } - } - }, - "source": { - "description": "Source system for this data object.", - "type": "string", - "examples": [ - "fmu" - ] - }, - "user": { - "description": "User name for user who created this data object.", - "type": "string", - "examples": [ - "peesv" - ] - }, - "datetime": { - "description": "Datetime for the generation of the metadata for this object.", - "type": "string", - "examples": [ - "2020-06-26 09:28:32" - ] - }, - "field_id": { - "description": "Block describing the field/asset/unit that owns this data object.", - "type": "object", - "properties": { - "field_name": { - "description": "The field name, written as in SMDA", - "type": "string", - "examples": [ - "JOHAN SVERDRUP" - ] - }, - "field_guid": { - "description": "The field guid as in SMDA", - "type": "integer", - "examples": [ - 268281971 - ] - } - } - }, - "country_identifier": { - "description": "The country identifier, as in SMDA", - "type": "string", - "examples": [ - "Norway" - ] - }, - "fmu_ensemble": { - "description": "Block containing metadata for the FMU ensemble in which these polygons were created.", - "type": "object", - "properties": { - "fmu_ensemble_id": { - "description": "The unique ID of this FMU ensemble.", - "type": "string", - "examples": [ - "e00a862d-06f8-4ff9-a19f-9eaf09cc8c87" - ] - }, - "case": { - "description": "The name of this FMU case", - "type": "string", - "examples": [ - "MyCaseName" - ] - }, - "iteration": { - "description": "The name of this iteration", - "type": "string", - "examples": [ - "iter-0" - ] - }, - "runs": { - "description": "List of runs made for this ensemble", - "type": "array", - "uniqueItems": true, - "items": { - "type": "object", - "properties": { - "user": { - "description": "The user who conducted this run", - "type": "string", - "examples": [ - "peesv" - ] - }, - "datetime": { - "description": "Datetime for the initializing of this run on YYYY-MM-DD HH:MM:SS format", - "type": "string", - "examples": [ - "2019-01-25 18:38:00" - ] - }, - "configpath": { - "description": "Absolute path to the ERT config file for this run", - "type": "string", - "examples": [ - "/project/johan_sverdrup/resmod/ff/..." - ] - } - } - }, - "examples": [ - { - "user": "peesv", - "datetime": "2020-06-26 09:28:32", - "configpath": "/project/johan_sverdrup/resmod/...", - "runpath": "/scratch/johan_sverdrup/..." - }, - { - "user": "someuser", - "datetime": "2020-06-26 09:52:02", - "configpath": "/project/johan_sverdrup/resmod/...", - "runpath": "/scratch/johan_sverdrup/..." - } - ] - } - } - }, - "fmu_template": { - "description": "Block describing the FMU template used to produce this data object", - "type": "object", - "properties": { - "description": { - "$comment": "This attribute is intended for human reading. No logic should be built on the contents of this attribute.", - "description": "A free-text description of this model setup.", - "type": "string", - "examples": [ - "The continously updated full field reservoir model for Johan Sverdrup." - ] - }, - "workflow_manager": { - "description": "The workflow manager used", - "type": "string", - "examples": [ - "ert" - ] - }, - "workflow_manager_version": { - "description": "The version of the workflow manager used", - "type": "string", - "examples": [ - "2.2.1" - ] - }, - "stratigraphic_column": { - "description": "The stratigraphic column used in this template, matching valid column in SMDA", - "type": "string", - "examples": [ - "JOHAN SVERDRUP 2015" - ] - }, - "model_name": { - "description": "The name of the model setup for which this template belongs", - "type": "string", - "examples": [ - "ff" - ] - }, - "model_revision": { - "description": "The model revision used in this template", - "type": "string", - "examples": [ - "2020a b007.1.0" - ] - }, - "static_model_software": { - "description": "The static modeling software used in this template", - "type": "string", - "examples": [ - "rms" - ] - }, - "static_model_software_version": { - "description": "The version of the static modeling software used in this template", - "type": "string", - "examples": [ - "10.1.3" - ] - }, - "simulator": { - "description": "The simulator used for this ensemble", - "type": "string", - "examples": [ - "eclipse" - ] - }, - "simulator_version": { - "description": "The version of the simulator used", - "type": "string", - "examples": [ - "xx" - ] - } - } - }, - "coordinate_reference_system": { - "description": "Block describing the coordinate reference system for which this data object belongs to.", - "type": "object", - "properties": { - "base_system": { - "description": "The base system", - "type": "string", - "examples": [ - "WGS84" - ] - }, - "central_meridian": { - "description": "The central meridian", - "type": "integer", - "examples": [ - 3 - ] - }, - "datum": { - "description": "The datum", - "type": "string", - "examples": [ - "OW_European_Datum_1950" - ] - }, - "hemisphere": { - "description": "The hemisphere", - "type": "string", - "examples": [ - "Northern" - ] - }, - "name": { - "description": "The name of the coordinate system, matching SMDA", - "type": "string", - "examples": [ - "ST_ED50_UTM31N_P23031_T1133" - ] - }, - "projection": { - "description": "The projection", - "type": "string", - "examples": [ - "UTM" - ] - }, - "zone": { - "description": "The zone", - "type": "integer", - "examples": [ - 31 - ] - }, - "epsg_version": { - "description": "The EPSG version for this coordinate system", - "type": "integer", - "examples": [ - 8 - ] - }, - "epsg_code": { - "description": "The EPSG code for this coordinate system", - "type": "integer", - "examples": [ - 23031 - ] - } - } - } - } -} \ No newline at end of file diff --git a/schema/definitions/0.4/schema/fmu_polygons.json b/schema/definitions/0.4/schema/fmu_polygons.json deleted file mode 100644 index da860ecdd..000000000 --- a/schema/definitions/0.4/schema/fmu_polygons.json +++ /dev/null @@ -1,605 +0,0 @@ -{ - "title": "fmu_polygons", - "description": "FMU output polygons data object", - "required": [ - "data", - "sensitivity", - "rep_include", - "visual_settings", - "source", - "user", - "datetime", - "field_id", - "fmu_ensemble", - "fmu_template", - "coordinate_reference_system" - ], - "$schema": "http://json-schema.org/schema#", - "type": "object", - "properties": { - "class": { - "description": "Object type information", - "type": "object", - "properties": { - "type": { - "description": "The data type this document describes", - "type": "string", - "examples": [ - "fmu_polygons" - ] - }, - "class_version": { - "description": "The version of the metadata definitions used.", - "type": "string", - "examples": [ - "0.8" - ] - } - } - }, - "data": { - "$comment": "Data is a generic term, but this is used to be able to use Elasticsearch in an intuitive way.", - "description": "Metadata related to this specific data object", - "type": "object", - "required": [ - "format", - "checksum", - "relative_file_path", - "unit", - "name", - "fmu_module", - "fmu_submodule" - ], - "properties": { - "description": { - "$comment": "This attribute is intended for human reading. No logic should be built on the contents of this attribute.", - "description": "A free-text description of these data.", - "type": "string", - "examples": [ - "Field outline calculated from the structural model" - ] - }, - "format": { - "description": "The format of the attached file.", - "type": "string", - "examples": [ - "csv" - ] - }, - "vertical_domain": { - "description": "Vertical domain for the values, depth or time. Null if not applicable.", - "type": "string", - "examples": [ - "depth" - ] - }, - "checksum": { - "$comment": "Used by REP", - "description": "The checksum of the attached binary file", - "type": "string", - "examples": [ - "4ef5b9fe983532a69932c8a0573da53f" - ] - }, - "relative_file_path": { - "$comment": "Used to generate unique ID for an object on Sumo", - "description": "The file path of this object within an FMU ensemble relative to ensemble root.", - "type": "string", - "examples": [ - "realization-20/pred/share/depth/stored--filename.csv" - ] - }, - "unit": { - "description": "Unit for the values", - "type": "string", - "examples": [ - "m" - ] - }, - "depth_reference": { - "description": "reference for depth values, if depth", - "type": "string", - "examples": [ - "msl" - ] - }, - "name": { - "description": "Name of the horizon or isochore. If covered by SMDA, ", - "type": "string", - "examples": [ - "Eiriksson Fm. 1 JS Top" - ] - }, - "alias": { - "description": "Alias names for these polygons", - "type": "array", - "uniqueItems": true, - "examples": [ - "Eiriksson_Fm_1_Top", - "E1Top", - "Eiriksson1Top", - "TopEirikssonFm_1" - ] - }, - "aggregation": { - "description": "Object for describing aggregation. Only used for aggregated object.", - "type": "object", - "properties": { - "type": { - "description": "Aggregation type", - "type": "string", - "examples": [ - "mean" - ] - }, - "realizations": { - "description": "Realizations included in this aggregation", - "type": "array", - "uniqueItems": true, - "items": { - "type": "integer" - }, - "examples": [ - 0, - 1, - 2, - 343, - 643 - ] - } - } - }, - "realization": { - "description": "The realization number. Only used if this represents a single realisation", - "type": "integer", - "examples": [ - 10 - ] - }, - "fmu_module": { - "description": "The module in the FMU workflow that produced this data object", - "type": "string", - "examples": [ - "rms" - ] - }, - "fmu_submodule": { - "description": "The submodule of the FMU workflow that produced this data object", - "type": "string", - "examples": [ - "structural_model" - ] - }, - "time": { - "description": "The time (date and time) for this surface in a dynamic setting.", - "type": "object", - "properties": { - "t1": { - "description": "Simulated (start) date for which this object represents on YYYY-MM-DD HH:MM:SS format.", - "type": "string", - "format": "date-time", - "examples": [ - "2020-01-25" - ] - }, - "t2": { - "description": "Simulated (end) date for which this object represents on YYY-MM-DD HH:MM:SS format.", - "type": "string", - "format": "date-time", - "examples": [ - "2059-01-25" - ] - }, - "t1_label": { - "description": "Label to use for the simulated (start) time", - "type": "string", - "examples": [ - "MyLabel" - ] - }, - "t2_label": { - "description": "Label to use for the simulated (end) time", - "type": "string", - "examples": [ - "MyLabel" - ] - } - } - }, - "location": { - "description": "Object holding information about the geographical location of these polygons", - "type": "object", - "properties": { - "xmin": { - "description": "Minimum X direction value", - "type": "number", - "examples": [ - 465634.0 - ] - }, - "xmax": { - "description": "Maximum X direction value", - "type": "number", - "examples": [ - 532584.0 - ] - }, - "ymin": { - "description": "Minimum Y direction value", - "type": "number", - "examples": [ - 7902850.0 - ] - }, - "ymax": { - "description": "Maximum Y direction value", - "type": "number", - "examples": [ - 7955750.0 - ] - } - } - }, - "custom": { - "description": "Placeholder for asset-specific and custom attributes. Use with care, and be aware of duplicate names.", - "type": "object", - "properties": { - "MyCustomAttribute": { - "description": "Description of attribute", - "type": "string", - "examples": [ - "MyCustomValue" - ] - }, - "MyOtherCustomAttribute": { - "description": "Description of attribute", - "type": "string", - "examples": [ - "MyOtherCustomValue" - ] - } - } - } - } - }, - "sensitivity": { - "description": "Sensitivity of this data object, 'asset' or 'internal'", - "type": "string", - "enum": [ - "asset", - "internal" - ], - "examples": [ - "internal" - ] - }, - "rep_include": { - "description": "Flag if this data object is to be available to REP or not", - "type": "boolean", - "examples": [ - true - ] - }, - "visual_settings": { - "description": "Block for visual settings for this data object", - "type": "object", - "properties": { - "display_name": { - "description": "Nice(r) name to use when displayed on maps etc.", - "type": "string", - "examples": [ - "Field Outline" - ] - }, - "subtitle": { - "description": "Subtitle for use when displayed on maps etc.", - "type": "string", - "examples": [ - "MySubTitle" - ] - }, - "lines": { - "description": "Default visual settings for lines", - "type": "object", - "properties": { - "visible": { - "description": "Default visibility of lines when displayed in maps etc.", - "type": "boolean", - "examples": [ - true - ] - }, - "color": { - "description": "Default color of lines when displayed in maps etc., descriptive or hex", - "type": "string", - "examples": [ - "black" - ] - } - } - }, - "points": { - "description": "Default visual settings for points", - "type": "object", - "properties": { - "visible": { - "description": "Default visibility of points when displayed in maps etc.", - "type": "boolean", - "default": false, - "examples": [ - true - ] - }, - "color": { - "description": "Default color of points when displayed in maps etc., descriptive or hex", - "type": "string", - "default": "black", - "examples": [ - "#000000", - "red" - ] - } - } - } - } - }, - "source": { - "description": "Source system for this data object.", - "type": "string", - "examples": [ - "fmu" - ] - }, - "user": { - "description": "User name for user who created this data object.", - "type": "string", - "examples": [ - "peesv" - ] - }, - "datetime": { - "description": "Datetime for the generation of the metadata for this object.", - "type": "string", - "examples": [ - "2020-06-26 09:28:32" - ] - }, - "field_id": { - "description": "Block describing the field/asset/unit that owns this data object.", - "type": "object", - "properties": { - "field_name": { - "description": "The field name, written as in SMDA", - "type": "string", - "examples": [ - "JOHAN SVERDRUP" - ] - }, - "field_guid": { - "description": "The field guid as in SMDA", - "type": "integer", - "examples": [ - 268281971 - ] - } - } - }, - "country_identifier": { - "description": "The country identifier, as in SMDA", - "type": "string", - "examples": [ - "Norway" - ] - }, - "fmu_ensemble": { - "description": "Block containing metadata for the FMU ensemble in which these polygons were created.", - "type": "object", - "properties": { - "fmu_ensemble_id": { - "description": "The unique ID of this FMU ensemble.", - "type": "string", - "examples": [ - "e00a862d-06f8-4ff9-a19f-9eaf09cc8c87" - ] - }, - "case": { - "description": "The name of this FMU case", - "type": "string", - "examples": [ - "MyCaseName" - ] - }, - "iteration": { - "description": "The name of this iteration", - "type": "string", - "examples": [ - "iter-0" - ] - }, - "runs": { - "description": "List of runs made for this ensemble", - "type": "array", - "uniqueItems": true, - "items": { - "type": "object", - "properties": { - "user": { - "description": "The user who conducted this run", - "type": "string", - "examples": [ - "peesv" - ] - }, - "datetime": { - "description": "Datetime for the initializing of this run on YYYY-MM-DD HH:MM:SS format", - "type": "string", - "examples": [ - "2019-01-25 18:38:00" - ] - }, - "configpath": { - "description": "Absolute path to the ERT config file for this run", - "type": "string", - "examples": [ - "/project/johan_sverdrup/resmod/ff/..." - ] - } - } - }, - "examples": [ - { - "user": "peesv", - "datetime": "2020-06-26 09:28:32", - "configpath": "/project/johan_sverdrup/resmod/...", - "runpath": "/scratch/johan_sverdrup/..." - }, - { - "user": "someuser", - "datetime": "2020-06-26 09:52:02", - "configpath": "/project/johan_sverdrup/resmod/...", - "runpath": "/scratch/johan_sverdrup/..." - } - ] - } - } - }, - "fmu_template": { - "description": "Block describing the FMU template used to produce this data object", - "type": "object", - "properties": { - "workflow_manager": { - "description": "The workflow manager used", - "type": "string", - "examples": [ - "ert" - ] - }, - "workflow_manager_version": { - "description": "The version of the workflow manager used", - "type": "string", - "examples": [ - "2.2.1" - ] - }, - "stratigraphic_column": { - "description": "The stratigraphic column used in this template, matching valid column in SMDA", - "type": "string", - "examples": [ - "JOHAN SVERDRUP 2015" - ] - }, - "model_name": { - "description": "The name of the model setup for which this template belongs", - "type": "string", - "examples": [ - "ff" - ] - }, - "model_revision": { - "description": "The model revision used in this template", - "type": "string", - "examples": [ - "2020a b007.1.0" - ] - }, - "static_model_software": { - "description": "The static modeling software used in this template", - "type": "string", - "examples": [ - "rms" - ] - }, - "static_model_software_version": { - "description": "The version of the static modeling software used in this template", - "type": "string", - "examples": [ - "10.1.3" - ] - }, - "simulator": { - "description": "The simulator used for this ensemble", - "type": "string", - "examples": [ - "eclipse" - ] - }, - "simulator_version": { - "description": "The version of the simulator used", - "type": "string", - "examples": [ - "xx" - ] - } - } - }, - "coordinate_reference_system": { - "description": "Block describing the coordinate reference system for which this data object belongs to.", - "type": "object", - "properties": { - "base_system": { - "description": "The base system", - "type": "string", - "examples": [ - "WGS84" - ] - }, - "central_meridian": { - "description": "The central meridian", - "type": "integer", - "examples": [ - 3 - ] - }, - "datum": { - "description": "The datum", - "type": "string", - "examples": [ - "OW_European_Datum_1950" - ] - }, - "hemisphere": { - "description": "The hemisphere", - "type": "string", - "examples": [ - "Northern" - ] - }, - "name": { - "description": "The name of the coordinate system, matching SMDA", - "type": "string", - "examples": [ - "ST_ED50_UTM31N_P23031_T1133" - ] - }, - "projection": { - "description": "The projection", - "type": "string", - "examples": [ - "UTM" - ] - }, - "zone": { - "description": "The zone", - "type": "integer", - "examples": [ - 31 - ] - }, - "epsg_version": { - "description": "The EPSG version for this coordinate system", - "type": "integer", - "examples": [ - 8 - ] - }, - "epsg_code": { - "description": "The EPSG code for this coordinate system", - "type": "integer", - "examples": [ - 23031 - ] - } - } - } - } -} \ No newline at end of file diff --git a/schema/definitions/0.4/schema/fmu_regularsurface.json b/schema/definitions/0.4/schema/fmu_regularsurface.json deleted file mode 100644 index 0b1644988..000000000 --- a/schema/definitions/0.4/schema/fmu_regularsurface.json +++ /dev/null @@ -1,708 +0,0 @@ -{ - "title": "fmu_regularsurface", - "description": "FMU output surface data object", - "required": [ - "data", - "sensitivity", - "rep_include", - "visual_settings", - "source", - "user", - "datetime", - "field_id", - "fmu_ensemble", - "fmu_template", - "coordinate_reference_system" - ], - "$schema": "http://json-schema.org/schema#", - "type": "object", - "properties": { - "class": { - "description": "Object type information", - "type": "object", - "properties": { - "type": { - "description": "The data type this document describes", - "type": "string", - "examples": [ - "fmu_regularsurface" - ] - }, - "class_version": { - "description": "The version of the metadata definitions used.", - "type": "string", - "examples": [ - "0.8" - ] - } - } - }, - "data": { - "$comment": "Data is a generic term, but this is used to be able to use Elasticsearch in an intuitive way.", - "description": "Metadata related to this specific data object", - "type": "object", - "required": [ - "format", - "checksum", - "relative_file_path", - "unit", - "name", - "content", - "vertical_domain", - "stratigraphic", - "fmu_module", - "fmu_submodule" - ], - "properties": { - "description": { - "$comment": "This attribute is intended for human reading. No logic should be built on the contents of this attribute.", - "description": "A free-text description of these data.", - "type": "string", - "examples": [ - "Depth converted surfaces used as input to structural model" - ] - }, - "format": { - "description": "The format of the attached file.", - "type": "string", - "examples": [ - "irap_binary" - ] - }, - "checksum": { - "$comment": "Used by REP", - "description": "The checksum of the attached binary file", - "type": "string", - "examples": [ - "4ef5b9fe983532a69932c8a0573da53f" - ] - }, - "relative_file_path": { - "$comment": "Used to generate unique ID for an object on Sumo", - "description": "The file path of this object within an FMU ensemble relative to ensemble root.", - "type": "string", - "examples": [ - "realization-20/pred/share/depth/stored--filename.gri" - ] - }, - "irap_binary_header": { - "$comment": "Used by REP - can it be generated by REP?", - "description": "Header information from the IRAP Binary file", - "type": "object", - "properties": { - "xori": { - "description": "X origin", - "type": "number", - "examples": [ - 465634.0 - ] - }, - "ymax": { - "description": "Max value, Y direction", - "type": "number", - "examples": [ - 7955750.0 - ] - }, - "yori": { - "description": "Y origin", - "type": "number", - "examples": [ - 7902850.0 - ] - }, - "xmax": { - "description": "Max value, X direction", - "type": "number", - "examples": [ - 532584.0 - ] - }, - "nx": { - "description": "Number of columns", - "type": "integer", - "examples": [ - 1340 - ] - }, - "ny": { - "description": "Number of rows", - "type": "integer", - "examples": [ - 1059 - ] - }, - "yinc": { - "description": "Y increment (m)", - "type": "number", - "examples": [ - 50.0 - ] - }, - "rot": { - "description": "Rotation angle (degrees)", - "type": "number", - "examples": [ - 0.0 - ] - }, - "xinc": { - "description": "X increment (m)", - "type": "number", - "examples": [ - 50.0 - ] - } - } - }, - "unit": { - "description": "Unit for the values", - "type": "string", - "examples": [ - "m" - ] - }, - "depth_reference": { - "description": "reference for depth values, if depth surface", - "type": "string", - "examples": [ - "msl" - ] - }, - "name": { - "description": "Name of the horizon or isochore", - "type": "string", - "examples": [ - "Eiriksson Fm. 1 JS Top" - ] - }, - "alias": { - "description": "Alias names for this surface", - "type": "array", - "uniqueItems": true, - "examples": [ - "Eiriksson_Fm_1_Top", - "E1Top", - "Eiriksson1Top", - "TopEirikssonFm_1" - ] - }, - "content": { - "description": "Content of the surface", - "type": "string", - "examples": [ - "depth" - ] - }, - "vertical_domain": { - "description": "Vertical domain for the values, depth or time. Null if not applicable.", - "type": "string", - "examples": [ - "depth" - ] - }, - "stratigraphic": { - "description": "True if this is a surface defined in the stratigraphic column.", - "type": "boolean", - "examples": [ - true - ] - }, - "aggregation": { - "description": "Object for describing aggregation. Only used for aggregated object.", - "type": "object", - "properties": { - "type": { - "description": "Aggregation type", - "type": "string", - "examples": [ - "mean" - ] - }, - "realizations": { - "description": "Realizations included in this aggregation", - "type": "array", - "uniqueItems": true, - "items": { - "type": "integer" - }, - "examples": [ - 0, - 1, - 2, - 343, - 643 - ] - } - } - }, - "realization": { - "description": "The realization number. Only used if this represents a single realisation", - "type": "integer", - "examples": [ - 10 - ] - }, - "fmu_module": { - "description": "The module in the FMU workflow that produced this surface", - "type": "string", - "examples": [ - "rms" - ] - }, - "fmu_submodule": { - "description": "The submodule of the FMU workflow that produced this surface", - "type": "string", - "examples": [ - "structural_model" - ] - }, - "fmu_element_id": { - "description": "An FMU-internal identifier linking elements across realizations and aggregations", - "type": "string", - "examples": [ - "e00a862d-06f8-4ff9-a19f-9eaf09cc8c87" - ] - }, - "time": { - "description": "The time (date and time) for this surface in a dynamic setting.", - "type": "object", - "properties": { - "t1": { - "description": "Simulated (start) date for which this object represents on YYYY-MM-DD HH:MM:SS format.", - "type": "string", - "format": "date-time", - "examples": [ - "2020-01-25" - ] - }, - "t2": { - "description": "Simulated (end) date for which this object represents on YYYY-MM-DD HH:MM:SS format.", - "type": "string", - "format": "date-time", - "examples": [ - "2059-01-25" - ] - }, - "t1_label": { - "description": "Label to use for the simulated (start) time", - "type": "string", - "examples": [ - "MyLabel" - ] - }, - "t2_label": { - "description": "Label to use for the simulated (end) time", - "type": "string", - "examples": [ - "MyLabel" - ] - } - } - }, - "location": { - "description": "Object holding information about the geographical location of this surface", - "type": "object", - "properties": { - "xmin": { - "description": "Minimum X direction value", - "type": "number", - "examples": [ - 465634.0 - ] - }, - "xmax": { - "description": "Maximum X direction value", - "type": "number", - "examples": [ - 532584.0 - ] - }, - "ymin": { - "description": "Minimum Y direction value", - "type": "number", - "examples": [ - 7902850.0 - ] - }, - "ymax": { - "description": "Maximum Y direction value", - "type": "number", - "examples": [ - 7955750.0 - ] - } - } - }, - "custom": { - "description": "Placeholder for asset-specific and custom attributes. Use with care, and be aware of duplicate names.", - "type": "object", - "properties": { - "MyCustomAttribute": { - "description": "Description of attribute", - "type": "string", - "examples": [ - "MyCustomValue" - ] - }, - "MyOtherCustomAttribute": { - "description": "Description of attribute", - "type": "string", - "examples": [ - "MyOtherCustomValue" - ] - } - } - } - } - }, - "sensitivity": { - "description": "Sensitivity of this data object, 'asset' or 'internal'", - "type": "string", - "enum": [ - "asset", - "internal" - ], - "examples": [ - "internal" - ] - }, - "rep_include": { - "description": "Flag if this data object is to be available to REP or not", - "type": "boolean", - "examples": [ - true - ] - }, - "visual_settings": { - "description": "Block for visual settings for this surface", - "type": "object", - "properties": { - "display_name": { - "description": "Name to use when displayed on maps etc.", - "type": "string", - "examples": [ - "Eiriksson Fm. 1 Top" - ] - }, - "subtitle": { - "description": "Subtitle for use when displayed on maps etc.", - "type": "string", - "examples": [ - "MySubTitle" - ] - }, - "colors": { - "description": "Block for color settings", - "type": "object", - "properties": { - "colormap": { - "description": "Color map to use as default for this surface when displayed in maps etc.", - "type": "string", - "examples": [ - "gist_earth_r" - ] - }, - "contour_lines": { - "description": "Default visibility of contour lines when displayed in maps etc.", - "type": "boolean", - "examples": [ - true - ] - }, - "display_min": { - "description": "Default minimum value when displayed in maps etc.", - "type": "number", - "examples": [ - 1800.0 - ] - }, - "display_max": { - "description": "Default maximum value when displayed in maps etc.", - "type": "number", - "examples": [ - 2000.0 - ] - }, - "cross_section": { - "description": "Default color to use when displayed in cross-sections", - "type": "string", - "examples": [ - "black" - ] - } - } - }, - "cross_section": { - "description": "Behaviour in cross-sections (line or interval)", - "type": "string", - "enum": [ - "interval", - "line" - ], - "examples": [ - "interval" - ] - } - } - }, - "source": { - "description": "Source system for this data object.", - "type": "string", - "examples": [ - "fmu" - ] - }, - "user": { - "description": "User name for user who created this data object.", - "type": "string", - "examples": [ - "peesv" - ] - }, - "datetime": { - "description": "Datetime for the generation of the metadata for this object.", - "type": "string", - "examples": [ - "2020-06-26 09:28:32" - ] - }, - "field_id": { - "description": "Block describing the field/asset/unit that owns this data object.", - "type": "object", - "properties": { - "field_name": { - "description": "The field name, written as in SMDA", - "type": "string", - "examples": [ - "JOHAN SVERDRUP" - ] - }, - "field_guid": { - "description": "The field guid as in SMDA", - "type": "integer", - "examples": [ - 268281971 - ] - } - } - }, - "country_identifier": { - "description": "The country identifier, as in SMDA", - "type": "string", - "examples": [ - "Norway" - ] - }, - "fmu_ensemble": { - "description": "Block containing metadata for the FMU ensemble in which this surface was created.", - "type": "object", - "properties": { - "fmu_ensemble_id": { - "description": "The unique ID of this FMU ensemble.", - "type": "string", - "examples": [ - "e00a862d-06f8-4ff9-a19f-9eaf09cc8c87" - ] - }, - "case": { - "description": "The name of this FMU case", - "type": "string", - "examples": [ - "MyCaseName" - ] - }, - "iteration": { - "description": "The name of this iteration", - "type": "string", - "examples": [ - "iter-0" - ] - }, - "runs": { - "description": "List of runs made for this ensemble", - "type": "array", - "uniqueItems": true, - "items": { - "type": "object", - "properties": { - "user": { - "description": "The user who conducted this run", - "type": "string", - "examples": [ - "peesv" - ] - }, - "datetime": { - "description": "Datetime for the initializing of this run on YYYY-MM-DD HH:MM:SS format", - "type": "string", - "examples": [ - "2019-01-25 18:38:00" - ] - }, - "configpath": { - "description": "Absolute path to the ERT config file for this run", - "type": "string", - "examples": [ - "/project/johan_sverdrup/resmod/ff/..." - ] - } - } - }, - "examples": [ - { - "user": "peesv", - "datetime": "2020-06-26 09:28:32", - "configpath": "/project/johan_sverdrup/resmod/...", - "runpath": "/scratch/johan_sverdrup/..." - }, - { - "user": "someuser", - "datetime": "2020-06-26 09:52:02", - "configpath": "/project/johan_sverdrup/resmod/...", - "runpath": "/scratch/johan_sverdrup/..." - } - ] - } - } - }, - "fmu_template": { - "description": "Block describing the FMU template used to produce this data object", - "type": "object", - "properties": { - "workflow_manager": { - "description": "The workflow manager used", - "type": "string", - "examples": [ - "ert" - ] - }, - "workflow_manager_version": { - "description": "The version of the workflow manager used", - "type": "string", - "examples": [ - "2.2.1" - ] - }, - "stratigraphic_column": { - "description": "The stratigraphic column used in this template, matching valid column in SMDA", - "type": "string", - "examples": [ - "JOHAN SVERDRUP 2015" - ] - }, - "model_name": { - "description": "The name of the model setup for which this template belongs", - "type": "string", - "examples": [ - "ff" - ] - }, - "model_revision": { - "description": "The model revision used in this template", - "type": "string", - "examples": [ - "2020a b007.1.0" - ] - }, - "static_model_software": { - "description": "The static modeling software used in this template", - "type": "string", - "examples": [ - "rms" - ] - }, - "static_model_software_version": { - "description": "The version of the static modeling software used in this template", - "type": "string", - "examples": [ - "10.1.3" - ] - }, - "simulator": { - "description": "The simulator used for this ensemble", - "type": "string", - "examples": [ - "eclipse" - ] - }, - "simulator_version": { - "description": "The version of the simulator used", - "type": "string", - "examples": [ - "xx" - ] - } - } - }, - "coordinate_reference_system": { - "description": "Block describing the coordinate reference system for which this surface belongs to.", - "type": "object", - "properties": { - "base_system": { - "description": "The base system", - "type": "string", - "examples": [ - "WGS84" - ] - }, - "central_meridian": { - "description": "The central meridian", - "type": "integer", - "examples": [ - 3 - ] - }, - "datum": { - "description": "The datum", - "type": "string", - "examples": [ - "OW_European_Datum_1950" - ] - }, - "hemisphere": { - "description": "The hemisphere", - "type": "string", - "examples": [ - "Northern" - ] - }, - "name": { - "description": "The name of the coordinate system, matching SMDA", - "type": "string", - "examples": [ - "ST_ED50_UTM31N_P23031_T1133" - ] - }, - "projection": { - "description": "The projection", - "type": "string", - "examples": [ - "UTM" - ] - }, - "zone": { - "description": "The zone", - "type": "integer", - "examples": [ - 31 - ] - }, - "epsg_version": { - "description": "The EPSG version for this coordinate system", - "type": "integer", - "examples": [ - 8 - ] - }, - "epsg_code": { - "description": "The EPSG code for this coordinate system", - "type": "integer", - "examples": [ - 23031 - ] - } - } - } - } -} \ No newline at end of file