-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from OpenEnergyPlatform/feature/draft_updated…
…_oem_ressourse_and_datapackge Initiate development of oemetadata v2.0.0 and introduction of new tools
- Loading branch information
Showing
48 changed files
with
7,766 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://raw.githubusercontent.com/OpenEnergyPlatform/oemetadata/master/oemetadata/latest/schema.json", | ||
"description": "Open Energy Plaftorm (OEP) metadata schema latest", | ||
"type": "object", | ||
"properties": { | ||
"jsonLd": { | ||
"$ref": "json_ld.json#" | ||
}, | ||
"general": { | ||
"$ref": "general.json#" | ||
}, | ||
"context": { | ||
"$ref": "context.json#" | ||
}, | ||
"spatial": { | ||
"$ref": "spatial.json#" | ||
}, | ||
"temporal": { | ||
"$ref": "temporal.json#" | ||
}, | ||
"sources": { | ||
"$ref": "sources.json#" | ||
}, | ||
"licenses": { | ||
"$ref": "licences.json#" | ||
}, | ||
"contribution": { | ||
"$ref": "contribution.json#" | ||
}, | ||
"resources": { | ||
"$ref": "resources.json#" | ||
}, | ||
"review": { | ||
"$ref": "review.json#" | ||
}, | ||
"meta": { | ||
"$ref": "meta.json#" | ||
} | ||
}, | ||
"additionalProperties": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "general.json#metadata/v200_draft/schemas/context.json", | ||
"type": "object", | ||
"properties": { | ||
"context": { | ||
"description": "An Object that describes the general setting, evironment or project leading to the creation or maintenance of this dataset. In science this can be the research project.", | ||
"type": "object", | ||
"properties": { | ||
"homepage": { | ||
"description": "URL of project.", | ||
"example": "https://openenergy-platform.org/", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "Homepage", | ||
"format": "uri" | ||
}, | ||
"documentation": { | ||
"description": "A URL of the project's documentation.", | ||
"example": "https://openenergy-platform.org/about/", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "Documentation" | ||
}, | ||
"sourceCode": { | ||
"description": "A URL of the projects source code.", | ||
"example": "https://github.com/OpenEnergyPlatform", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "Source Code" | ||
}, | ||
"contact": { | ||
"description": "A reference to the creator or maintainer of the data set. This can be an email address or a GitHub handle.", | ||
"example": "[email protected]", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "E-Mail Contact", | ||
"format": "email" | ||
}, | ||
"grantNo": { | ||
"description": "An identifying grant number. In case of a publicly funded project, this number is assigned by the funding agency.", | ||
"example": "01AB2345", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "Grant no" | ||
}, | ||
"fundingAgency": { | ||
"description": "In a funded project this is the funding agency, which can be a governmental or a company.", | ||
"example": "Bundesministerium für Wirtschaft und Klimaschutz", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "Funding agency" | ||
}, | ||
"fundingAgencyLogo": { | ||
"description": "A URL to the logo or image of the funding agency.", | ||
"example": "https://commons.wikimedia.org/wiki/File:BMWi_Logo_2021.svg#/media/File:BMWi_Logo_2021.svg", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "Funding agency logo", | ||
"format": "uri" | ||
}, | ||
"publisherLogo": { | ||
"description": "A URL to the logo of the agency publishing the data.", | ||
"example": "https://reiner-lemoine-institut.de//wp-content/uploads/2015/09/rlilogo.png", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Gold", | ||
"title": "Publisher logo", | ||
"format": "uri" | ||
} | ||
}, | ||
"badge": "Gold", | ||
"title": "Context", | ||
"additionalProperties": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "general.json#metadata/v200_draft/schemas/contribution.json", | ||
"type": "object", | ||
"properties": { | ||
"contributors": { | ||
"description": "The people or organizations who contributed to this data package. List of objects.", | ||
"type": "array", | ||
"items": { | ||
"description": "A person or organizations who contributed to this data package. Each object refers to one contributor. Every contributor must have a title and property. A path, email, role and organization properties are optional extras.", | ||
"type": "object", | ||
"properties": { | ||
"title": { | ||
"description": "Name/title of the contributor (name for a person, name or title for an organization).", | ||
"example": "John Doe", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Bronze", | ||
"title": "Title" | ||
}, | ||
"email": { | ||
"description": "E-mail address of the contributor.", | ||
"example": "[email protected]", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Bronze", | ||
"title": "Email", | ||
"format": "email" | ||
}, | ||
"date": { | ||
"description": "Date of the contribution. If the contribution took more than a day, use the date of the final contribiution. Date Format is ISO 8601.", | ||
"example": "2016-06-16", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Bronze", | ||
"title": "Date", | ||
"format": "date" | ||
}, | ||
"object": { | ||
"description": "Target of contribution. Which part of the package was supplied/changed.", | ||
"example": "data and metadata", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Bronze", | ||
"title": "Object" | ||
}, | ||
"comment": { | ||
"description": "Free text comment on what has been done.", | ||
"example": "Fix typo in the title.", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"badge": "Bronze", | ||
"title": "Comment" | ||
} | ||
}, | ||
"badge": "Bronze", | ||
"title": "Contributors", | ||
"additionalProperties": false | ||
}, | ||
"badge": "Bronze", | ||
"title": "Contributors" | ||
} | ||
} | ||
} |
Oops, something went wrong.