Skip to content

Commit 9c4b5be

Browse files
committed
Update example file #290
1 parent a5176ce commit 9c4b5be

5 files changed

Lines changed: 22 additions & 9 deletions

File tree

REUSE.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ SPDX-FileCopyrightText = ["2026 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut
118118
"oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>"]
119119
SPDX-License-Identifier = "MIT"
120120

121+
[[annotations]]
122+
path = "oemetadata/v2/v21/*.csv"
123+
precedence = "override"
124+
SPDX-FileCopyrightText = ["2026 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut",
125+
"2026 Jonas Huber <@jh-RLI> © Reiner Lemoine Institut",
126+
"oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>"]
127+
SPDX-License-Identifier = "CC0-1.0"
128+
121129
[[annotations]]
122130
path = "oemetadata/v2/v21/build_source/schemas/*.json"
123131
precedence = "override"

oemetadata/v2/v21/build_source/schemas/general.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"null"
3737
],
3838
"examples": [
39-
"oemetadata_table_example"
39+
"example.csv"
4040
],
4141
"badge": "Iron",
4242
"title": "Name"
@@ -48,7 +48,7 @@
4848
"null"
4949
],
5050
"examples": [
51-
"OEMetadata Table Template"
51+
"OEMetadata Table Example"
5252
],
5353
"badge": "Silver",
5454
"title": "Title"
@@ -60,7 +60,7 @@
6060
"null"
6161
],
6262
"examples": [
63-
"Example table used to illustrate the OEMetadata structure and features."
63+
"Example metadata and table used to illustrate the OEMetadata structure and features."
6464
],
6565
"badge": "Silver",
6666
"title": "Description"

oemetadata/v2/v21/example.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"id","name","type","year","value","is_active","version","comment"
2+
1,"wind","onshore",2021,55.93,true,"0.1.0",""
3+
2,"wind","offshore",2021,7.79,true,"0.1.0",""
4+
3,"wind","onshore",2022,58.05,true,"0.1.1",""
5+
4,"wind","offshore",2022,8.13,true,"0.1.1",""

oemetadata/v2/v21/example.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@
8989
{
9090
"@id": "https://databus.openenergyplatform.org/oeplatform/supply/wri_global_power_plant_database/2022-11-07/wri_global_power_plant_database_variant=data.csv",
9191
"path": "http://openenergyplatform.org/dataedit/view/model_draft/oemetadata_table_template",
92-
"name": "oemetadata_table_example",
93-
"title": "OEMetadata Table Template",
94-
"description": "Example table used to illustrate the OEMetadata structure and features.",
92+
"name": "example.csv",
93+
"title": "OEMetadata Table Example",
94+
"description": "Example metadata and table used to illustrate the OEMetadata structure and features.",
9595
"publicationDate": "2024-10-15",
9696
"subject": [
9797
{

oemetadata/v2/v21/schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@
587587
"null"
588588
],
589589
"examples": [
590-
"oemetadata_table_example"
590+
"example.csv"
591591
],
592592
"badge": "Iron",
593593
"title": "Name"
@@ -599,7 +599,7 @@
599599
"null"
600600
],
601601
"examples": [
602-
"OEMetadata Table Template"
602+
"OEMetadata Table Example"
603603
],
604604
"badge": "Silver",
605605
"title": "Title"
@@ -611,7 +611,7 @@
611611
"null"
612612
],
613613
"examples": [
614-
"Example table used to illustrate the OEMetadata structure and features."
614+
"Example metadata and table used to illustrate the OEMetadata structure and features."
615615
],
616616
"badge": "Silver",
617617
"title": "Description"

0 commit comments

Comments
 (0)