> ## 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.

# CustomerCompensationEvidence

> The schema definition for the CustomerCompensationEvidence resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the customer compensation evidence.

## Specific attributes

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

component

varchar

public

The component of the customer compensation evidence.

**Rules**: Max length: 100 characters

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

file

varchar

public

The file of the customer compensation evidence.

**Rules**: Max length: 500 characters

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

kind

varchar

public

required

The kind of the customer compensation evidence.

**Rules**: Possible values: attachment, note, system, technical\_inspection. Max length: 30 characters

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

snapshot

jsonb

public

The snapshot of the customer compensation evidence.

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

snapshot\_hash

varchar

public

The snapshot hash of the customer compensation evidence.

**Rules**: Max length: 64 characters

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

source

varchar

public

The source of the customer compensation evidence.

**Rules**: Max length: 100 characters

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

summary

text

public

The summary of the customer compensation evidence.

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

verdict

varchar

public

The verdict of the customer compensation evidence.

**Rules**: Possible values: contradicts, inconclusive, supports. Max length: 30 characters

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

verifier\_version

varchar

public

The verifier version of the customer compensation evidence.

**Rules**: Max length: 50 characters

## Foreign keys

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

case

uuid

public

required

Reference to the Customer Compensation Case this customer compensation evidence belongs to. [Ref: Customer Compensation Case Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation-case.md)

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

case\_subject

uuid

public

Optional reference to the Customer Compensation Case Subject associated with the customer compensation evidence. [Ref: Customer Compensation Case Subject Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation-case-subject.md)

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

collected\_by

uuid

public

Optional reference to the Users associated with the customer compensation evidence.

## 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.