Skip to content

Commit

Permalink
adding support for arbitrary properties on definitions (usnistgov#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire authored and aj-stein-nist committed Jan 10, 2023
1 parent 9f7f75c commit d18335a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions schema/xml/metaschema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,30 @@
<xs:element name="formal-name" type="FormalNameType" minOccurs="0"/>
<xs:element name="description" type="DescriptionType" minOccurs="0"/>
<xs:element name="prop" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
<!--
When using:
<prop name="value-type" value="identifier"/>
The "identifier-type" must be one of:
<prop name="identifier-type" value="machine-oriented"/>
<prop name="identifier-type" value="human-oriented"/>
Multiple instances of "identifier-type" can be used to support both cases.
TODO: Need to update the documentation to clarify that the value set is constrained and what the options are.
The "identifier-uniqueness" must be one of:
<prop name="identifier-uniqueness" value="global"/> - for a globally unique identifier (i.e., UUID)
<prop name="identifier-uniqueness" value="local-instance"/> - for an identifier that is unqiue within the containing instance
The "identifier-scope" must be one of:
<prop name="identifier-scope" value="instance"/>
<prop name="identifier-scope" value="cross-instance"/>
Must be one of:
<prop name="identifier-persistence" value="per-instance"/>
<prop name="identifier-persistence" value="change-on-write"/>
-->
</xs:sequence>
</xs:group>

Expand Down

0 comments on commit d18335a

Please sign in to comment.