# Linear SDL snapshot
`linear.graphql` is a verbatim snapshot of Linear's public GraphQL SDL, taken from the
[`linear/linear`](https://github.com/linear/linear) monorepo at
`packages/sdk/src/schema.graphql` (MIT licensed).
- **Snapshot date:** 2026-07-05
- **Consumers:** `tests/schema_validation.rs` (`include_str!`s this file to validate every
GraphQL document the crate ships, via `apollo-compiler`) and the nightly `schema-drift`
CI job (diffs this file against the live upstream SDL).
To refresh the snapshot:
```sh
curl -fsSL https://raw.githubusercontent.com/linear/linear/master/packages/sdk/src/schema.graphql \
-o schema/linear.graphql
```