@mitre-attack/attack-data-model
Version:
A TypeScript API for the MITRE ATT&CK data model
19 lines (16 loc) • 582 B
JavaScript
import {
nonEmptyRequiredString,
stixListOfString
} from "./chunk-KFUJRXYX.js";
// src/schemas/common/property-schemas/stix-common-properties.ts
import "zod/v4";
var descriptionSchema = nonEmptyRequiredString.meta({ description: "A description of the object." });
var nameSchema = nonEmptyRequiredString.meta({ description: "The name of the object." });
var aliasesSchema = stixListOfString.meta({
description: "Alternative names used to identify this object. The first alias must match the object's name."
});
export {
descriptionSchema,
nameSchema,
aliasesSchema
};