Skip to content

Commit

Permalink
Adjustments to align with Metaschema schema bug fixes. (usnistgov#1805)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire authored and aj-stein-nist committed Jul 10, 2023
1 parent 5e9e348 commit d8c6f61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/metaschema/oscal_control-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@
</constraint>
</define-flag>
<model>
<define-field name="parameter-choice" as-type="markup-line" max-occurs="unbounded">
<define-field name="choice" as-type="markup-line" max-occurs="unbounded">
<formal-name>Choice</formal-name>
<description>A value selection among several such options</description>
<use-name>choice</use-name>
<description>A value selection among several such
options.</description>
<json-value-key>value</json-value-key>
<!-- CHANGED "alternatives" to "choices" -->
<group-as name="choice" in-json="ARRAY"/>
Expand Down
3 changes: 1 addition & 2 deletions src/metaschema/oscal_implementation-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -649,11 +649,10 @@
<description>Identifies the parameter that will be set by the enclosed value.</description>
<flag ref="param-id" required="yes"/>
<model>
<define-field name="parameter-value" as-type="string" min-occurs="1" max-occurs="unbounded">
<define-field name="value" as-type="string" min-occurs="1" max-occurs="unbounded">
<!-- CHANGED type from "markup-line" to "string" since this is intended to be a scalar value -->
<formal-name>Parameter Value</formal-name>
<description>A parameter value or set of values.</description>
<use-name>value</use-name>
<group-as name="values" in-json="ARRAY"/>
</define-field>
<field ref="remarks" in-xml="WITH_WRAPPER"/>
Expand Down

0 comments on commit d8c6f61

Please sign in to comment.