UNPKG

@dasch-swiss/dsp-js

Version:

JavaScript library that handles API requests to Knora

296 lines 26.1 kB
var Constants = /** @class */ (function () { function Constants() { } Constants.StandardMapping = "http://rdfh.ch/standoff/mappings/StandardMapping"; Constants.KnoraApi = "http://api.knora.org"; Constants.KnoraApiV2 = Constants.KnoraApi + "/ontology/knora-api/v2"; Constants.HashDelimiter = "#"; Constants.IsDeleted = Constants.KnoraApiV2 + Constants.HashDelimiter + "isDeleted"; Constants.IsResourceClass = Constants.KnoraApiV2 + Constants.HashDelimiter + "isResourceClass"; Constants.IsStandoffClass = Constants.KnoraApiV2 + Constants.HashDelimiter + "isStandoffClass"; Constants.IsResourceProperty = Constants.KnoraApiV2 + Constants.HashDelimiter + "isResourceProperty"; Constants.ObjectType = Constants.KnoraApiV2 + Constants.HashDelimiter + "objectType"; Constants.SubjectType = Constants.KnoraApiV2 + Constants.HashDelimiter + "subjectType"; Constants.IsLinkProperty = Constants.KnoraApiV2 + Constants.HashDelimiter + "isLinkProperty"; Constants.IsLinkValueProperty = Constants.KnoraApiV2 + Constants.HashDelimiter + "isLinkValueProperty"; Constants.IsEditable = Constants.KnoraApiV2 + Constants.HashDelimiter + "isEditable"; Constants.IsInherited = Constants.KnoraApiV2 + Constants.HashDelimiter + "isInherited"; Constants.CanBeInstantiated = Constants.KnoraApiV2 + Constants.HashDelimiter + "canBeInstantiated"; Constants.ResourceIri = Constants.KnoraApiV2 + Constants.HashDelimiter + "resourceIri"; Constants.ResourceClassIri = Constants.KnoraApiV2 + Constants.HashDelimiter + "resourceClassIri"; Constants.StandoffOntology = Constants.KnoraApi + "/ontology/standoff/v2"; Constants.HasStandoffLinkToValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasStandoffLinkToValue"; Constants.XMLToStandoffMapping = Constants.KnoraApiV2 + Constants.HashDelimiter + "XMLToStandoffMapping"; Constants.HasIncomingLinkValue = Constants.KnoraApiV2 + Constants.HashDelimiter + 'hasIncomingLinkValue'; Constants.Resource = Constants.KnoraApiV2 + Constants.HashDelimiter + "Resource"; Constants.MayHaveMoreResults = Constants.KnoraApiV2 + Constants.HashDelimiter + "mayHaveMoreResults"; Constants.ResourceIcon = Constants.KnoraApiV2 + Constants.HashDelimiter + "ResourceIcon"; Constants.ForbiddenResource = Constants.KnoraApiV2 + Constants.HashDelimiter + "ForbiddenResource"; Constants.HasValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasValue"; Constants.HasLinkTo = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasLinkTo"; Constants.IsPartOf = Constants.KnoraApiV2 + Constants.HashDelimiter + "isPartOf"; Constants.BooleanValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "BooleanValue"; Constants.ColorValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "ColorValue"; Constants.GeonameValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "GeonameValue"; Constants.DateValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "DateValue"; Constants.IntValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "IntValue"; Constants.DecimalValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "DecimalValue"; Constants.IntervalValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "IntervalValue"; Constants.ListValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "ListValue"; Constants.ListNode = Constants.KnoraApiV2 + Constants.HashDelimiter + "ListNode"; Constants.TextValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "TextValue"; Constants.LinkValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "LinkValue"; Constants.HasLinkToValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasLinkToValue"; Constants.UriValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "UriValue"; Constants.GeomValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "GeomValue"; Constants.FileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "FileValue"; Constants.AudioFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "AudioFileValue"; Constants.DDDFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "DDDFileValue"; Constants.DocumentFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "DocumentFileValue"; Constants.StillImageFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "StillImageFileValue"; Constants.StillImageExternalFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "StillImageExternalFileValue"; Constants.MovingImageFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "MovingImageFileValue"; Constants.TextFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "TextFileValue"; Constants.ArchiveFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "ArchiveFileValue"; Constants.IsRootNode = Constants.KnoraApiV2 + Constants.HashDelimiter + "isRootNode"; Constants.HasRootNode = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasRootNode"; Constants.HasSubListNode = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasSubListNode"; Constants.TimeValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "TimeValue"; Constants.HasStillImageFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasStillImageFileValue"; Constants.HasTextFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasTextFileValue"; Constants.HasMovingImageFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasMovingImageFileValue"; Constants.HasDocumentFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasDocumentFileValue"; Constants.HasDDDFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasDDDFileValue"; Constants.HasAudioFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasAudioFileValue"; Constants.HasArchiveFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasArchiveFileValue"; Constants.HasRepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasRepresentation"; Constants.StillImageRepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "StillImageRepresentation"; Constants.StillImageAbstractFileValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "StillImageAbstractFileValue"; Constants.MovingImageRepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "MovingImageRepresentation"; Constants.AudioRepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "AudioRepresentation"; Constants.DDDrepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "DDDrepresentation"; Constants.TextRepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "TextRepresentation"; Constants.DocumentRepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "DocumentRepresentation"; Constants.ArchiveRepresentation = Constants.KnoraApiV2 + Constants.HashDelimiter + "ArchiveRepresentation"; Constants.LinkObj = Constants.KnoraApiV2 + Constants.HashDelimiter + "LinkObj"; Constants.Region = Constants.KnoraApiV2 + Constants.HashDelimiter + "Region"; Constants.HasGeometry = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasGeometry"; Constants.HasColor = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasColor"; Constants.HasComment = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasComment"; Constants.IsRegionOfValue = Constants.KnoraApiV2 + Constants.HashDelimiter + "isRegionOfValue"; Constants.AttachedToProject = Constants.KnoraApiV2 + Constants.HashDelimiter + "attachedToProject"; Constants.AttachedToUser = Constants.KnoraApiV2 + Constants.HashDelimiter + "attachedToUser"; Constants.ArkUrl = Constants.KnoraApiV2 + Constants.HashDelimiter + "arkUrl"; Constants.VersionArkUrl = Constants.KnoraApiV2 + Constants.HashDelimiter + "versionArkUrl"; Constants.CreationDate = Constants.KnoraApiV2 + Constants.HashDelimiter + "creationDate"; Constants.ValueCreationDate = Constants.KnoraApiV2 + Constants.HashDelimiter + "valueCreationDate"; Constants.ValueHasUUID = Constants.KnoraApiV2 + Constants.HashDelimiter + "valueHasUUID"; Constants.LastModificationDate = Constants.KnoraApiV2 + Constants.HashDelimiter + "lastModificationDate"; Constants.NewModificationDate = Constants.KnoraApiV2 + Constants.HashDelimiter + "newModificationDate"; Constants.HasPermissions = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasPermissions"; Constants.UserHasPermission = Constants.KnoraApiV2 + Constants.HashDelimiter + "userHasPermission"; Constants.DeletedResource = Constants.KnoraApiV2 + Constants.HashDelimiter + "DeletedResource"; Constants.DeleteDate = Constants.KnoraApiV2 + Constants.HashDelimiter + "deleteDate"; Constants.BooleanValueAsBoolean = Constants.KnoraApiV2 + Constants.HashDelimiter + "booleanValueAsBoolean"; Constants.ColorValueAsColor = Constants.KnoraApiV2 + Constants.HashDelimiter + "colorValueAsColor"; Constants.GeonameValueAsGeonameCode = Constants.KnoraApiV2 + Constants.HashDelimiter + "geonameValueAsGeonameCode"; Constants.DateValueHasCalendar = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasCalendar"; Constants.DateValueHasEndDay = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasEndDay"; Constants.DateValueHasEndEra = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasEndEra"; Constants.DateValueHasEndMonth = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasEndMonth"; Constants.DateValueHasEndYear = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasEndYear"; Constants.DateValueHasStartDay = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasStartDay"; Constants.DateValueHasStartEra = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasStartEra"; Constants.DateValueHasStartMonth = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasStartMonth"; Constants.DateValueHasStartYear = Constants.KnoraApiV2 + Constants.HashDelimiter + "dateValueHasStartYear"; Constants.IntValueAsInt = Constants.KnoraApiV2 + Constants.HashDelimiter + "intValueAsInt"; Constants.SeqNum = Constants.KnoraApiV2 + Constants.HashDelimiter + "seqnum"; Constants.DecimalValueAsDecimal = Constants.KnoraApiV2 + Constants.HashDelimiter + "decimalValueAsDecimal"; Constants.IntervalValueHasStart = Constants.KnoraApiV2 + Constants.HashDelimiter + "intervalValueHasStart"; Constants.IntervalValueHasEnd = Constants.KnoraApiV2 + Constants.HashDelimiter + "intervalValueHasEnd"; Constants.ListValueAsListNode = Constants.KnoraApiV2 + Constants.HashDelimiter + "listValueAsListNode"; Constants.ValueAsString = Constants.KnoraApiV2 + Constants.HashDelimiter + "valueAsString"; Constants.TextValueAsXml = Constants.KnoraApiV2 + Constants.HashDelimiter + "textValueAsXml"; Constants.TextValueHasMapping = Constants.KnoraApiV2 + Constants.HashDelimiter + "textValueHasMapping"; Constants.TextValueAsHtml = Constants.KnoraApiV2 + Constants.HashDelimiter + "textValueAsHtml"; Constants.LinkValueHasTarget = Constants.KnoraApiV2 + Constants.HashDelimiter + "linkValueHasTarget"; Constants.LinkValueHasTargetIri = Constants.KnoraApiV2 + Constants.HashDelimiter + "linkValueHasTargetIri"; Constants.LinkValueHasSource = Constants.KnoraApiV2 + Constants.HashDelimiter + "linkValueHasSource"; Constants.LinkValueHasSourceIri = Constants.KnoraApiV2 + Constants.HashDelimiter + "linkValueHasSourceIri"; Constants.UriValueAsUri = Constants.KnoraApiV2 + Constants.HashDelimiter + "uriValueAsUri"; Constants.GeometryValueAsGeometry = Constants.KnoraApiV2 + Constants.HashDelimiter + "geometryValueAsGeometry"; Constants.DocumentFileValueHasDimX = Constants.KnoraApiV2 + Constants.HashDelimiter + "documentFileValueHasDimX"; Constants.DocumentFileValueHasDimY = Constants.KnoraApiV2 + Constants.HashDelimiter + "documentFileValueHasDimY"; Constants.DocumentFileValueHasPageCount = Constants.KnoraApiV2 + Constants.HashDelimiter + "documentFileValueHasPageCount"; Constants.StillImageFileValueHasDimX = Constants.KnoraApiV2 + Constants.HashDelimiter + "stillImageFileValueHasDimX"; Constants.StillImageFileValueHasDimY = Constants.KnoraApiV2 + Constants.HashDelimiter + "stillImageFileValueHasDimY"; Constants.StillImageFileValueHasIIIFBaseUrl = Constants.KnoraApiV2 + Constants.HashDelimiter + "stillImageFileValueHasIIIFBaseUrl"; /** * @deprecated FileValueHasExternalUrl will be removed in future versions. Use StillImageFileValueHasExternalUrl instead. */ Constants.FileValueHasExternalUrl = Constants.KnoraApiV2 + Constants.HashDelimiter + "fileValueHasExternalUrl"; Constants.StillImageFileValueHasExternalUrl = Constants.KnoraApiV2 + Constants.HashDelimiter + "stillImageFileValueHasExternalUrl"; Constants.AudioFileValueHasDuration = Constants.KnoraApiV2 + Constants.HashDelimiter + "audioFileValueHasDuration"; Constants.MovingImageFileValueHasDimX = Constants.KnoraApiV2 + Constants.HashDelimiter + "movingImageFileValueHasDimX"; Constants.MovingImageFileValueHasDimY = Constants.KnoraApiV2 + Constants.HashDelimiter + "movingImageFileValueHasDimY"; Constants.MovingImageFileValueHasDuration = Constants.KnoraApiV2 + Constants.HashDelimiter + "movingImageFileValueHasDuration"; Constants.MovingImageFileValueHasFps = Constants.KnoraApiV2 + Constants.HashDelimiter + "movingImageFileValueHasFps"; Constants.FileValueHasFilename = Constants.KnoraApiV2 + Constants.HashDelimiter + "fileValueHasFilename"; Constants.FileValueAsUrl = Constants.KnoraApiV2 + Constants.HashDelimiter + "fileValueAsUrl"; Constants.TimeValueAsTimeStamp = Constants.KnoraApiV2 + Constants.HashDelimiter + "timeValueAsTimeStamp"; Constants.ValueHasComment = Constants.KnoraApiV2 + Constants.HashDelimiter + "valueHasComment"; Constants.DeleteComment = Constants.KnoraApiV2 + Constants.HashDelimiter + "deleteComment"; Constants.Result = Constants.KnoraApiV2 + Constants.HashDelimiter + "result"; Constants.CanDo = Constants.KnoraApiV2 + Constants.HashDelimiter + "canDo"; Constants.CannotDoReason = Constants.KnoraApiV2 + Constants.HashDelimiter + "cannotDoReason"; Constants.CannotDoContext = Constants.KnoraApiV2 + Constants.HashDelimiter + "cannotDoContext"; Constants.CanSetCardinalityCheckFailure = Constants.KnoraApiV2 + Constants.HashDelimiter + "canSetCardinalityCheckFailure"; Constants.CanSetCardinalityOntologySubclassCheckFailed = Constants.KnoraApiV2 + Constants.HashDelimiter + "canSetCardinalityOntologySubclassCheckFailed"; Constants.CanSetCardinalityOntologySuperClassCheckFailed = Constants.KnoraApiV2 + Constants.HashDelimiter + "canSetCardinalityOntologySuperClassCheckFailed"; Constants.CanSetCardinalityPersistenceCheckFailed = Constants.KnoraApiV2 + Constants.HashDelimiter + "canSetCardinalityPersistenceCheckFailed"; Constants.CanSetCardinalityKnoraOntologyCheckFailed = Constants.KnoraApiV2 + Constants.HashDelimiter + "canSetCardinalityKnoraOntologyCheckFailed"; Constants.hasCopyrightHolder = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasCopyrightHolder"; Constants.hasAuthorship = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasAuthorship"; Constants.hasLicense = Constants.KnoraApiV2 + Constants.HashDelimiter + "hasLicense"; Constants.MatchText = Constants.KnoraApiV2 + Constants.HashDelimiter + "matchText"; Constants.OntologyName = Constants.KnoraApiV2 + Constants.HashDelimiter + "ontologyName"; Constants.KnoraAdmin = "http://www.knora.org/ontology/knora-admin"; Constants.DefaultSharedOntologyIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "DefaultSharedOntologiesProject"; Constants.SystemProjectIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "SystemProject"; Constants.UnknownUserGroupIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "UnknownUser"; Constants.KnownUserGroupIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "KnownUser"; Constants.CreatorGroupIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "Creator"; Constants.ProjectMemberGroupIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "ProjectMember"; Constants.ProjectAdminGroupIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "ProjectAdmin"; Constants.SystemAdminGroupIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "SystemAdmin"; Constants.UserGroupIRI = Constants.KnoraAdmin + Constants.HashDelimiter + "UserGroup"; Constants.SalsahGui = "http://api.knora.org/ontology/salsah-gui/v2"; Constants.GuiAttribute = Constants.SalsahGui + Constants.HashDelimiter + "guiAttribute"; Constants.GuiOrder = Constants.SalsahGui + Constants.HashDelimiter + "guiOrder"; Constants.GuiElement = Constants.SalsahGui + Constants.HashDelimiter + "guiElement"; Constants.GuiSimpleText = Constants.SalsahGui + Constants.HashDelimiter + "SimpleText"; Constants.GuiTextarea = Constants.SalsahGui + Constants.HashDelimiter + "Textarea"; Constants.GuiRichText = Constants.SalsahGui + Constants.HashDelimiter + "Richtext"; Constants.GuiList = Constants.SalsahGui + Constants.HashDelimiter + "List"; Constants.GuiPulldown = Constants.SalsahGui + Constants.HashDelimiter + "Pulldown"; Constants.GuiRadio = Constants.SalsahGui + Constants.HashDelimiter + "Radio"; Constants.GuiCheckbox = Constants.SalsahGui + Constants.HashDelimiter + "Checkbox"; Constants.GuiDatePicker = Constants.SalsahGui + Constants.HashDelimiter + "Date"; Constants.GuiTimeStamp = Constants.SalsahGui + Constants.HashDelimiter + "TimeStamp"; Constants.GuiInterval = Constants.SalsahGui + Constants.HashDelimiter + "Interval"; Constants.GuiSlider = Constants.SalsahGui + Constants.HashDelimiter + "Slider"; Constants.GuiSpinbox = Constants.SalsahGui + Constants.HashDelimiter + "Spinbox"; Constants.GuiSearchbox = Constants.SalsahGui + Constants.HashDelimiter + "Searchbox"; Constants.GuiGeonames = Constants.SalsahGui + Constants.HashDelimiter + "Geonames"; Constants.GuiColorPicker = Constants.SalsahGui + Constants.HashDelimiter + "Colorpicker"; Constants.GuiGeometry = Constants.SalsahGui + Constants.HashDelimiter + "Geometry"; Constants.GuiFileUpload = Constants.SalsahGui + Constants.HashDelimiter + "Fileupload"; Constants.Owl = "http://www.w3.org/2002/07/owl"; Constants.Ontology = Constants.Owl + Constants.HashDelimiter + "Ontology"; Constants.Class = Constants.Owl + Constants.HashDelimiter + "Class"; Constants.Restriction = Constants.Owl + Constants.HashDelimiter + "Restriction"; Constants.MaxCardinality = Constants.Owl + Constants.HashDelimiter + "maxCardinality"; Constants.MinCardinality = Constants.Owl + Constants.HashDelimiter + "minCardinality"; Constants.Cardinality = Constants.Owl + Constants.HashDelimiter + "cardinality"; Constants.OnProperty = Constants.Owl + Constants.HashDelimiter + "onProperty"; Constants.DataTypeProperty = Constants.Owl + Constants.HashDelimiter + "DatatypeProperty"; Constants.ObjectProperty = Constants.Owl + Constants.HashDelimiter + "ObjectProperty"; Constants.AnnotationProperty = Constants.Owl + Constants.HashDelimiter + "AnnotationProperty"; Constants.Rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns"; Constants.RdfProperty = Constants.Rdf + Constants.HashDelimiter + "Property"; Constants.Rdfs = "http://www.w3.org/2000/01/rdf-schema"; Constants.SubClassOf = Constants.Rdfs + Constants.HashDelimiter + "subClassOf"; Constants.Comment = Constants.Rdfs + Constants.HashDelimiter + "comment"; Constants.Label = Constants.Rdfs + Constants.HashDelimiter + "label"; Constants.LabelEn = Constants.Rdfs + Constants.HashDelimiter + "labelEn"; Constants.Uri = Constants.Rdfs + Constants.HashDelimiter + "uri"; Constants.SubPropertyOf = Constants.Rdfs + Constants.HashDelimiter + "subPropertyOf"; Constants.Xsd = "http://www.w3.org/2001/XMLSchema"; Constants.XsdAnyUri = Constants.Xsd + Constants.HashDelimiter + "anyURI"; Constants.XsdString = Constants.Xsd + Constants.HashDelimiter + "string"; Constants.XsdBoolean = Constants.Xsd + Constants.HashDelimiter + "boolean"; Constants.XsdDecimal = Constants.Xsd + Constants.HashDelimiter + "decimal"; Constants.XsdInteger = Constants.Xsd + Constants.HashDelimiter + "integer"; Constants.XsdDate = Constants.Xsd + Constants.HashDelimiter + "date"; Constants.dateTimeStamp = Constants.Xsd + Constants.HashDelimiter + "dateTimeStamp"; Constants.SchemaNumberOfItems = "http://schema.org/numberOfItems"; Constants.SalsahLink = "salsah-link"; // class on an HTML <a> element that indicates a link to a Knora resource Constants.RefMarker = "ref-marker"; // class on an HTML element that refers to another element in the same document // Project Metadata Constants.Dsp = "http://ns.dasch.swiss"; Constants.SlashDelimiter = "/"; Constants.DspRepo = Constants.Dsp + Constants.SlashDelimiter + "repository"; Constants.DspRepoBase = Constants.DspRepo + Constants.HashDelimiter; Constants.SchemaBase = "https://schema.org"; Constants.ProvBase = "http://www.w3.org/ns/prov"; // Dataset Constants.DspDataset = Constants.DspRepoBase + "Dataset"; Constants.DspHasAbstract = Constants.DspRepoBase + "hasAbstract"; Constants.DspHasAlternativeTitle = Constants.DspRepoBase + "hasAlternativeTitle"; Constants.DspHasConditionsOfAccess = Constants.DspRepoBase + "hasConditionsOfAccess"; Constants.DspHasDateCreated = Constants.DspRepoBase + "hasDateCreated"; Constants.DspHasDateModified = Constants.DspRepoBase + "hasDateModified"; Constants.DspHasDatePublished = Constants.DspRepoBase + "hasDatePublished"; Constants.DspHasDistribution = Constants.DspRepoBase + "hasDistribution"; Constants.DspHasDocumentation = Constants.DspRepoBase + "hasDocumentation"; Constants.DspHasHowToCite = Constants.DspRepoBase + "hasHowToCite"; Constants.DspHasLanguage = Constants.DspRepoBase + "hasLanguage"; Constants.DspHasLicense = Constants.DspRepoBase + "hasLicense"; Constants.DspHasQualifiedAttribution = Constants.DspRepoBase + "hasQualifiedAttribution"; Constants.DspHasStatus = Constants.DspRepoBase + "hasStatus"; Constants.DspHasTitle = Constants.DspRepoBase + "hasTitle"; Constants.DspHasTypeOfData = Constants.DspRepoBase + "hasTypeOfData"; Constants.DspIsPartOf = Constants.DspRepoBase + "isPartOf"; Constants.DspSameAs = Constants.DspRepoBase + "sameAs"; // Project Constants.DspProject = Constants.DspRepoBase + "Project"; Constants.DspHasAlternateName = Constants.DspRepoBase + "hasAlternateName"; Constants.DspHasContactPoint = Constants.DspRepoBase + "hasContactPoint"; Constants.DspHasDataManagementPlan = Constants.DspRepoBase + "hasDataManagementPlan"; Constants.DspHasDescription = Constants.DspRepoBase + "hasDescription"; Constants.DspHasDiscipline = Constants.DspRepoBase + "hasDiscipline"; Constants.DspHasEndDate = Constants.DspRepoBase + "hasEndDate"; Constants.DspHasFunder = Constants.DspRepoBase + "hasFunder"; Constants.DspHasGrant = Constants.DspRepoBase + "hasGrant"; Constants.DspHasKeywords = Constants.DspRepoBase + "hasKeywords"; Constants.DspHasName = Constants.DspRepoBase + "hasName"; Constants.DspHasPublication = Constants.DspRepoBase + "hasPublication"; Constants.DspHasShortcode = Constants.DspRepoBase + "hasShortcode"; Constants.DspHasSpatialCoverage = Constants.DspRepoBase + "hasSpatialCoverage"; Constants.DspHasStartDate = Constants.DspRepoBase + "hasStartDate"; Constants.DspHasTemporalCoverage = Constants.DspRepoBase + "hasTemporalCoverage"; Constants.DspHasURL = Constants.DspRepoBase + "hasURL"; // Person/Organization Constants.DspPerson = Constants.DspRepoBase + "Person"; Constants.DspOrganization = Constants.DspRepoBase + "Organization"; Constants.DspHasAddress = Constants.DspRepoBase + "hasAddress"; Constants.DspHasEmail = Constants.DspRepoBase + "hasEmail"; Constants.DspHasFamilyName = Constants.DspRepoBase + "hasFamilyName"; Constants.DspHasGivenName = Constants.DspRepoBase + "hasGivenName"; Constants.DspHasJobTitle = Constants.DspRepoBase + "hasJobTitle"; Constants.DspIsMemberOf = Constants.DspRepoBase + "isMemberOf"; // Address Constants.SchemaPostalAddress = Constants.SchemaBase + Constants.SlashDelimiter + "PostalAddress"; Constants.SchemaAddressLocality = Constants.SchemaBase + Constants.SlashDelimiter + "addressLocality"; Constants.SchemaPostalCode = Constants.SchemaBase + Constants.SlashDelimiter + "postalCode"; Constants.SchemaStreetAddress = Constants.SchemaBase + Constants.SlashDelimiter + "streetAddress"; // Attribution Constants.DspHasRole = Constants.DspRepoBase + "hasRole"; Constants.ProvAgent = Constants.ProvBase + Constants.HashDelimiter + "agent"; Constants.ProvAttribution = Constants.ProvBase + Constants.HashDelimiter + "Attribution"; // DataManagementPlan Constants.DspDataManagementPlan = Constants.DspRepoBase + "DataManagementPlan"; Constants.DspIsAvailable = Constants.DspRepoBase + "isAvailable"; // Grant Constants.DspGrant = Constants.DspRepoBase + "Grant"; Constants.DspHasNumber = Constants.DspRepoBase + "hasNumber"; Constants.SchemaUrlType = Constants.SchemaBase + Constants.SlashDelimiter + "URL"; Constants.SchemaUrlValue = Constants.SchemaUrlType.toLocaleLowerCase(); Constants.SchemaPropID = Constants.SchemaBase + Constants.SlashDelimiter + "propertyID"; Constants.SchemaPropVal = Constants.SchemaBase + Constants.SlashDelimiter + "PropertyValue"; Constants.SchemaDownload = Constants.SchemaBase + Constants.SlashDelimiter + "DataDownload"; Constants.SchemaPlace = Constants.SchemaBase + Constants.SlashDelimiter + "Place"; return Constants; }()); export { Constants }; //# sourceMappingURL=Constants.js.map