banira
    Preparing search index...

    Function validateManifestSchema

    • Validates a Custom Elements Manifest against the official, vendored CEM JSON Schema (draft-07) using ajv, so the output is guaranteed spec-conformant with precise, path-level errors — beyond the structural subset that validateManifest checks by hand.

      ajv is an optional dependency (loaded lazily, like Playwright/axe). When it is not installed this throws SchemaValidatorUnavailableError; callers that want a soft fallback should catch it and use validateManifest alone.

      Parameters

      Returns Promise<ValidationIssue[]>

      schema-validation issues (all error severity); empty when the manifest is spec-conformant.

      SchemaValidatorUnavailableError when ajv is not installed.