Update Datenbankschema authored by Pollack, Philipp's avatar Pollack, Philipp
# Publications
```
{
"_id": <string>,
"doi": <string>,
"publisher": <Publisher>,
"journal": <Journal>,
"year": <int?>,
"published_date": <string>,
"oa_color": <int?>,
"license": <string>,
"source_data": <PublicationSourceData>,
"updated": <DateTime?>
}
```
# PublicationSourceData
```
{
"source": <string>,
"source_id": <string>,
"updated": <DateTime?>,
"organisations": [ <Organisation>, <...> ],
"citation_count": <long?>,
"url": <string>
}
```
| Feld | Wert | Beschreibung |
| ------ | ------ | ------ |
| `doi` | `{string}` | DOI der Publikation |
| `publisher.name` | `{string}` | Verlagsname |
| `publisher.oa_color` | `{int}` | OA-Farbe des Verlags |
| `journal.title` | `{string}` | Zeitschriftentitel |
| `journal.oa_color` | `{int}` | OA-Farbe der Zeitschrift |
| `journal.issns` | `[ {string}, ... ]` | ISSNs der Zeitschrift|
| `journal.flags` | `[ {string}, ... ]` | Merkmale der Zeitschrift|
| `journal.agreements` | `[ {string}, ... ]` | Transformationsverträge denen die Zeitschrift angehört |
| `journal.title` | `{string}` | Zeitschriftentitel |
| `year` | `{int}` | Jahr der Veröffentlichung |
| `published_date` | `{DateTime}` | Datum der Veröffentlichung |
| `oa_color` | `{int}` | OA-Farbe der Publikation |
| `license` | `{string}` | ggf. CC-Lizenz der Publikation |
| `source_data.source` | `{string}` | Herkunftsquelle der Daten unterhalb von `source_data` |
| `source_data.source_id` | `{string}` | ID im Quellsystem |
| `source_data.updated` | `{DateTime}` | letzter Aktualisierungslauf der Quelldaten |
| `source_data.organisations._id` | `{string}` | ROR-ID der Einrichtung |
| `source_data.organisations.grid_id` | `{string}` | GRID-ID der Einrichtung |
| `source_data.organisations.name` | `{string}` | Name der Einrichtung |
| `source_data.organisations.aliases` | `[ {string}, ... ]` | Aliases für die Einrichtung |
| `source_data.organisations.acronyms` | `[ {string}, ... ]` | Akronyme für die Einrichtung |
| `source_data.organisations.type` | `{string}` | Typ der Einrichtung |
| `source_data.organisations.address.city` | `{string}` | Stadt |
| `source_data.organisations.address.state` | `{string}` | Bundesland / Kanton |
| `source_data.organisations.address.state_code` | `{string}` | ISO-3166-2-Code |
| `source_data.organisations.address.country` | `{string}` | Land |
| `source_data.organisations.address.country_code` | `{string}` | ISO-3166-1-Code |
| `source_data.organisations.labels.label` | `{string}` | Alternativer Name für die Einrichtung |
| `source_data.organisations.labels.iso639` | `{string}` | Sprache des alternativen Namens |
| `source_data.organisations.relationships.type` | `{string}` | Art der Beziehung |
| `source_data.organisations.relationships.id` | `{string}` | ROR-ID der in Beziehung stehenden Einrichtung |
| `source_data.organisations.corresponding` | `{bool}` | Ist der Korrespondenzautor von dieser Einrichtung |
| `source_data.citation_count` | `{int}` | Anzahl Zitierungen |
| `source_data.url` | `{string}` | URL zum Quellsystem |
| `updated` | `{DateTime}` | letzter Aktualisierungslauf |
# PublicationCosts
```
{
"_id": <string>,
"publisher": <Publisher>,
"journal": <Journal>,
"doi": <string>,
"oa_color": <int?>,
"published_date": <string>,
"license": <string>,
"source_data": [ <PublicationCostItem>, <...> ],
"updated": <DateTime?>
}
```
# PublicationCostItem
```
{
"source": <string>,
"updated": <DateTime?>,
"organisations": <Organisation>,
"year": <int?>,
"apc": <double?>,
"colour_charges": <double?>,
"cover": <double?>,
"hybrid_oa": <double?>,
"other": <double?>,
"page_charges": <double?>,
"publication_charges": <double?>,
"reprint": <double?>,
"submission_fee": <double?>,
"total": <double>
}
```
# Publisher
```
{
"_id": <string>,
"updated": <DateTime?>,
"name": <string>,
"oa_color": <int?>
}
```
# Journal
```
{
"_id": <string>,
"updated": <DateTime?>,
"title": <string>,
"oa_color": <int?>,
"issns": [ <string>, <...> ],
"flags": [ <string>, <...> ],
"agreements": [ <string>, <...> ]
}
```
# Organisation
```
{
"_id": <string>,
"updated": <DateTime?>,
"grid_id": <string>,
"name": <string>,
"aliases": [ <string>, <...> ],
"acronyms": [ <string>, <...> ],
"type": <string>,
"address": <RorAddress>,
"labels": <RorLabels>,
"relationships": <RorRelation>,
"corresponding": <bool?>
}
```
# RorAddress
```
{
"city": <string>,
"state": <string>,
"state_code": <string>,
"country": <string>,
"country_code": <string>,
"lat": <double?>,
"lng": <double?>,
"primary": <bool>,
"postcode": <string>,
}
```
# RorLabel
```
{
"label": <string>,
"iso639": <string>
}
```
# RorRelation
```
{
"type": <string>,
"id": <string>
}
```
\ No newline at end of file
| Feld | Wert| Beschreibung|
| ------ | ------ | ------ |
| `doi` | `{string}` | DOI der Publikation |
| `publisher.name` | `{string}` | Verlagsname |
| `publisher.oa_color` | `{int}` | OA-Farbe des Verlags |
| `journal.title` | `{string}` | Zeitschriftentitel |
| `journal.oa_color` | `{int}` | OA-Farbe der Zeitschrift |
| `journal.issns` | `[ {string}, ... ]` | ISSNs der Zeitschrift|
| `journal.flags` | `[ {string}, ... ]` | Merkmale der Zeitschrift|
| `journal.agreements` | `[ {string}, ... ]` | Transformationsverträge denen die Zeitschrift angehört |
| `journal.title` | `{string}` | Zeitschriftentitel |
| `published_date` | `{DateTime}` | Datum der Veröffentlichung |
| `oa_color` | `{int}` | OA-Farbe der Publikation |
| `license` | `{string}` | ggf. CC-Lizenz der Publikation |
| `source_data.source` | `{string}` | Herkunftsquelle der Daten unterhalb von `source_data` |
| `source_data.updated` | `{DateTime}` | letzter Aktualisierungslauf der Quelldaten |
| `source_data.year` | `int` | Jahr der Kosten |
| `source_data.organisations._id` | `{string}` | ROR-ID der Einrichtung |
| `source_data.organisations.grid_id` | `{string}` | GRID-ID der Einrichtung |
| `source_data.organisations.name` | `{string}` | Name der Einrichtung |
| `source_data.organisations.aliases` | `[ {string}, ... ]` | Aliases für die Einrichtung |
| `source_data.organisations.acronyms` | `[ {string}, ... ]` | Akronyme für die Einrichtung |
| `source_data.organisations.type` | `{string}` | Typ der Einrichtung |
| `source_data.organisations.address.city` | `{string}` | Stadt |
| `source_data.organisations.address.state` | `{string}` | Bundesland / Kanton |
| `source_data.organisations.address.state_code` | `{string}` | ISO-3166-2-Code |
| `source_data.organisations.address.country` | `{string}` | Land |
| `source_data.organisations.address.country_code` | `{string}` | ISO-3166-1-Code |
| `source_data.organisations.labels.label` | `{string}` | Alternativer Name für die Einrichtung |
| `source_data.organisations.labels.iso639` | `{string}` | Sprache des alternativen Namens |
| `source_data.organisations.relationships.type` | `{string}` | Art der Beziehung |
| `source_data.organisations.relationships.id` | `{string}` | ROR-ID der in Beziehung stehenden Einrichtung |
| `source_data.apc` | `{double}` | für die Publikation gezahlte APC |
| `source_data.colour_charges` | `{double}` | für die Publikation gezahlte Colour Charges |
| `source_data.cover` | `{double}` | für die Publikation gezahlte Cover-Kosten |
| `source_data.hybrid_oa` | `{double}` | für die Publikation gezahlte Hybrid OA-Kosten |
| `source_data.other` | `{double}` | für die Publikation gezahlte sonstige Kosten |
| `source_data.page_charges` | `{double}` | für die Publikation gezahlte Page Charges |
| `source_data.publication_charges` | `{double}` | für die Publikation gezahlte Publication Charges |
| `source_data.reprint` | `{double}` | für die Publikation gezahlte Reprint-Kosten |
| `source_data.submission_fee` | `{double}` | für die Publikation gezahlte Submission Fees |
| `source_data.total` | `{double}` | Gesamtausgaben für die Publikation |
| `updated` | `{DateTime}` | letzter Aktualisierungslauf |
\ No newline at end of file