Created
October 27, 2013 17:25
-
-
Save tpoisot/7185316 to your computer and use it in GitHub Desktop.
Scheme for scriptoria papers
This file contains hidden or 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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "Scriptoria object", | |
"description": "Meta-data about a publication registered in scriptoria", | |
"type": "object", | |
"properties": { | |
"source": { | |
"description": "URI of the original repository", | |
"type": "string" | |
}, | |
"type": { | |
"description": "Type of document", | |
"type": "string", | |
"enum": ["article","thesis","conference","chapter","book"] | |
}, | |
"status": { | |
"description": "Current status of the document", | |
"type": "string", | |
"enum": ["published", "under review", "in preparation"] | |
} | |
"title": { | |
"description": "Title of the contribution", | |
"type": "string" | |
}, | |
"abstract": { | |
"description": "Abstract", | |
"type": "string" | |
}, | |
"authors": { | |
"description": "list of authors", | |
"type": "object", | |
[{ | |
"first": { | |
"description": "Author first name", | |
"type": "string" | |
}, | |
"last": { | |
"description": "Author last name", | |
"type": "string" | |
}, | |
"initials": { | |
"description": "Author initials", | |
"type": "string" | |
}, | |
"email": { | |
"description": "Author email", | |
"type": "string" | |
}, | |
"orcid": { | |
"description": "ORCID identifier", | |
"type": "string" | |
}, | |
"corresponding": { | |
"description": "Is this author responsible for correspondance?", | |
"type": "boolean" | |
}, | |
"first_author": { | |
"description": "Is this author (one of the) first author(s)?", | |
"type": "boolean" | |
}, | |
"last_author": { | |
"description": "Is this author (one of the) first author(s)?", | |
"type": "boolean" | |
} | |
}] | |
}, | |
"doi": { | |
"description": "DOI of the contribution", | |
"type": "string" | |
}, | |
"dataset": { | |
"description": "DOI of the associated dataset", | |
"type": "string" | |
}, | |
"required": ["source", "type", "status", "authors"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment