Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 3.2 KB

File metadata and controls

51 lines (34 loc) · 3.2 KB

Invalid Archive Bundle Examples

This guide publishes a small set of intentionally invalid archive-bundle fixtures for portability/export consumers who need to see what the raw archive schema should reject before any replay tooling or hosted workflow assumptions enter the picture.

Use these files when you want:

  • structural failure examples for archive-bundle payloads
  • regression fixtures for Ajv or other JSON Schema integrations
  • a clear distinction between schema-invalid archive bundles and the structurally valid public sample under examples/archive/

Why this exists

The payload under ../examples/archive/archive-bundle.sample.json is a positive teaching artifact. It is intended to remain structurally valid against ../schemas/archive-bundle.schema.json.

Raw-schema consumers need a second layer: archive fixtures that are rejected directly by the public schema so portability tooling can prove both acceptance and rejection behavior without depending on unpublished runtime code.

Published invalid fixtures

These fixtures are intentionally small and teaching-oriented. They do not claim to cover every archive rejection class or every upstream replay-policy failure.

Important distinction

This distinction matters when you are deciding whether you need:

Copyable Ajv recipes

Verification

  • npm run check:invalid-archive-examples
  • npm run check:schema-recipes
  • npm run check:package-install