File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,13 @@ import { createStixTypeValidator } from '../common/stix-type.js';
15
15
//
16
16
/////////////////////////////////////
17
17
18
- export const xMitreTacticRefsSchema = z . array ( createStixIdValidator ( 'x-mitre-tactic' ) ) . meta ( {
19
- description :
20
- 'An ordered list of x-mitre-tactic STIX IDs corresponding to the tactics of the matrix. The order determines the appearance within the matrix.' ,
21
- } ) ;
18
+ export const xMitreTacticRefsSchema = z
19
+ . array ( createStixIdValidator ( 'x-mitre-tactic' ) )
20
+ . nonempty ( )
21
+ . meta ( {
22
+ description :
23
+ 'An ordered list of x-mitre-tactic STIX IDs corresponding to the tactics of the matrix. The order determines the appearance within the matrix.' ,
24
+ } ) ;
22
25
23
26
export type XMitreTacticRefs = z . infer < typeof xMitreTacticRefsSchema > ;
24
27
You can’t perform that action at this time.
0 commit comments