# Socket data model

Use this schema to interpret SocketDevRepository, SocketDevDependency, and SocketDevAlert records in the Socket inventory.

## Interpreting the object types

A repository identifies maintained code. A dependency identifies a package used by that code, and an alert records an observation about it. One package can be relevant to more than one repository.

## Selected record fields

SocketDevRepository includes default_branch, archived, and name. SocketDevDependency includes repo_slug, version, and direct.

Inventory fields

Entity | Example fields

SocketDevRepository | default_branch, archived, name

SocketDevDependency | repo_slug, version, direct

SocketDevAlert | branch, status, severity

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

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