Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dev:client_coding:direct_sqlite_database_access [2020/12/24 12:40] – [Direct Access to the Zotero SQLite Database] dstillmandev:client_coding:direct_sqlite_database_access [2022/08/14 00:22] (current) – [Zotero Client Data Model] dstillman
Line 9: Line 9:
 ====== Zotero Client Data Model ====== ====== Zotero Client Data Model ======
  
-Each bibliographic record in Zotero has an "item type" (book, journal article, thesis, …), a set of fields (author, title, date, …), and field values. The selection of fields depends on the item type; for instance, a thesis has a "university" field which other items do not have.+Each bibliographic record in Zotero has an "item type" (book, journal article, thesis, …), a set of fields (author, title, date, …), and field values. The selection of fields depends on the item type.
  
-Item types and fields, as well as translations into various languages, are defined in the[[https://github.com/zotero/zotero-schema/tree/master|Zotero data schema]]. Zotero can be used in many languages, but you should always refer to item types and fields with their internal name as defined in data schema.+Item types and fields, as well as mappings to CSL types and fields and translations into various languages, are defined in the [[https://github.com/zotero/zotero-schema/tree/master|Zotero data schema]]. Zotero can be used in many languages, but you should always refer to item types and fields with their internal name as defined in the data schema.
  
 In theory, you can change and add item types and fields, but this will break Zotero sync and may make break many parts of Zotero functionality, such as item import and citation formatting. If you need to add additional information to your records, you should use the "Extra" field that is available for all item types.  In theory, you can change and add item types and fields, but this will break Zotero sync and may make break many parts of Zotero functionality, such as item import and citation formatting. If you need to add additional information to your records, you should use the "Extra" field that is available for all item types. 
Line 21: Line 21:
   * a set of links to related items   * a set of links to related items
  
-Attachments (PDFs, snapshots, etc.) are stored inside the [[:zotero_data|Zotero data directory]], in separate subdirectories named after the ID of the item they belong to.+Attachments (PDFs, snapshots, etc.) are stored inside the [[:zotero_data|Zotero data directory]], in separate subdirectories named after the key of the item they belong to.
  
 For a list of the internal names of fields, their English equivalents, and their CSL mappings, see the [[https://aurimasv.github.io/z2csl/typeMap.xml|CSL/Zotero Metadata Field Index]]. For a list of the internal names of fields, their English equivalents, and their CSL mappings, see the [[https://aurimasv.github.io/z2csl/typeMap.xml|CSL/Zotero Metadata Field Index]].
dev/client_coding/direct_sqlite_database_access.1608831634.txt.gz · Last modified: 2020/12/24 12:40 by dstillman