Skip to content

Instantly share code, notes, and snippets.

@tpoisot
Created October 27, 2013 17:25
Show Gist options
  • Save tpoisot/7185316 to your computer and use it in GitHub Desktop.
Save tpoisot/7185316 to your computer and use it in GitHub Desktop.
Scheme for scriptoria papers
{
"$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