# Bitbucket data model

Use this schema to interpret BitbucketRepository, BitbucketProject, and BitbucketWorkspace records in the Bitbucket inventory.

## Interpreting the object types

A workspace contains a project structure, and a project organizes repositories. Retaining those identifiers prevents two repositories with the same display name from being treated as one.

## Selected record fields

BitbucketRepository includes mainbranch_name, name, and slug. BitbucketProject includes created_on, name, and is_private.

Inventory fields

Entity | Example fields

BitbucketRepository | mainbranch_name, name, slug

BitbucketProject | created_on, name, is_private

BitbucketWorkspace | slug, name, created_on

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

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