---
typeId: req
recordId: benac-test-001
fields:
  title: Fixture schema
  statement: Benac shall define a versioned fixture schema. A fixture shall identify
    package-under-test reference, descriptor config or descriptor snapshot reference
    where applicable, interface identifier, request body or request reference, expected
    validation result, expected selected package interface or interface contract,
    expected output body or output reference where deterministic, expected
    evidence/effect classes, expected denied effects where applicable, expected
    diagnostic classification codes and expected diagnostic evidence behavior where
    failure is intended, fixture data class, and fixture purpose.
  rationale: Fixtures need to test validation, interface resolution, package behavior,
    capability denials, trace shape, and expected failures.
  verification: Fixture schema validation accepts valid hello-world, calculator, todo
    reducer, and notes reducer fixtures. It rejects missing request data, unresolved
    schema references, unsupported fixture behavior, ambiguous expected output, and
    malformed expected diagnostic records or diagnostic evidence expectations, missing
    expected diagnostic classification codes for recognized diagnostic failures, and
    missing expected raw-evidence handling rules where the fixture declares them.
  testable: true
  status: draft
  area: BENAC-TEST
  sourceDocument: operator ticket dc3af413-dc52-4b70-afd0-527af9270195
  sourceVersion: 2026-05-04
  sourceSections:
    - Package authoring
  order: 87.13
---
