4646 <attribute name =" file_update_time" type =" NX_DATE_TIME" >
4747 <doc >Date and time of last file change at close</doc >
4848 </attribute >
49- <attribute name =" NeXus_version" >
49+ <attribute name =" NeXus_version" deprecated = " NAPI is frozen. " >
5050 <doc >
5151 Version of NeXus API used in writing the file.
5252
53- Only used when the NAPI has written the file.
5453 Note that this is different from the version of the
55- base class or application definition version number.
54+ base class or application definition version number.
55+ </doc >
56+ </attribute >
57+ <attribute name =" NeXus_repository" >
58+ <doc >
59+ A repository containing the application definitions
60+ used for creating this file.
61+ If the ``NeXus_release`` attribute contains a commit distance and hash,
62+ this should refer to this repository.
63+ </doc >
64+ </attribute >
65+ <attribute name =" NeXus_release" >
66+ <doc >
67+ The version of NeXus definitions used in writing the file. This can either be a date-based
68+ NeXus release (e.g., YYYY.MM), see https://github.com/nexusformat/definitions/releases or
69+ a version tag that includes additional development information, such as a commit distance and
70+ a Git hash. This is typically formatted as `vYYYY.MM.post1.dev< commit-distance> -g< git-hash> `,
71+ where `YYYY.MM` refers to the base version of the NeXus definitions. `post1.dev< commit-distance> `
72+ indicates that the definitions are based on a commit after the base version (post1), with
73+ `< commit-distance> ` being the number of commits since that version. `g< git-hash> ` is the
74+ abbreviated Git hash that identifies the specific commit of the definitions being used.
75+
76+ If the version includes both a commit distance and a Git hash, the ``NeXus_repository``
77+ attribute must be included, specifying the URL of the repository containing that version.
5678 </doc >
5779 </attribute >
5880 <attribute name =" HDF_version" >
101123 for a summary of the discussion.
102124 </doc >
103125 </attribute >
104- </definition >
105-
126+ </definition >
0 commit comments