From edaeef48d499de76d4d8d939af4e787e87c7dbc2 Mon Sep 17 00:00:00 2001 From: Charissa Miller <48832936+clemiller@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:03:11 -0400 Subject: [PATCH 1/2] test: doctest --- src/schemas/sro/relationship.schema.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/schemas/sro/relationship.schema.ts b/src/schemas/sro/relationship.schema.ts index 0df7a32..5e0860a 100644 --- a/src/schemas/sro/relationship.schema.ts +++ b/src/schemas/sro/relationship.schema.ts @@ -8,7 +8,6 @@ import { type StixType, stixTypeSchema, xMitreAttackSpecVersionSchema, - xMitreDeprecatedSchema, xMitreDomainsSchema, xMitreModifiedByRefSchema, xMitreVersionSchema, @@ -258,8 +257,6 @@ export const relationshipSchema = stixRelationshipObjectSchema x_mitre_domains: xMitreDomainsSchema, x_mitre_version: xMitreVersionSchema, - - x_mitre_deprecated: xMitreDeprecatedSchema.optional(), }) .required({ created: true, From 8df723678f646b99f884b85071c93ed93fb5f281 Mon Sep 17 00:00:00 2001 From: Charissa Miller <48832936+clemiller@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:10:19 -0400 Subject: [PATCH 2/2] test: doctest --- src/schemas/sro/relationship.schema.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/schemas/sro/relationship.schema.ts b/src/schemas/sro/relationship.schema.ts index 5e0860a..0df7a32 100644 --- a/src/schemas/sro/relationship.schema.ts +++ b/src/schemas/sro/relationship.schema.ts @@ -8,6 +8,7 @@ import { type StixType, stixTypeSchema, xMitreAttackSpecVersionSchema, + xMitreDeprecatedSchema, xMitreDomainsSchema, xMitreModifiedByRefSchema, xMitreVersionSchema, @@ -257,6 +258,8 @@ export const relationshipSchema = stixRelationshipObjectSchema x_mitre_domains: xMitreDomainsSchema, x_mitre_version: xMitreVersionSchema, + + x_mitre_deprecated: xMitreDeprecatedSchema.optional(), }) .required({ created: true,