import type { StructuredDataResult, RuleInput } from '../types.js'; export type StructuredDataRuleOptions = { /** @type values to require (e.g. ['WebSite', 'Organization']) */ required?: string[]; }; export type StructuredDataItem = Record; export type StructuredDataValidationError = { /** The JSON-LD item index (0-based) */ index: number; /** The @type of the item if available */ type?: string; level: 1 | 2 | 3; message: string; }; /** * Validates all