schema location: | http://urn.kb.se/resolve?urn=urn:nbn:se:uu:ub:epc-schema:rs-service-mapping |
targetNamespace: | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping |
Elements |
service-mappings |
diagram | ![]() |
||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||
children | protocol-version datestamp service-mapping | ||||
annotation |
|
||||
source | <xs:element name="service-mappings"> <xs:annotation> <xs:documentation xml:lang="en">This schema defines the XML format that is used to map groups of identifiers to different services. Identifier type and identifier pattern precisely describes the subset of identifiers that belongs to a certain service. This element is the root element and is required.</xs:documentation> <xs:documentation xml:lang="sv">Detta XML-schema definierar ett format som används för att knyta grupper av identifikatorer till olika tjänster. Med hjälp av fälten identifikatortyp och identifikatormönster beskrivs vilka identifikatorer som tillhör en viss tjänst. Detta elementet är rotelementet och är obligatoriskt.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="protocol-version"> <xs:annotation> <xs:documentation xml:lang="en">Protocol version. The latest protocol version is 3.0. This element is required.</xs:documentation> <xs:documentation xml:lang="sv">Protokollversion. Senaste versionnummer är 3.0. Obligatoriskt element.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="3.0"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="datestamp" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en">This datestamp element contains the date when the file was last changed. With the help of this information Resolution Service can check if any of the service mapping records have been changed since last read. If no records have been changed or added the server do not need to read the file and this reduces the server load. The ISO standard 8601 is used. The element is optional (if it is missing the Resolution Service reads the file each time). The XML attribute "type" is required and should have the value "modified".</xs:documentation> <xs:documentation xml:lang="sv">Detta elementet innehåller datum och tid när denna XML-fil senast ändrades. Med hjälp av denna uppgift kan Resolution Service kontrollera om någon av posterna ändrats sedan senaste inläsningen. Om inga poster ändrats behöver filen inte läsas in av servern, vilket minskar belastningen på servern. Datumet skrivs enligt standarden ISO 8601. Elementet är valfritt (om elementet inte används läses filen alltid in av Resolution Service). XML-attributet "type" är obligatoriskt och måste ha värdet "modified".</xs:documentation> </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:token"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="modified"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="service-mapping" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation xml:lang="en">A service mapping record. Zero or more records are allowed.</xs:documentation> <xs:documentation xml:lang="sv">En post med mappningar till olika tjänster. Noll eller flera poster kan finnas.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="identifier-type"> <xs:annotation> <xs:documentation xml:lang="en">Identifier types supported are urn, doi and handle. Valid content of this element is "urn", "doi" or "hdl". The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Identifikatortyper som stödjs är urn, doi och handle. Detta element kan ha ett av följande värden "urn", "doi" eller "hdl". Elementet är obligatoriskt.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="urn"/> <xs:enumeration value="doi"/> <xs:enumeration value="hdl"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="identifier-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">An identifier pattern is a text string that describes what group of identifiers of the chosen identifier type (see identifier-type element) that should use the following services (see the services element). If this element contains an asterisk character (*) all identifiers of the chosen identifier type will match. Otherwise the system will try to match the content of this element to the prefix of the identifiers. The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element definierar vilka identifikatorer av angiven typ (se identifier-type elementet) som ska använda de tjänster som beskrivs under services elementet. Om innehållet är en asterisk (*) matchas samtliga identifikatorer av den valda typen. Annars försöker Resolution Service att matcha elementets innehåll mot identifikatorernas prefix. Elementet är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="services"> <xs:annotation> <xs:documentation xml:lang="en">Resolution Service should forward/redirect the user to one of the specified services. The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Tjänster som Resolution Service ska vidarebefordra användaren till. Obligatoriskt element.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="service" maxOccurs="unbounded"> <xs:annotation> <xs:documentation xml:lang="en">A service has a status: "activated" (must work) or "inactivated" (do not need to work because the service has moved to another location or will soon be moved to another location or the service has ceased to exist). The mandatory XML attribute "status" must have a value of either "activated" or "inactivated". At least one activated service must be defined.</xs:documentation> <xs:documentation xml:lang="sv">Varje tjänst har ett av följande tillstånd: "activated" (dessa måste fungera) eller "inactivated" (behöver inte fungera med betydelsen "har tagits ur bruk" eller "kommer inom en snar framtid att tas ur bruk" eller "har upphört"). XML-attributet "status" måste ha värdet "activated" eller "inactived". Minst en tjänst (service) med tillståndet "activated" måste finnas.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="datestamp" minOccurs="0" maxOccurs="2"> <xs:annotation> <xs:documentation xml:lang="en">The service element may have a datestamp element that tells the system from and to which date/time an address (see url-pattern element) is active. If the parent service element is inactivated the datestamp specified in this element has no effect in the Resolution Service because the service is inactivated. The element is optional. The XML attribute "type" is required and must have either the value "activated" or "inactivated".</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element talar om när addressen till tjänsten (se url-pattern) gjordes aktiv eller inaktiv. Om service elementet har tillståndet "inactivated" kommer denna uppgift inte att påverka när länken blir tillgänglig eller otillgänglig i Resolution Service. Elementet är valfritt. XML-attributet "type" är obligatoriskt och beskriver elementets tillstånd. Giltiga värden på attributet "type" är "activated" eller "inactivated".</xs:documentation> </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:token"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="url-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">This URL pattern is a text string that describes an URL to a service. The placeholder "$PID" in the pattern is replaced by the current persistent identifier before the Resolution Service forwards/redirects the user to the service. If the URL pattern starts with the base URL put into Resolution Service main configuration file the local Resolution Service is used. This element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element beskriver hur en URL till en tjänst ser ut. Om strängen "$PID" används ersätts den automatiskt av Resolution Service till aktuell identifikator innan användare vidarebefordras till tjänsten. Om innehållet i detta element börjar med innehållet som finns i fältet basURL (base URL på engelska) i Resolution Service:s huvudkonfigurationsfil används den lokala tjänsten. Detta element är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:attribute name="status" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||
type | restriction of xs:token | ||||
facets |
|
||||
annotation |
|
||||
source | <xs:element name="protocol-version"> <xs:annotation> <xs:documentation xml:lang="en">Protocol version. The latest protocol version is 3.0. This element is required.</xs:documentation> <xs:documentation xml:lang="sv">Protokollversion. Senaste versionnummer är 3.0. Obligatoriskt element.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="3.0"/> </xs:restriction> </xs:simpleType> </xs:element> |
diagram | ![]() |
||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||
children | identifier-type identifier-pattern services | ||||
annotation |
|
||||
source | <xs:element name="service-mapping" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation xml:lang="en">A service mapping record. Zero or more records are allowed.</xs:documentation> <xs:documentation xml:lang="sv">En post med mappningar till olika tjänster. Noll eller flera poster kan finnas.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="identifier-type"> <xs:annotation> <xs:documentation xml:lang="en">Identifier types supported are urn, doi and handle. Valid content of this element is "urn", "doi" or "hdl". The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Identifikatortyper som stödjs är urn, doi och handle. Detta element kan ha ett av följande värden "urn", "doi" eller "hdl". Elementet är obligatoriskt.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="urn"/> <xs:enumeration value="doi"/> <xs:enumeration value="hdl"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="identifier-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">An identifier pattern is a text string that describes what group of identifiers of the chosen identifier type (see identifier-type element) that should use the following services (see the services element). If this element contains an asterisk character (*) all identifiers of the chosen identifier type will match. Otherwise the system will try to match the content of this element to the prefix of the identifiers. The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element definierar vilka identifikatorer av angiven typ (se identifier-type elementet) som ska använda de tjänster som beskrivs under services elementet. Om innehållet är en asterisk (*) matchas samtliga identifikatorer av den valda typen. Annars försöker Resolution Service att matcha elementets innehåll mot identifikatorernas prefix. Elementet är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="services"> <xs:annotation> <xs:documentation xml:lang="en">Resolution Service should forward/redirect the user to one of the specified services. The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Tjänster som Resolution Service ska vidarebefordra användaren till. Obligatoriskt element.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="service" maxOccurs="unbounded"> <xs:annotation> <xs:documentation xml:lang="en">A service has a status: "activated" (must work) or "inactivated" (do not need to work because the service has moved to another location or will soon be moved to another location or the service has ceased to exist). The mandatory XML attribute "status" must have a value of either "activated" or "inactivated". At least one activated service must be defined.</xs:documentation> <xs:documentation xml:lang="sv">Varje tjänst har ett av följande tillstånd: "activated" (dessa måste fungera) eller "inactivated" (behöver inte fungera med betydelsen "har tagits ur bruk" eller "kommer inom en snar framtid att tas ur bruk" eller "har upphört"). XML-attributet "status" måste ha värdet "activated" eller "inactived". Minst en tjänst (service) med tillståndet "activated" måste finnas.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="datestamp" minOccurs="0" maxOccurs="2"> <xs:annotation> <xs:documentation xml:lang="en">The service element may have a datestamp element that tells the system from and to which date/time an address (see url-pattern element) is active. If the parent service element is inactivated the datestamp specified in this element has no effect in the Resolution Service because the service is inactivated. The element is optional. The XML attribute "type" is required and must have either the value "activated" or "inactivated".</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element talar om när addressen till tjänsten (se url-pattern) gjordes aktiv eller inaktiv. Om service elementet har tillståndet "inactivated" kommer denna uppgift inte att påverka när länken blir tillgänglig eller otillgänglig i Resolution Service. Elementet är valfritt. XML-attributet "type" är obligatoriskt och beskriver elementets tillstånd. Giltiga värden på attributet "type" är "activated" eller "inactivated".</xs:documentation> </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:token"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="url-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">This URL pattern is a text string that describes an URL to a service. The placeholder "$PID" in the pattern is replaced by the current persistent identifier before the Resolution Service forwards/redirects the user to the service. If the URL pattern starts with the base URL put into Resolution Service main configuration file the local Resolution Service is used. This element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element beskriver hur en URL till en tjänst ser ut. Om strängen "$PID" används ersätts den automatiskt av Resolution Service till aktuell identifikator innan användare vidarebefordras till tjänsten. Om innehållet i detta element börjar med innehållet som finns i fältet basURL (base URL på engelska) i Resolution Service:s huvudkonfigurationsfil används den lokala tjänsten. Detta element är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:attribute name="status" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
||||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||||
type | restriction of xs:token | ||||||
facets |
|
||||||
annotation |
|
||||||
source | <xs:element name="identifier-type"> <xs:annotation> <xs:documentation xml:lang="en">Identifier types supported are urn, doi and handle. Valid content of this element is "urn", "doi" or "hdl". The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Identifikatortyper som stödjs är urn, doi och handle. Detta element kan ha ett av följande värden "urn", "doi" eller "hdl". Elementet är obligatoriskt.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="urn"/> <xs:enumeration value="doi"/> <xs:enumeration value="hdl"/> </xs:restriction> </xs:simpleType> </xs:element> |
diagram | ![]() |
||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||
type | xs:token | ||||
annotation |
|
||||
source | <xs:element name="identifier-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">An identifier pattern is a text string that describes what group of identifiers of the chosen identifier type (see identifier-type element) that should use the following services (see the services element). If this element contains an asterisk character (*) all identifiers of the chosen identifier type will match. Otherwise the system will try to match the content of this element to the prefix of the identifiers. The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element definierar vilka identifikatorer av angiven typ (se identifier-type elementet) som ska använda de tjänster som beskrivs under services elementet. Om innehållet är en asterisk (*) matchas samtliga identifikatorer av den valda typen. Annars försöker Resolution Service att matcha elementets innehåll mot identifikatorernas prefix. Elementet är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> |
diagram | ![]() |
||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||
children | service | ||||
annotation |
|
||||
source | <xs:element name="services"> <xs:annotation> <xs:documentation xml:lang="en">Resolution Service should forward/redirect the user to one of the specified services. The element is required.</xs:documentation> <xs:documentation xml:lang="sv">Tjänster som Resolution Service ska vidarebefordra användaren till. Obligatoriskt element.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="service" maxOccurs="unbounded"> <xs:annotation> <xs:documentation xml:lang="en">A service has a status: "activated" (must work) or "inactivated" (do not need to work because the service has moved to another location or will soon be moved to another location or the service has ceased to exist). The mandatory XML attribute "status" must have a value of either "activated" or "inactivated". At least one activated service must be defined.</xs:documentation> <xs:documentation xml:lang="sv">Varje tjänst har ett av följande tillstånd: "activated" (dessa måste fungera) eller "inactivated" (behöver inte fungera med betydelsen "har tagits ur bruk" eller "kommer inom en snar framtid att tas ur bruk" eller "har upphört"). XML-attributet "status" måste ha värdet "activated" eller "inactived". Minst en tjänst (service) med tillståndet "activated" måste finnas.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="datestamp" minOccurs="0" maxOccurs="2"> <xs:annotation> <xs:documentation xml:lang="en">The service element may have a datestamp element that tells the system from and to which date/time an address (see url-pattern element) is active. If the parent service element is inactivated the datestamp specified in this element has no effect in the Resolution Service because the service is inactivated. The element is optional. The XML attribute "type" is required and must have either the value "activated" or "inactivated".</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element talar om när addressen till tjänsten (se url-pattern) gjordes aktiv eller inaktiv. Om service elementet har tillståndet "inactivated" kommer denna uppgift inte att påverka när länken blir tillgänglig eller otillgänglig i Resolution Service. Elementet är valfritt. XML-attributet "type" är obligatoriskt och beskriver elementets tillstånd. Giltiga värden på attributet "type" är "activated" eller "inactivated".</xs:documentation> </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:token"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="url-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">This URL pattern is a text string that describes an URL to a service. The placeholder "$PID" in the pattern is replaced by the current persistent identifier before the Resolution Service forwards/redirects the user to the service. If the URL pattern starts with the base URL put into Resolution Service main configuration file the local Resolution Service is used. This element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element beskriver hur en URL till en tjänst ser ut. Om strängen "$PID" används ersätts den automatiskt av Resolution Service till aktuell identifikator innan användare vidarebefordras till tjänsten. Om innehållet i detta element börjar med innehållet som finns i fältet basURL (base URL på engelska) i Resolution Service:s huvudkonfigurationsfil används den lokala tjänsten. Detta element är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:attribute name="status" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
diagram | ![]() |
||||||||||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||||||||||
children | datestamp url-pattern | ||||||||||||
attributes |
|
||||||||||||
annotation |
|
||||||||||||
source | <xs:element name="service" maxOccurs="unbounded"> <xs:annotation> <xs:documentation xml:lang="en">A service has a status: "activated" (must work) or "inactivated" (do not need to work because the service has moved to another location or will soon be moved to another location or the service has ceased to exist). The mandatory XML attribute "status" must have a value of either "activated" or "inactivated". At least one activated service must be defined.</xs:documentation> <xs:documentation xml:lang="sv">Varje tjänst har ett av följande tillstånd: "activated" (dessa måste fungera) eller "inactivated" (behöver inte fungera med betydelsen "har tagits ur bruk" eller "kommer inom en snar framtid att tas ur bruk" eller "har upphört"). XML-attributet "status" måste ha värdet "activated" eller "inactived". Minst en tjänst (service) med tillståndet "activated" måste finnas.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="datestamp" minOccurs="0" maxOccurs="2"> <xs:annotation> <xs:documentation xml:lang="en">The service element may have a datestamp element that tells the system from and to which date/time an address (see url-pattern element) is active. If the parent service element is inactivated the datestamp specified in this element has no effect in the Resolution Service because the service is inactivated. The element is optional. The XML attribute "type" is required and must have either the value "activated" or "inactivated".</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element talar om när addressen till tjänsten (se url-pattern) gjordes aktiv eller inaktiv. Om service elementet har tillståndet "inactivated" kommer denna uppgift inte att påverka när länken blir tillgänglig eller otillgänglig i Resolution Service. Elementet är valfritt. XML-attributet "type" är obligatoriskt och beskriver elementets tillstånd. Giltiga värden på attributet "type" är "activated" eller "inactivated".</xs:documentation> </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:token"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="url-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">This URL pattern is a text string that describes an URL to a service. The placeholder "$PID" in the pattern is replaced by the current persistent identifier before the Resolution Service forwards/redirects the user to the service. If the URL pattern starts with the base URL put into Resolution Service main configuration file the local Resolution Service is used. This element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element beskriver hur en URL till en tjänst ser ut. Om strängen "$PID" används ersätts den automatiskt av Resolution Service till aktuell identifikator innan användare vidarebefordras till tjänsten. Om innehållet i detta element börjar med innehållet som finns i fältet basURL (base URL på engelska) i Resolution Service:s huvudkonfigurationsfil används den lokala tjänsten. Detta element är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:attribute name="status" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |
diagram | ![]() |
||||||||||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||||||||||
type | extension of xs:token | ||||||||||||
attributes |
|
||||||||||||
annotation |
|
||||||||||||
source | <xs:element name="datestamp" minOccurs="0" maxOccurs="2"> <xs:annotation> <xs:documentation xml:lang="en">The service element may have a datestamp element that tells the system from and to which date/time an address (see url-pattern element) is active. If the parent service element is inactivated the datestamp specified in this element has no effect in the Resolution Service because the service is inactivated. The element is optional. The XML attribute "type" is required and must have either the value "activated" or "inactivated".</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element talar om när addressen till tjänsten (se url-pattern) gjordes aktiv eller inaktiv. Om service elementet har tillståndet "inactivated" kommer denna uppgift inte att påverka när länken blir tillgänglig eller otillgänglig i Resolution Service. Elementet är valfritt. XML-attributet "type" är obligatoriskt och beskriver elementets tillstånd. Giltiga värden på attributet "type" är "activated" eller "inactivated".</xs:documentation> </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:token"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="activated"/> <xs:enumeration value="inactivated"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> |
diagram | ![]() |
||||
namespace | urn:nbn:se:uu:ub:epc-schema:rs-service-mapping | ||||
type | xs:token | ||||
annotation |
|
||||
source | <xs:element name="url-pattern" type="xs:token"> <xs:annotation> <xs:documentation xml:lang="en">This URL pattern is a text string that describes an URL to a service. The placeholder "$PID" in the pattern is replaced by the current persistent identifier before the Resolution Service forwards/redirects the user to the service. If the URL pattern starts with the base URL put into Resolution Service main configuration file the local Resolution Service is used. This element is required.</xs:documentation> <xs:documentation xml:lang="sv">Innehållet i detta element beskriver hur en URL till en tjänst ser ut. Om strängen "$PID" används ersätts den automatiskt av Resolution Service till aktuell identifikator innan användare vidarebefordras till tjänsten. Om innehållet i detta element börjar med innehållet som finns i fältet basURL (base URL på engelska) i Resolution Service:s huvudkonfigurationsfil används den lokala tjänsten. Detta element är obligatoriskt.</xs:documentation> </xs:annotation> </xs:element> |