-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl"?> | ||
<!-- | ||
# NeXus - Neutron and X-ray Common Data Format | ||
# | ||
# Copyright (C) 2014-2024 NeXus International Advisory Committee (NIAC) | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
# License as published by the Free Software Foundation; either | ||
# version 3 of the License, or (at your option) any later version. | ||
# | ||
# This library 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 | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with this library; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
# | ||
# For further information, see http://www.nexusformat.org | ||
--> | ||
<definition xmlns="http://definition.nexusformat.org/nxdl/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" category="base" type="group" name="NXidentifier" extends="NXobject" xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd"> | ||
<doc> | ||
An identifier for a (persistent) resource, e.g., a DOI or orcid. | ||
</doc> | ||
<field name="service" type="NX_CHAR"> | ||
<doc> | ||
The service by which the resource can be resolved. | ||
|
||
Examples: doi, urn, hdl, purl, orcid, iso, url | ||
</doc> | ||
</field> | ||
<field name="identifier" type="NX_CHAR"> | ||
<doc> | ||
The unique code, IRI or hash to resolve this reference. | ||
Typically, this is stated by the service which is considered a complete | ||
identifier, e.g., for a DOI it's something of the form `10.1107/S1600576714027575` | ||
or `https://doi.org/10.1107/S1600576714027575`, which are both resolvable. | ||
</doc> | ||
</field> | ||
<field name="is_persistent" type="NX_BOOLEAN"> | ||
<doc> | ||
True if the identifier is persistent (i.e., unique and available indefinitely), | ||
False otherwise. | ||
</doc> | ||
</field> | ||
</definition> |