Skip to content

Commit

Permalink
test: doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
clemiller committed Oct 21, 2024
1 parent edaeef4 commit 8df7236
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/schemas/sro/relationship.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
type StixType,
stixTypeSchema,
xMitreAttackSpecVersionSchema,
xMitreDeprecatedSchema,
xMitreDomainsSchema,
xMitreModifiedByRefSchema,
xMitreVersionSchema,
Expand Down Expand Up @@ -257,6 +258,8 @@ export const relationshipSchema = stixRelationshipObjectSchema
x_mitre_domains: xMitreDomainsSchema,

x_mitre_version: xMitreVersionSchema,

x_mitre_deprecated: xMitreDeprecatedSchema.optional(),
})
.required({
created: true,
Expand Down

0 comments on commit 8df7236

Please sign in to comment.