Skip to content

Commit 881383f

Browse files
authored
Merge branch 'develop' into feature-298-module-energy-system
2 parents 8440e1b + fd5b5cd commit 881383f

10 files changed

Lines changed: 234 additions & 109 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323
- Add `mappingRelation` to `isAbout` [(#307)](https://github.com/OpenEnergyPlatform/oemetadata/pull/307)
2424
- Add `mappingRelation` to `valueReference` [(#307)](https://github.com/OpenEnergyPlatform/oemetadata/pull/307)
2525
- Tests for example and template to be valid frictionless datapackage [(#305)](https://github.com/OpenEnergyPlatform/oemetadata/pull/305)
26+
- Add spatial information to dataset [(#310)](https://github.com/OpenEnergyPlatform/oemetadata/pull/310)
27+
- Add temporal information to dataset [(#310)](https://github.com/OpenEnergyPlatform/oemetadata/pull/310)
2628
- Add a module `Energy Systems` for dataset [(#312)](https://github.com/OpenEnergyPlatform/oemetadata/pull/312)
2729

2830
### Changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2026 Ludwig Hülk <Ludee> © Reiner Lemoine Institut
3+
SPDX-FileCopyrightText: oemetadata <https://github.com/OpenEnergyPlatform/oemetadata/>
4+
SPDX-License-Identifier: MIT
5+
-->
6+
7+
# OEMetadata Core Files
8+
9+
The schemas are the core of the OEMetadata specification. <br>
10+
They are separated by category and follow the logic of OEMetadata structure.

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

Lines changed: 43 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,49 @@
6666
"badge": "Bronze",
6767
"title": "Dataset Description"
6868
},
69-
"topics": {
70-
"description": "An array of predefined topics that correspond to the database schemas of the OEP.",
71-
"type": "array",
72-
"items": {
73-
"description": "The topics are used to group the data in the database.",
74-
"type": [
75-
"string",
76-
"null"
77-
],
78-
"examples": [
79-
"model_draft"
80-
],
81-
"badge": "Bronze",
82-
"title": "Topic"
83-
},
84-
"badge": "Bronze",
85-
"title": "Topics"
69+
"extent": {
70+
"description": "An object that describes a covered area or region of the dataset.",
71+
"type": "object",
72+
"properties": {
73+
"name": {
74+
"description": "The name of the spatial region of the dataset.",
75+
"type": [
76+
"string",
77+
"null"
78+
],
79+
"examples": [
80+
"Europe"
81+
],
82+
"badge": "Silver",
83+
"title": "Dataset Extent Name"
84+
},
85+
"@id": {
86+
"description": "A URI reference for the region of the dataset.",
87+
"type": [
88+
"string",
89+
"null"
90+
],
91+
"examples": [
92+
"https://www.wikidata.org/wiki/Q458"
93+
],
94+
"format": "uri",
95+
"badge": "Platinum",
96+
"title": "Dataset Extent Identifier"
97+
}
98+
}
99+
},
100+
"referenceDate": {
101+
"description": "A base year, month or day. The time for which the dataset should be accurate. Date Format is ISO 8601.",
102+
"type": [
103+
"string",
104+
"null"
105+
],
106+
"examples": [
107+
"2020-01-01"
108+
],
109+
"badge": "Silver",
110+
"title": "Dataset Reference Date",
111+
"format": "date"
86112
},
87113
"languages": {
88114
"description": "An array of languages used within the described data structures (e.g. titles, descriptions) or metadata.",

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,24 @@
5353
"badge": "Silver",
5454
"title": "Title"
5555
},
56+
"topics": {
57+
"description": "An array of predefined topics that correspond to the database schemas of the OEP.",
58+
"type": "array",
59+
"items": {
60+
"description": "The topics are used to group the data in the database.",
61+
"type": [
62+
"string",
63+
"null"
64+
],
65+
"examples": [
66+
"model_draft"
67+
],
68+
"badge": "Bronze",
69+
"title": "Topic"
70+
},
71+
"badge": "Bronze",
72+
"title": "Topics"
73+
},
5674
"description": {
5775
"description": "A description of the table. It should be usable as summary information for the table that is described by the metadata.",
5876
"type": [

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"null"
1515
],
1616
"examples": [
17-
"https://openenergyplatform.org/dataedit/view/model_draft/oep_table_example/open_peer_review/"
17+
"https://openenergyplatform.org/database/"
1818
],
1919
"badge": null,
2020
"title": "Path",

oemetadata/v2/v21/example.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
"name": "oep_oemetadata",
55
"title": "OEP OEMetadata Dataset",
66
"description": "A dataset for the OEMetadata examples.",
7-
"topics": [
8-
"model_draft"
9-
],
7+
"extent": {
8+
"name": "Europe",
9+
"@id": "https://www.wikidata.org/wiki/Q458"
10+
},
11+
"referenceDate": "2020-01-01",
1012
"languages": [
1113
"en-GB",
1214
"de-DE"
@@ -82,7 +84,7 @@
8284
}
8385
],
8486
"review": {
85-
"path": "https://openenergyplatform.org/dataedit/view/model_draft/oep_table_example/open_peer_review/",
87+
"path": "https://openenergyplatform.org/database/",
8688
"badge": "Platinum"
8789
},
8890
"resources": [
@@ -91,6 +93,9 @@
9193
"path": "example.csv",
9294
"name": "example.csv",
9395
"title": "OEMetadata Table Example",
96+
"topics": [
97+
"model_draft"
98+
],
9499
"description": "Example metadata and table used to illustrate the OEMetadata structure and features.",
95100
"publicationDate": "2024-10-15",
96101
"subject": [
@@ -386,7 +391,7 @@
386391
"decimalSeparator": "."
387392
},
388393
"review": {
389-
"path": "https://openenergyplatform.org/dataedit/view/model_draft/oep_table_example/open_peer_review/",
394+
"path": "https://openenergyplatform.org/database/",
390395
"badge": "Platinum"
391396
}
392397
}

0 commit comments

Comments
 (0)