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';
1515//
1616/////////////////////////////////////
1717
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+ } ) ;
2225
2326export type XMitreTacticRefs = z . infer < typeof xMitreTacticRefsSchema > ;
2427
You can’t perform that action at this time.
0 commit comments