Skip to content

Commit

Permalink
Update SARIF Metaschema module ns and JSON base URI
Browse files Browse the repository at this point in the history
Follow on from relevant discussion that started in metaschema-framework/metaschema-java#131 (comment) as inspired by GSA/fedramp-automation#735.
  • Loading branch information
aj-stein-gsa authored Sep 30, 2024
1 parent 2f86aaf commit 3e409af
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions sarif/sarif-module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
<schema-name>SARIF Metaschema Module</schema-name>
<schema-version>0.1.0</schema-version>
<short-name>sarif</short-name>
<!-- TODO: Do we want to have 1:1 overlap with SARIF? I am not sure. -->
<namespace>https://json.schemastore.org/sarif/2.1.0</namespace>
<!-- TODO: Ditto here, this is the URL for the official spec release version. -->
<json-base-uri>https://json.schemastore.org/sarif-2.1.0.json</json-base-uri>
<namespace>https://docs.oasis-open.org/sarif/sarif/v2.1.0</namespace>
<json-base-uri>https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json</json-base-uri>
<define-field name="version">
<formal-name>SARIF Model Version</formal-name>
<description>The version of the SARIF Model used for conforming instances.</description>
Expand Down Expand Up @@ -515,4 +513,4 @@
<p>Note, Metaschema does not support an anonymous top-level assembly without a key name in JSON and YAML, which is required for SARIF.</p>
</remarks>
</define-assembly>
</METASCHEMA>
</METASCHEMA>

0 comments on commit 3e409af

Please sign in to comment.