Skip to content

Commit

Permalink
Publishing generated metaschema resources [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire-nist authored and david-waltermire committed Oct 31, 2022
1 parent dcdf2f8 commit f1d138a
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions json/convert/oscal_catalog_xml-to-json-converter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2409,7 +2409,7 @@
<xsl:attribute name="key">relationship</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@ns"/>
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:value-of select="."/>
</value>
</field>
Expand Down Expand Up @@ -2904,7 +2904,7 @@
<xsl:attribute name="key">relationship</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@ns"/>
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:value-of select="."/>
</value>
</field>
Expand Down
6 changes: 3 additions & 3 deletions json/convert/oscal_complete_xml-to-json-converter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -6040,7 +6040,7 @@
<xsl:attribute name="key">relationship</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@ns"/>
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:value-of select="."/>
</value>
</field>
Expand Down Expand Up @@ -6535,7 +6535,7 @@
<xsl:attribute name="key">relationship</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@ns"/>
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:value-of select="."/>
</value>
</field>
Expand Down Expand Up @@ -7594,7 +7594,7 @@
<xsl:attribute name="key">relationship</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@ns"/>
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:value-of select="."/>
</value>
</field>
Expand Down
2 changes: 1 addition & 1 deletion json/convert/oscal_mapping_xml-to-json-converter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@
<xsl:attribute name="key">relationship</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@ns"/>
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:value-of select="."/>
</value>
</field>
Expand Down
4 changes: 2 additions & 2 deletions json/schema/oscal_catalog_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -998,10 +998,10 @@
{ "title" : "Relationship Value Namespace",
"description" : "A namespace qualifying the relationship's value. This allows different organizations to associate distinct semantics for relationships with the same name.",
"$ref" : "#/definitions/URIDatatype" },
"STRVALUE" :
"type" :
{ "type" : "string" } },
"required" :
[ "STRVALUE" ],
[ "type" ],
"additionalProperties" : false,
"enum" :
[ "equivalent-to",
Expand Down
4 changes: 2 additions & 2 deletions json/schema/oscal_complete_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -998,10 +998,10 @@
{ "title" : "Relationship Value Namespace",
"description" : "A namespace qualifying the relationship's value. This allows different organizations to associate distinct semantics for relationships with the same name.",
"$ref" : "#/definitions/URIDatatype" },
"STRVALUE" :
"type" :
{ "type" : "string" } },
"required" :
[ "STRVALUE" ],
[ "type" ],
"additionalProperties" : false,
"enum" :
[ "equivalent-to",
Expand Down
4 changes: 2 additions & 2 deletions json/schema/oscal_mapping_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -717,10 +717,10 @@
{ "title" : "Relationship Value Namespace",
"description" : "A namespace qualifying the relationship's value. This allows different organizations to associate distinct semantics for relationships with the same name.",
"$ref" : "#/definitions/URIDatatype" },
"STRVALUE" :
"type" :
{ "type" : "string" } },
"required" :
[ "STRVALUE" ],
[ "type" ],
"additionalProperties" : false,
"enum" :
[ "equivalent-to",
Expand Down
4 changes: 2 additions & 2 deletions xml/convert/oscal_catalog_json-to-xml-converter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2441,7 +2441,7 @@
<!-- matching catalog//control/mapping/map/relationship-->
<xsl:template match="j:map[@key='catalog']//j:array[@key='controls']/j:map/j:map[@key='mapping']/j:array[@key='maps']/j:map/j:map[@key='relationship']"
mode="get-value-property">
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:apply-templates mode="keep-value-property"/>
</value>
</xsl:template>
Expand Down Expand Up @@ -3139,7 +3139,7 @@
<!-- matching catalog//group//control/mapping/map/relationship-->
<xsl:template match="j:map[@key='catalog']//j:array[@key='groups']/j:map//j:array[@key='controls']/j:map/j:map[@key='mapping']/j:array[@key='maps']/j:map/j:map[@key='relationship']"
mode="get-value-property">
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:apply-templates mode="keep-value-property"/>
</value>
</xsl:template>
Expand Down
6 changes: 3 additions & 3 deletions xml/convert/oscal_complete_json-to-xml-converter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5256,7 +5256,7 @@
<!-- matching catalog//control/mapping/map/relationship-->
<xsl:template match="j:map[@key='catalog']//j:array[@key='controls']/j:map/j:map[@key='mapping']/j:array[@key='maps']/j:map/j:map[@key='relationship']"
mode="get-value-property">
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:apply-templates mode="keep-value-property"/>
</value>
</xsl:template>
Expand Down Expand Up @@ -5954,7 +5954,7 @@
<!-- matching catalog//group//control/mapping/map/relationship-->
<xsl:template match="j:map[@key='catalog']//j:array[@key='groups']/j:map//j:array[@key='controls']/j:map/j:map[@key='mapping']/j:array[@key='maps']/j:map/j:map[@key='relationship']"
mode="get-value-property">
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:apply-templates mode="keep-value-property"/>
</value>
</xsl:template>
Expand Down Expand Up @@ -7207,7 +7207,7 @@
<!-- matching mapping-collection/mapping/map/relationship-->
<xsl:template match="j:map[@key='mapping-collection']/(j:array[@key='mappings']/j:map | j:map[@key='mappings'])/j:array[@key='maps']/j:map/j:map[@key='relationship']"
mode="get-value-property">
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:apply-templates mode="keep-value-property"/>
</value>
</xsl:template>
Expand Down
2 changes: 1 addition & 1 deletion xml/convert/oscal_mapping_json-to-xml-converter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@
<!-- matching mapping-collection/mapping/map/relationship-->
<xsl:template match="j:map[@key='mapping-collection']/(j:array[@key='mappings']/j:map | j:map[@key='mappings'])/j:array[@key='maps']/j:map/j:map[@key='relationship']"
mode="get-value-property">
<value as-type="token" key="STRVALUE" in-json="string">
<value as-type="token" key="type" in-json="string">
<xsl:apply-templates mode="keep-value-property"/>
</value>
</xsl:template>
Expand Down

0 comments on commit f1d138a

Please sign in to comment.