File tree Expand file tree Collapse file tree 3 files changed +2
-199
lines changed Expand file tree Collapse file tree 3 files changed +2
-199
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import meta from './csafAjv/meta.js'
8
8
import formatAssertion from './csafAjv/format-assertion.js'
9
9
import ssvcDecisionPointValueSelection from './csafAjv/Decision_Point_Value_Selection-1-0-1.js'
10
10
import ssvcDecisionPoint from './csafAjv/Decision_Point-1-0-1.js'
11
- import ssvc_v1 from './csafAjv/ssvc-v1.js'
12
- import ssvc_v1_schemaVersion from './csafAjv/ssvc-v1_schemaVersion.js'
13
11
14
12
const csafAjv = new Ajv2020 ( { strict : false , allErrors : true } )
15
13
addFormats ( csafAjv )
@@ -25,21 +23,15 @@ csafAjv.addSchema(
25
23
formatAssertion ,
26
24
'https://json-schema.org/draft/2020-12/meta/format-assertion'
27
25
)
26
+ // schema of SSVC v1
28
27
csafAjv . addSchema (
29
28
ssvcDecisionPointValueSelection ,
30
29
'https://certcc.github.io/SSVC/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json'
31
30
)
31
+ // schema of the property schemVersion of SSVC v1
32
32
csafAjv . addSchema (
33
33
ssvcDecisionPoint ,
34
34
'https://certcc.github.io/SSVC/data/schema/v1/Decision_Point-1-0-1.schema.json'
35
35
)
36
- csafAjv . addSchema (
37
- ssvc_v1 ,
38
- 'https://certcc.github.io/SSVC/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json'
39
- )
40
- csafAjv . addSchema (
41
- ssvc_v1_schemaVersion ,
42
- 'https://certcc.github.io/SSVC/data/schema/v1/Decision_Point-1-0-1.schema.json'
43
- )
44
36
45
37
export default csafAjv
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments