zotero/chrome/content/zotero/import/mendeley/mendeleySchemaMap.js
Dan Stillman 0f4e5ef508 Mendeley import
Accept Mendeley SQLite databases via File → Import… and perform a
direct import, including collections, timestamps, notes, attachments,
and extracted annotations.

When a Mendeley database is present, File → Import… shows a wizard that
lets you choose between a file and Mendeley for the source, and choosing
the latter shows a list of available databases in the Mendeley data
directory.

Known fields that aren't valid for a type are stored in Extra.

Files in the Mendeley 'Downloaded' folder are stored. Files elsewhere
are linked.
2018-06-05 07:52:01 -04:00

103 lines
2.5 KiB
JavaScript

var map = {
83: {
itemTypes: {
Bill: "bill",
Book: "book",
BookSection: "bookSection",
Case: "case",
ComputerProgram: "computerProgram",
ConferenceProceedings: "conferencePaper",
EncyclopediaArticle: "encyclopediaArticle",
Film: "film",
Generic: "document",
JournalArticle: "journalArticle",
MagazineArticle: "magazineArticle",
NewspaperArticle: "newspaperArticle",
Patent: "patent",
Report: "report",
Statute: "statute",
TelevisionBroadcast: "tvBroadcast",
Thesis: "thesis",
WebPage: "webpage",
WorkingPaper: "report"
},
fields: {
id: "",
uuid: "",
reviewedArticle: "",
revisionNumber: "",
publisher: "publisher",
reprintEdition: "",
series: "seriesTitle",
seriesNumber: "seriesNumber",
sections: "section",
seriesEditor: "creator[seriesEditor]", // falls back to editor if necessary
owner: "",
pages: "func[pages]",
month: "", // handled explicitly
originalPublication: "",
publication: "publicationTitle",
publicLawNumber: "publicLawNumber",
pmid: "extra[PMID]",
sourceType: "",
session: "session",
shortTitle: "shortTitle",
volume: "volume",
year: "", // handled explicitly
userType: "type",
country: "place[country]",
dateAccessed: "accessDate",
committee: "committee",
counsel: "creator[counsel]",
doi: "DOI",
edition: "edition",
day: "", // handled explicitly
department: "",
citationKey: "citationKey", // put in Extra
city: "place[city]",
chapter: "",
codeSection: "section",
codeVolume: "codeVolume",
code: "code",
codeNumber: "codeNumber",
issue: "issue",
language: "language",
isbn: "ISBN",
issn: "ISSN",
length: "",
medium: "medium",
lastUpdate: "",
legalStatus: "legalStatus",
hideFromMendeleyWebIndex: "",
institution: "publisher",
genre: "genre",
internationalTitle: "",
internationalUserType: "",
internationalAuthor: "",
internationalNumber: "",
deletionPending: "",
favourite: "", // tag?
confirmed: "", // tag?
deduplicated: "",
read: "", // tag?
type: "", // item type handled separately
title: "title",
privacy: "",
applicationNumber: "applicationNumber",
arxivId: "extra[arXiv]",
advisor: "",
articleColumn: "",
modified: "func[fromUnixtime:dateModified]",
abstract: "abstractNote",
added: "func[fromUnixtime:dateAdded]",
note: "func[note]",
importer: ""
},
creatorTypes: {
DocumentAuthor: "author",
DocumentEditor: "editor",
DocumentTranslator: "translator"
}
}
};