> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LegalDocumentVersion

> The schema definition for the LegalDocumentVersion resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the legal document version.

## Specific attributes

[Navigate to header](#param-commercial-activity)

content\_sha256

varchar

public

The content sha256 of the legal document version.

**Rules**: Max length: 64 characters

[Navigate to header](#param-commercial-activity)

effective\_at

timestamp

public

Timestamp when the legal document version was effective.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_current

boolean

default:"false"

public

required

Indicates whether the legal document version is current.

[Navigate to header](#param-commercial-activity)

published\_at

timestamp

public

required

Timestamp when the legal document version was published.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

url

varchar

public

required

The URL of the legal document version.

[Navigate to header](#param-commercial-activity)

version

varchar

public

required

The version of the legal document version.

**Rules**: Max length: 20 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

legal\_document\_type

uuid

public

required

Reference to the Legal Document Type this legal document version belongs to. [Ref: Legal Document Type Schema](https://docs.bbrands.io/schemas/general/legal-document-type.md)

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.