ComplianceRetentionPolicy
Type: Object
Defines retention rules for documents and items. Policies specify which document types and data classifications they apply to, retention periods, whether secure destruction is required, and customer scoping.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| active | Boolean! | Whether the policy is active and should be applied | ||
| createdAt | DateTime! | |||
| customer | Customer | CoCore.ERP.Customer for data isolation | ||
| customerId | ID | |||
| dataClassification | ComplianceDataClassification! | What classification level this policy applies to | ||
| description | String | Long-form description explaining the purpose and scope of the policy | ||
| destructionMethodRequired | ComplianceDestructionMethod | Preferred or required method for secure destruction when destruction is required | ||
| destructionRequired | Boolean! | Whether destruction is required after retention period | ||
| documentTypes | [String!]! | Types of documents this policy covers (e.g., bank_statement, tax_form) | ||
| id | ID! | |||
| legalHoldOverride | Boolean! | Can legal hold override this policy | ||
| name | String! | Short, human-readable name for this retention policy | ||
| regulatoryBasis | String | Which regulation requires this retention (e.g., SOX, GLBA, IRS) | ||
| retentionPeriodDays | Int! | How many days to retain from completion/shipment | ||
| retentionPeriodYears | Decimal | Human-readable years for display | ||
| trackedItems | [TrackedItem!]! | filter: TrackedItemFilterInputlimit: Intoffset: Intsort: [TrackedItemSortInput] | Tracked items governed by this retention policy | |
| updatedAt | DateTime! |