In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

RecordSet.kt 4.63 KB
Newer Older
Jonas Waeber's avatar
Jonas Waeber committed
1
/*
Jonas Waeber's avatar
Jonas Waeber committed
2
 * Drupal Sync Service
Jonas Waeber's avatar
Jonas Waeber committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 * Copyright (C) 2020 Memoriav
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
Jonas Waeber's avatar
Jonas Waeber committed
18
package org.memobase.model
Jonas Waeber's avatar
Jonas Waeber committed
19

20
data class RecordSet(
Jonas Waeber's avatar
Jonas Waeber committed
21
22
23
    /* Publikations Status */
    val status: Boolean,
    /* 0.1 Titel (Memobase) */
24
25
26
    val title: String,
    val title_fr: String,
    val title_it: String,
Jonas Waeber's avatar
Jonas Waeber committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    /* 0.2.1 Thumbnail Searchresult */
    val computed_teaser_image_url: String?,
    /* 1.1 Inhalt */
    val field_content: RichText?,
    val field_content_fr: RichText?,
    val field_content_it: RichText?,
    /* 1.2 Entstehungszeitrum */
    val field_time_period: String?,
    /// 1.3 Sprache
    val field_language_de: String?,
    val field_language_fr: String?,
    val field_language_it: String?,
    /* 1.4 Zugang Memobase */
    val field_access_memobase: List<RichText>,
    val field_access_memobase_fr: List<RichText>,
    val field_access_memobase_it: List<RichText>,
    /* 2.1 Kontext */
    val field_context: RichText?,
    val field_context_fr: RichText?,
    val field_context_it: RichText?,
    /* 3.1 Titel (original) */
    val field_original_title: String?,
    val field_original_title_fr: String?,
    val field_original_title_it: String?,
    /* 3.2 Umfang */
    val field_scope: RichText?,
    val field_scope_fr: RichText?,
    val field_scope_it: RichText?,
    /* 3.3 Auswahl */
    val field_selection_de: RichText?,
    val field_selection_fr: RichText?,
    val field_selection_it: RichText?,
    // 3.4 Informationen zur Erschliessung
    val field_info_on_development_de: RichText?,
    val field_info_on_development_fr: RichText?,
    val field_info_on_development_it: RichText?,
    /* 3.5 Sprache Metadaten */
    val field_metadata_language_codes: List<String>,
    /* 3.6 Rechte */
    val field_rights_de: RichText?,
    val field_rights_fr: RichText?,
    val field_rights_it: RichText?,
    /* 3.7 Originaler Identifier */
    val field_original_id: String?,
    /* 3.8 Bestandes Signatur */
    val field_original_shelf_mark: String?,
    /* 3.9 Beschreibung */
74
75
76
    val field_text: RichText?,
    val field_text_fr: RichText?,
    val field_text_it: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
    /* 3.9 Original Bestandesbeschreibung (Titel) */
    /* 3.9.1 Original Bestandesbeschreibung (Link) */
    val field_original_description: Link?,
    val field_original_description_it: Link?,
    val field_original_description_fr: Link?,
    /* 4.1 Zugang */
    val field_access: List<RichText>,
    val field_access_fr: List<RichText>,
    val field_access_it: List<RichText>,
    /* 4.2 Original Institution */
    val field_resp_institution_original: List<String>,
    /* 4.3 Master Institution */
    val field_resp_institution_master: List<String>,
    /* 4.4 Zugangs Institution*/
    val field_resp_institution_access: List<String>,
    /* 5.1 Projektname */
    /* 5.2 Projektbeschreibung (Link) */
    val field_project: List<Link>,
    val field_project_fr: List<Link>,
    val field_project_it: List<Link>,
    /* 5.1 Verwandte Bestände (Titel) */
    /* 5.2 Verwandte Bestände (Link) */
    val field_related_record_sets: List<Link>,
    val field_related_record_sets_fr: List<Link>,
    val field_related_record_sets_it: List<Link>,
    /* 5.5 Puplikation (Titel) */
    /* 5.6 Publikation (Link) */
    val field_publications: List<Link>,
    val field_publications_fr: List<Link>,
    val field_publications_it: List<Link>,
    /* 5.7 Verwandte Dokumente (Titel) */
    /* 5.8 Verwandte Dokumente (Link) */
    val field_documents: Link?,
    val field_documents_fr: Link?,
    val field_documents_it: Link?,
    /* 6.1 Datenübernahme */
    val field_data_transfer: RichText?,
    val field_data_transfer_fr: RichText?,
    val field_data_transfer_it: RichText?,
    /* 6.2 Datum Übernahme (YYYY-MM-DD) */
    val field_transfer_date: String?,
    /* 6.4 Memobase ID (Neu)*/
119
    val field_memobase_id: String,
Jonas Waeber's avatar
Jonas Waeber committed
120
    /* 8.1 Unterstützt durch Memoriav */
121
    val field_supported_by_memoriav: Boolean,
Jonas Waeber's avatar
Jonas Waeber committed
122
    /* 8.2 Institution */
123
    val field_institution: List<String>,
Jonas Waeber's avatar
Jonas Waeber committed
124
125
    /* 9.3 Memobase ID (Alt)*/
    val field_old_memobase_id: String?
126
) : Input("RecordSet")