KEYS.kt 2.1 KB
Newer Older
Jonas Waeber's avatar
Jonas Waeber committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * search-doc-service
 * 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/>.
 */
18

Jonas Waeber's avatar
Jonas Waeber committed
19
package org.memobase
Jonas Waeber's avatar
Jonas Waeber committed
20

21
object KEYS {
22

23
    const val entityId = "@id"
24
    const val atType = "@type"
25
26
    const val isPublished = "isPublished"

27
28
29
30
    const val ricoType = "type"
    const val firstName = "firstName"
    const val lastName = "lastName"
    const val name = "name"
Jonas Waeber's avatar
Jonas Waeber committed
31
32
    const val title = "title"
    const val prefLabel = "prefLabel"
33
34
    const val agentIsTargetOfCreationRelation = "agentIsTargetOfCreationRelation"

Jonas Waeber's avatar
Jonas Waeber committed
35
36
37
38
39
40
    const val hasSubject = "hasSubject"
    const val placeOfCapture = "P60556"
    const val spatial = "spatial"
    const val producer = "P60441"
    const val publishedBy = "publishedBy"

41
42
43
    const val isPartOf = "isPartOf"
    const val heldBy = "heldBy"

44
45
    const val contributor = "contributor"
    const val creator = "creator"
46

47
    const val Person = "Person"
48
49
    const val CorporateBody = "CorporateBody"
    const val Agent = "Agent"
50
    const val Place = "Place"
Jonas Waeber's avatar
Jonas Waeber committed
51
52
    const val Title = "Title"

Jonas Waeber's avatar
Jonas Waeber committed
53
54
55
56
57
58
59
60
    // Dates
    const val DateSet = "DateSet"
    const val DateRange = "DateRange"
    const val SingleDate = "SingleDate"
    const val issued = "issued"
    const val created = "created"
    const val temporal = "temporal"

Jonas Waeber's avatar
Jonas Waeber committed
61
62
63
64
65
66
67
68
69
70
    const val Instantiation = "Instantiation"
    const val Record = "Record"

    const val Concept = "Concept"

    object TitleTypes {
        const val main = "main"
        const val series = "series"
        const val broadcast = "broadcast"
    }
71
}