literature.choices#
CSL JSON choices enumerations for item types, name roles, date types and identifier types.
- class DateType(*values)[source]#
Bases:
TextChoicesCSL JSON date-variable slot enumeration (6 values).
Maps to the CSL JSON date-variable field names that can appear on a bibliographic item object.
References
CSL JSON 1.0.2 schema date-variable fields.
- ACCESSED = 'accessed'#
- AVAILABLE_DATE = 'available-date'#
- EVENT_DATE = 'event-date'#
- ISSUED = 'issued'#
- ORIGINAL_DATE = 'original-date'#
- SUBMITTED = 'submitted'#
- class IdentifierType(*values)[source]#
Bases:
TextChoicesKnown CSL JSON identifier field enumeration (6 values).
Lists the well-known identifier field names extracted as top-level CSL JSON properties. Unknown identifier types are also stored, but without choices validation.
Pure acronym labels (DOI, ISBN, ISSN, PMID, PMCID, URL) are exempt from i18n wrapping.
- DOI = 'DOI'#
- ISBN = 'ISBN'#
- ISSN = 'ISSN'#
- PMCID = 'PMCID'#
- PMID = 'PMID'#
- URL = 'URL'#
- class ItemType(*values)[source]#
Bases:
TextChoicesCSL JSON 1.0.2 item type enumeration (45 values).
Four types use underscores in the CSL JSON 1.0.2 schema (legal_case, motion_picture, musical_score, personal_communication) and are stored with underscores. All other types use hyphens.
References
https://resource.citationstyles.org/schema/v1.0/input/json/csl-data.json
- ARTICLE = 'article'#
- ARTICLE_JOURNAL = 'article-journal'#
- ARTICLE_MAGAZINE = 'article-magazine'#
- ARTICLE_NEWSPAPER = 'article-newspaper'#
- BILL = 'bill'#
- BOOK = 'book'#
- BROADCAST = 'broadcast'#
- CHAPTER = 'chapter'#
- CLASSIC = 'classic'#
- COLLECTION = 'collection'#
- DATASET = 'dataset'#
- DOCUMENT = 'document'#
- ENTRY = 'entry'#
- ENTRY_DICTIONARY = 'entry-dictionary'#
- ENTRY_ENCYCLOPEDIA = 'entry-encyclopedia'#
- EVENT = 'event'#
- FIGURE = 'figure'#
- GRAPHIC = 'graphic'#
- HEARING = 'hearing'#
- INTERVIEW = 'interview'#
- LEGAL_CASE = 'legal_case'#
- LEGISLATION = 'legislation'#
- MANUSCRIPT = 'manuscript'#
- MAP = 'map'#
- MOTION_PICTURE = 'motion_picture'#
- MUSICAL_SCORE = 'musical_score'#
- PAMPHLET = 'pamphlet'#
- PAPER_CONFERENCE = 'paper-conference'#
- PATENT = 'patent'#
- PERFORMANCE = 'performance'#
- PERIODICAL = 'periodical'#
- PERSONAL_COMMUNICATION = 'personal_communication'#
- POST = 'post'#
- POST_WEBLOG = 'post-weblog'#
- REGULATION = 'regulation'#
- REPORT = 'report'#
- REVIEW = 'review'#
- REVIEW_BOOK = 'review-book'#
- SOFTWARE = 'software'#
- SONG = 'song'#
- SPEECH = 'speech'#
- STANDARD = 'standard'#
- THESIS = 'thesis'#
- TREATY = 'treaty'#
- WEBPAGE = 'webpage'#
- class NameRole(*values)[source]#
Bases:
TextChoicesCSL JSON name-variable role enumeration (26 values).
Covers all 26 CSL name-variable fields that identify contributors to a bibliographic item and their role.
References
CSL JSON 1.0.2 schema name-variable fields.
- AUTHOR = 'author'#
- CHAIR = 'chair'#
- COLLECTION_EDITOR = 'collection-editor'#
- COMPILER = 'compiler'#
- COMPOSER = 'composer'#
- CONTAINER_AUTHOR = 'container-author'#
- CONTRIBUTOR = 'contributor'#
- CURATOR = 'curator'#
- DIRECTOR = 'director'#
- EDITOR = 'editor'#
- EDITORIAL_DIRECTOR = 'editorial-director'#
- EXECUTIVE_PRODUCER = 'executive-producer'#
- GUEST = 'guest'#
- HOST = 'host'#
- ILLUSTRATOR = 'illustrator'#
- INTERVIEWER = 'interviewer'#
- NARRATOR = 'narrator'#
- ORGANIZER = 'organizer'#
- ORIGINAL_AUTHOR = 'original-author'#
- PERFORMER = 'performer'#
- PRODUCER = 'producer'#
- RECIPIENT = 'recipient'#
- REVIEWED_AUTHOR = 'reviewed-author'#
- SCRIPT_WRITER = 'script-writer'#
- SERIES_CREATOR = 'series-creator'#
- TRANSLATOR = 'translator'#