Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0715caf
Update CHANGELOG #293
Ludee Apr 9, 2026
e225d73
Add frictionless validate tests #290 #296
Ludee Apr 8, 2026
771eca6
Update CHANGELOG #290
Ludee Apr 9, 2026
b52dffd
Update package #290
Ludee Apr 9, 2026
79e82f5
Fix global variables #290
Ludee Apr 9, 2026
3cf6b6f
Update field type from serial to integer #290
Ludee Apr 9, 2026
7efa942
Update example #290
Ludee Apr 9, 2026
fba1dc7
Update required structure #290
Ludee Apr 9, 2026
61de9eb
Update after Merge #290
Ludee Apr 24, 2026
04d8683
Update schema and tests #290
Ludee Apr 27, 2026
331f432
Update example data type #290
Ludee Apr 27, 2026
8703499
Update example data type float #290
Ludee Apr 27, 2026
98747e6
Update example format csv #290
Ludee Apr 27, 2026
fef6dae
Update example fk #290
Ludee Apr 27, 2026
c394fa0
Update example fk #290
Ludee Apr 27, 2026
1665213
Update example for fk #290
Ludee Apr 27, 2026
a5176ce
Remove fk for test #290
Ludee Apr 27, 2026
9c4b5be
Update example file #290
Ludee Apr 27, 2026
9bf6348
Update example path #290
Ludee Apr 27, 2026
5e8aecb
Update test path #290
Ludee Apr 27, 2026
d07af3f
Update test path #290
Ludee Apr 27, 2026
4e41a88
Update example package #290
Ludee Apr 27, 2026
5acae30
Update example package #290
Ludee Apr 27, 2026
b52800b
Update example package #290
Ludee Apr 27, 2026
99188e4
Update example package #290
Ludee Apr 27, 2026
89ef56d
Update example package #290
Ludee Apr 27, 2026
23a12d3
Update example package #290
Ludee Apr 27, 2026
53c5f9f
Update example package #290
Ludee Apr 27, 2026
bbbaa6c
Update example package #290
Ludee Apr 27, 2026
8109469
Update example package #290
Ludee Apr 27, 2026
848bb19
Update fk example #290
Ludee Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Start new version 2.1. [(#)](https://github.com/OpenEnergyPlatform/oemetadata/pull/)
- Add badges for Zenodo publication, FAIRsharing DOI and RDA MSC [(#273)](https://github.com/OpenEnergyPlatform/oemetadata/pull/273)
- Dataset creator to contributors [(#304)](https://github.com/OpenEnergyPlatform/oemetadata/pull/304)
- Add `mappingRelation` to `isAbout` [(#307)](https://github.com/OpenEnergyPlatform/oemetadata/pull/307)
- Add `mappingRelation` to `valueReference` [(#307)](https://github.com/OpenEnergyPlatform/oemetadata/pull/307)
- Tests for example and template to be valid frictionless datapackage [(#305)](https://github.com/OpenEnergyPlatform/oemetadata/pull/305)

### Changed
- Update TLDR URL in example sourceLicenses [(#275)](https://github.com/OpenEnergyPlatform/oemetadata/pull/275)
Expand Down
24 changes: 24 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ SPDX-FileCopyrightText = ["2026 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut
"oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>"]
SPDX-License-Identifier = "MIT"

[[annotations]]
path = "oemetadata/v2/v21/*.csv"
precedence = "override"
SPDX-FileCopyrightText = ["2026 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut",
"2026 Jonas Huber <@jh-RLI> © Reiner Lemoine Institut",
"oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>"]
SPDX-License-Identifier = "CC0-1.0"

[[annotations]]
path = "oemetadata/v2/v21/build_source/schemas/*.json"
precedence = "override"
Expand All @@ -141,3 +149,19 @@ SPDX-FileCopyrightText = ["2024 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut
"2024 Jonas Huber <@jh-RLI> © Reiner Lemoine Institut",
"oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>"]
SPDX-License-Identifier = "MIT"

[[annotations]]
path = "test/oemetadata/v2/v21/example/*.csv"
precedence = "override"
SPDX-FileCopyrightText = ["2026 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut",
"2026 Jonas Huber <@jh-RLI> © Reiner Lemoine Institut",
"oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>"]
SPDX-License-Identifier = "CC0-1.0"

[[annotations]]
path = "test/oemetadata/v2/v21/example/*.json"
precedence = "override"
SPDX-FileCopyrightText = ["2026 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut",
"2024 Jonas Huber <@jh-RLI> © Reiner Lemoine Institut",
"oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>"]
SPDX-License-Identifier = "CC0-1.0"
6 changes: 2 additions & 4 deletions oemetadata/v2/v21/build_source/schemas/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"null"
],
"examples": [
"CSV"
"csv"
],
"badge": "Gold",
"title": "Format",
Expand Down Expand Up @@ -278,7 +278,6 @@
"null"
],
"examples": [
"id",
"version"
],
"badge": "Iron",
Expand All @@ -298,7 +297,7 @@
"null"
],
"examples": [
"model_draft.oep_oemetadata_table_example_version"
"example_version.csv"
],
"badge": "Iron",
"title": "Foreign Resource"
Expand All @@ -313,7 +312,6 @@
"null"
],
"examples": [
"id",
"version"
],
"badge": "Iron",
Expand Down
8 changes: 4 additions & 4 deletions oemetadata/v2/v21/build_source/schemas/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"null"
],
"examples": [
"http://openenergyplatform.org/dataedit/view/model_draft/oemetadata_table_template"
"example.csv"
],
"badge": "Bronze",
"title": "Path",
Expand All @@ -36,7 +36,7 @@
"null"
],
"examples": [
"oemetadata_table_template"
"example.csv"
],
"badge": "Iron",
"title": "Name"
Expand All @@ -48,7 +48,7 @@
"null"
],
"examples": [
"OEMetadata Table Template"
"OEMetadata Table Example"
],
"badge": "Silver",
"title": "Title"
Expand All @@ -60,7 +60,7 @@
"null"
],
"examples": [
"Example table used to illustrate the OEMetadata structure and features."
"Example metadata and table used to illustrate the OEMetadata structure and features."
],
"badge": "Silver",
"title": "Description"
Expand Down
12 changes: 5 additions & 7 deletions oemetadata/v2/v21/build_source/schemas/provenance.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,12 @@
"title": "Comment"
}
},
"required": [
"title"
],
"badge": "Bronze",
"title": "Contributor"
},
"badge": "Bronze",
"title": "Contributors"
}
}
},
"required": [
"contributors"
]
}
}
63 changes: 40 additions & 23 deletions oemetadata/v2/v21/build_source/scripts/example/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,65 +2,72 @@
{
"name": "id",
"description": "Unique identifier",
"type": "serial",
"type": "integer",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

integer is okay, most times there is something wit a range of bits. There might be infinit rows in the dataset.

I think this is not relevant for this example so just a comment.

"nullable": false,
"unit": null,
"isAbout": [
{
"name": "identifier",
"@id": "http://purl.obolibrary.org/obo/IAO_0020000"
"@id": "http://purl.obolibrary.org/obo/IAO_0020000",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": null,
"name": null,
"@id": null
"@id": null,
"mappingRelation": null
}
]
},
{
"name": "name",
"description": "Technology Name",
"type": "text",
"type": "string",
"nullable": true,
"unit": null,
"isAbout": [
{
"name": "power generation technology",
"@id": "http://openenergy-platform.org/ontology/oeo/OEO_00010423"
"@id": "http://openenergy-platform.org/ontology/oeo/OEO_00010423",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": "wind",
"name": "wind power technology",
"@id": "http://openenergyplatform.org/ontology/oeo/OEO_00010424"
"@id": "http://openenergyplatform.org/ontology/oeo/OEO_00010424",
"mappingRelation": "skos:exactMatch"
}
]
},
{
"name": "type",
"description": "Type of wind farm",
"type": "text",
"type": "string",
"nullable": true,
"unit": null,
"isAbout": [
{
"name": "wind farm",
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000447/"
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000447/",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": "onshore",
"name": "onshore wind farm",
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000311/"
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000311/",
"mappingRelation": "skos:exactMatch"
},
{
"value": "offshore",
"name": "offshore wind farm",
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000308/"
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00000308/",
"mappingRelation": "skos:exactMatch"
}
]
},
Expand All @@ -73,34 +80,38 @@
"isAbout": [
{
"name": "year",
"@id": "https://openenergyplatform.org/ontology/oeo/UO_0000036/"
"@id": "https://openenergyplatform.org/ontology/oeo/UO_0000036/",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": null,
"name": null,
"@id": null
"@id": null,
"mappingRelation": null
}
]
},
{
"name": "value",
"description": "Bruttoleistung",
"type": "decimal",
"type": "number",
"nullable": true,
"unit": "MW",
"isAbout": [
{
"name": "nameplate capacity",
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00230003/"
"@id": "https://openenergyplatform.org/ontology/oeo/OEO_00230003/",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": null,
"name": null,
"@id": null
"@id": null,
"mappingRelation": null
}
]
},
Expand All @@ -113,54 +124,60 @@
"isAbout": [
{
"name": "Operating Mode Status",
"@id": "https://ontology.brickschema.org/brick/Operating_Mode_Status"
"@id": "https://ontology.brickschema.org/brick/Operating_Mode_Status",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": null,
"name": null,
"@id": null
"@id": null,
"mappingRelation": null
}
]
},
{
"name": "version",
"description": "Version",
"type": "integer",
"type": "string",
"nullable": true,
"unit": null,
"isAbout": [
{
"name": "version number",
"@id": "http://purl.obolibrary.org/obo/IAO_0000129"
"@id": "http://purl.obolibrary.org/obo/IAO_0000129",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": null,
"name": null,
"@id": null
"@id": null,
"mappingRelation": null
}
]
},
{
"name": "comment",
"description": "",
"type": "text",
"type": "string",
"nullable": true,
"unit": null,
"isAbout": [
{
"name": "comment",
"@id": "http://semanticscience.org/resource/SIO_001167"
"@id": "http://semanticscience.org/resource/SIO_001167",
"mappingRelation": "skos:exactMatch"
}
],
"valueReference": [
{
"value": null,
"name": null,
"@id": null
"@id": null,
"mappingRelation": null
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions oemetadata/v2/v21/example.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"id","name","type","year","value","is_active","version","comment"
1,"wind","onshore",2021,55.93,true,"0.1.0",""
2,"wind","offshore",2021,7.79,true,"0.1.0",""
3,"wind","onshore",2022,58.05,true,"0.1.1",""
4,"wind","offshore",2022,8.13,true,"0.1.1",""
Loading
Loading