/* * 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 . */ package org.memobase.helpers object KEYS { object SettingsProps { const val accessTermLabelsPath = "accessTermLabelsPath" const val reuseStatementLabelsPath = "reuseStatementLabelsPath" const val documentTypeLabelsPath = "documentTypeLabelsPath" const val mediaUrl = "media.url" const val institutionTypeLabelsPath = "institutionTypeLabelsPath" const val elasticHost = "elastic.host" const val elasticPort = "elastic.port" const val elasticIndex = "elastic.index" } const val entityId = "@id" const val atType = "@type" // internal values const val isPublished = "isPublished" const val teaserColor = "teaserColor" const val teaserColorComputed = "teaserColorComputed" // Namespace rico: const val ricoType = "type" const val firstName = "firstName" const val lastName = "lastName" const val name = "name" const val title = "title" const val descriptiveNote = "descriptiveNote" const val isHolderOf = "isHolderOf" const val resultsFrom = "resultsFrom" const val affects = "affects" const val agentIsTargetOfCreationRelation = "agentIsTargetOfCreationRelation" const val spatial = "spatial" const val publishedBy = "publishedBy" const val isPartOf = "isPartOf" const val heldBy = "heldBy" const val identifiedBy = "identifiedBy" const val hasSubject = "hasSubject" const val hasLocation = "hasLocation" // rico classes const val Person = "Person" const val CorporateBody = "CorporateBody" const val Agent = "Agent" const val CarrierType = "CarrierType" const val Language = "Language" const val Place = "Place" const val Title = "Title" const val DateSet = "DateSet" const val DateRange = "DateRange" const val SingleDate = "SingleDate" const val Instantiation = "Instantiation" const val Record = "Record" // namespace rda: const val placeOfCapture = "P60556" const val producer = "P60441" const val sponsoredBy = "P60451" // namespace skos: const val prefLabel = "prefLabel" const val Concept = "Concept" // rico:type for rico:Agent const val contributor = "contributor" const val creator = "creator" // namespace dct: const val issued = "issued" const val created = "created" const val temporal = "temporal" // namespace wdt: const val wikidataInstance = "P31" const val wikidataAddresses = "P6375" const val wikidataPostalCodes = "P281" const val wikidataImage = "P18" // namespace ebucore: const val hasGenre = "hasGenre" const val missingLabelDe = "FEHLENDES LABEL" const val missingLabelFr = "L'ÉTIQUETTE MANQUANTE" const val missingLabelIt = "GALATEO MANCANTE" const val missingLabelEn = "MISSING LABEL" object QueryFields { const val recordSetFacet = "recordSet.facet" const val institutionFacet = "institution.facet" } object TitleTypes { const val main = "main" const val series = "series" const val broadcast = "broadcast" } object IdentifierType { const val main = "main" const val oldMemobase = "oldMemobase" const val original = "original" const val callNumber = "callNumber" } object LocationType { const val canton = "canton" const val municipality = "municipality" const val memobaseInstitution = "memobaseInstitution" const val memobaseProject = "memobaseProject" } }