# Spacelift data model

Use this schema to interpret SpaceliftStack, SpaceliftRun, and SpaceliftGitCommit records in the Spacelift inventory.

## Interpreting the object types

A stack records the infrastructure project, a run records an execution and a commit identifies source changes. Distinguish the three when attributing a deployment to a change review.

## Selected record fields

SpaceliftStack includes branch, state, and name. SpaceliftRun includes branch, state, and created_at.

Inventory fields

Entity | Example fields

SpaceliftStack | branch, state, name

SpaceliftRun | branch, state, created_at

SpaceliftGitCommit | author_name, lastupdated, message

[Read the Spacelift module guide](https://subimage.cc/docs/modules/spacelift/setup/)

[Browse supported modules](https://subimage.cc/docs/modules/supported/)
