There was an error while loading. Please reload this page.
2 parents 59a95cf + 46354b4 commit 339512dCopy full SHA for 339512d
1 file changed
src/schemas/sdo/analytic.schema.ts
@@ -20,14 +20,10 @@ export const xMitreLogSourcePermutationKey = z.string();
20
export const xMitreLogSourceRefSchema = z
21
.object({
22
ref: createStixIdValidator('x-mitre-log-source'),
23
- keys: z
24
- .array(z.string())
25
- .nonempty()
26
- .meta({
27
- description:
28
- 'Must match one of the elements in the ``x_mitre_log_source_permutations`` array',
29
- })
30
- .nonempty(),
+ keys: z.array(z.string()).nonempty().meta({
+ description:
+ 'Must match one of the elements in the ``x_mitre_log_source_permutations`` array',
+ }),
31
})
32
.meta({
33
description: 'A reference to a log source permutation',
0 commit comments