# LibTmux.Snapshot.Fixture.validateFixture

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/src/LibTmux/Snapshot/Fixture.hs#L106
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-snapshot-fixture-v-validatefixture/

```haskell
validateFixture
  :: FixtureOrigin
  -> Fixture
  -> Either FixtureError Snapshot
```

Signature types: [`FixtureOrigin`](/en/haskell/latest/reference/libtmux-snapshot-fixture-t-fixtureorigin/), [`Fixture`](/en/haskell/latest/reference/libtmux-snapshot-fixture-t-fixture/), [`Either`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Either.html#t:Either), [`FixtureError`](/en/haskell/latest/reference/libtmux-snapshot-fixture-t-fixtureerror/), [`Snapshot`](/en/haskell/latest/reference/libtmux-snapshot-t-snapshot/).

Validate and force owned values using the capture graph's invariants.
 Successful fixtures have no acquisition interval and carry offline
 provenance. Their references cannot equal references from a Server scope.

## Referenced declarations

- [`LibTmux.Snapshot.Fixture.Fixture`](/en/haskell/latest/reference/libtmux-snapshot-fixture-t-fixture/) (data type)
- [`LibTmux.Snapshot.Fixture.FixtureError`](/en/haskell/latest/reference/libtmux-snapshot-fixture-t-fixtureerror/) (data type)
- [`LibTmux.Snapshot.Fixture.FixtureOrigin`](/en/haskell/latest/reference/libtmux-snapshot-fixture-t-fixtureorigin/) (data type)
- [`LibTmux.Snapshot.Snapshot`](/en/haskell/latest/reference/libtmux-snapshot-t-snapshot/) (data type)

## Guides

Pages that discuss `validateFixture`.

- [Offline fixtures](/en/haskell/latest/guides/offline-fixtures/)
