-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathThesisRef.js
30 lines (29 loc) · 1.16 KB
/
ThesisRef.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { CHILDREN, TEXT, STRING } from 'substance'
import { RICH_TEXT_ANNOS } from './modelConstants'
import Reference from './Reference'
/*
<element-citation publication-type="thesis">
<publisher-loc>Nijmegen, The Netherlands</publisher-loc>
<publisher-name>Radboud University Nijmegen Medical Centre</publisher-name>
<year>2006</year>
<person-group person-group-type="author">
<name>
<surname>Schneider</surname>
<given-names>P</given-names>
</name>
</person-group>
<article-title>PhD thesis: Submicroscopic <italic id="italic-2">Plasmodium falciparum</italic> gametocytaemia and the contribution to malaria transmission</article-title>
</element-citation>
*/
export default class ThesisRef extends Reference {}
ThesisRef.schema = {
type: 'thesis-ref', // publication-type="thesis"
title: TEXT(...RICH_TEXT_ANNOS), // <article-title>
authors: CHILDREN('ref-contrib'), // <person-group person-group-type="author">
year: STRING, // <year>
month: STRING, // <month>
day: STRING, // <day>
publisherLoc: STRING, // <publisher-loc>
publisherName: STRING, // <publisher-name>
doi: STRING // <pub-id pub-id-type="doi">
}