docs: update schema name to 2.3 (#1416)

This commit is contained in:
Christopher Angelo Phillips
2022-12-20 02:57:19 +00:00
committed by GitHub
parent 7b08608adb
commit c8b8b1ca11
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func TestSPDXJSONSchema(t *testing.T) {
}
func validateSpdxJsonAgainstSchema(t testing.TB, json string) {
fullSchemaPath := path.Join(repoRoot(t), spdxJsonSchemaPath, fmt.Sprintf("spdx-schema-2.2.json"))
fullSchemaPath := path.Join(repoRoot(t), spdxJsonSchemaPath, fmt.Sprintf("spdx-schema-2.3.json"))
schemaLoader := gojsonschema.NewReferenceLoader(fmt.Sprintf("file://%s", fullSchemaPath))
documentLoader := gojsonschema.NewStringLoader(json)