-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metadata schema for InvenioRDM along with a test
- Loading branch information
1 parent
46fd602
commit f833b75
Showing
3 changed files
with
548 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
pass-core-metadataschema-service/src/main/resources/schemas/jhu/inveniordm.json
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,30 @@ | ||
{ | ||
"title": "InvenioRDM schema", | ||
"description": "InvenioRDM-specific metadata requirements", | ||
"$id": "https://eclipse-pass.github.io/pass-metadata-schemas/schemas/jhu/inveniordm.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"definitions": { | ||
"form": { | ||
"title": "InvenioRDM <br><p class='lead text-muted'>Deposit requirements for InvenioRDM</p>", | ||
"type": "object", | ||
"properties": { | ||
"authors": { | ||
"$ref": "global.json#/properties/authors" | ||
} | ||
}, | ||
"required": ["authors", "publicationDate"] | ||
}, | ||
"options": { | ||
"$ref": "global.json#/options" | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "global.json#" | ||
}, | ||
{ | ||
"$ref": "#/definitions/form" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.