Skip to content

Commit

Permalink
Merge pull request #150 from OpenEnergyPlatform/feature/helmholtz-ker…
Browse files Browse the repository at this point in the history
…nel-profile-138

Feature/helmholtz kernel profile 138
  • Loading branch information
jh-RLI authored Oct 4, 2024
2 parents 5ba9f41 + 17128a5 commit 34ea1a2
Show file tree
Hide file tree
Showing 8 changed files with 700 additions and 210 deletions.
61 changes: 32 additions & 29 deletions metadata/v200_draft/build_source/schema_structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,38 @@
"description": "A collection of related data resource descriptions and metadata. This may include relational data models which are technically related",
"type": "array",
"items": {
"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#"
},
"resource": {
"$ref": "resource.json#"
},
"review": {
"$ref": "review.json#"
"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#"
},
"provenance": {
"$ref": "provenance.json#"
},
"resource": {
"$ref": "resource.json#"
},
"review": {
"$ref": "review.json#"
}
}
},
"title": "Resources"
Expand Down
74 changes: 0 additions & 74 deletions metadata/v200_draft/build_source/schemas/contribution.json

This file was deleted.

4 changes: 2 additions & 2 deletions metadata/v200_draft/build_source/schemas/json_ld.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"@type": {
"type": "string",
"enum": [
"moss:OEMetadataMod"
"moss:OEMetadataMod", ""
],
"description": "The type of the wasGeneratedBy object.",
"example": "moss:OEMetadataMod"
},
"version": {
"type": "string",
"pattern": "^OEP-[0-9]+\\.[0-9]+\\.[0-9]+$",
"pattern": "^OEP-[0-9]+\\.[0-9]+\\.[0-9]+$|^$",
"description": "The version of the metadata format.",
"example": "1.0.0"
},
Expand Down
230 changes: 230 additions & 0 deletions metadata/v200_draft/build_source/schemas/provenance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "general.json#metadata/v200_draft/schemas/provenance.json",
"type": "object",
"properties": {
"provenance": {
"description": "An object that specifies provenance information of the data contained.",
"type": "object",
"properties": {
"alternateOf": {
"description": "A PID pointing to another FAIR Digital Object which is an alternate of the object referenced by digitalObjectLocation",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Alternate of"
},
"checksum": {
"description": "A checksum used to validate the integrity of the data.",
"example": "abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Checksum"
},
"dateModified": {
"description": "Date of the last modification. Date Format is ISO 8601.",
"example": "2016-06-16",
"type": [
"string",
"null"
],
"badge": null,
"title": "Last modified"
},
"digtalObjectLocationAccessProtocol": {
"description": "Additional information which can be used by an access client for accessing",
"example": null,
"type": [
"string",
"null"
],
"badge": null,
"title": "Digital Object Location Access Protocol"
},
"digitalObjectType": {
"description": "A PID pointing to a data type in a Data Type Registry describing the object referenced by digtalObject Location",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Digital Object Type"
},
"hadPrimarySource": {
"description": "A PID pointing to another FAIR DO which is the primary source of the object referenced by digitalObjectLocation",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Primary Source"
},
"hasMetadata": {
"description": "One or more PIDs referring to related FAIR Digital Objects provding metadata for the object referenced by digitalObjectLocation. It is the innverse to isMetadata for",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Has Metadata"
},
"isMetadataFor": {
"description": "A PID pointing to another FAIR Digital Object decribing the object referenced by digitalObjectLocation. It is the inverse to hasMetadata",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Is Metadata for"
},
"policy": {
"description": "A web-resolveable pointer to a policy object describing e.g. object access and modification policies",
"example": "https://www.example.com",
"type": [
"string",
"null"
],
"badge": null,
"title": "Policy"
},
"provenanceGraph": {
"description": "A PID pointing to another FAIR DO which refers to the provenance graph of the object referenced by digitalObjectLocation",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Provenance Graph"
},
"specializationOf": {
"description": "A PID pointing to another FAIR DO which is a specialization of the object referenced by digitalObjectLocation",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Specialization of"
},
"version": {
"description": "Version of the object referenced by digitalObjectLocation",
"example": "1.2.3",
"type": [
"string",
"null"
],
"badge": null,
"title": "Version"
},

"wasDerivedFrom": {
"description": "A PID pointing to another FAIR Digital Object which the object referenced by digitalObjectLocation was derived from",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Was derived from"
},
"wasRevisionOf": {
"description": "A PID pointing to another FAIR DO which is a revisionof the object referenced by digitalObjectLocation",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Was Revision of"
},
"wasQuotedFrom": {
"description": "A PID pointing to another FAIR DO from which the object referenced by digitalObjectLocation was folly or partly quoted.",
"example": "12.T34567/abcdefghij1234567890",
"type": [
"string",
"null"
],
"badge": null,
"title": "Was quoted from"
},
"contributors": {
"description": "A list of objects that describe contributors and contributions. It contains title, email, date, object and comment.",
"type": "array",
"items": {
"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": null,
"title": "Title"
},
"email": {
"description": "E-mail address of the contributor.",
"example": "[email protected]",
"type": [
"string",
"null"
],
"badge": null,
"title": "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": null,
"title": "Date"
},
"object": {
"description": "Target of contribution. Which part of the package was supplied/changed.",
"example": "data and metadata",
"type": [
"string",
"null"
],
"badge": null,
"title": "Object"
},
"comment": {
"description": "Free text comment on what has been done.",
"example": "Fix typo in the title.",
"type": [
"string",
"null"
],
"badge": null,
"title": "Comment"
}
},
"badge": null,
"title": "Contributors"
},
"badge": null,
"title": "Contributors"
}
},
"badge": null,
"title": "Provenance",
"additionalProperties": false
}
}
}
Loading

0 comments on commit 34ea1a2

Please sign in to comment.