Skip to main content

DPCReport

Version: v2.0.0

Stored entity

Partition key pk, sort key sk

Overview​

DPC Report Model - Data Quality Report

DynamoDB Structure: pk: DPC#{dpc_id} sk: DPC_REPORT#{report_id}

Fields​

FieldTypeRequiredDefaultDescription
pkstr✅——
skstr✅——
typestr✅——
dpc_idstr✅——
statusReportStatusEnum (PENDING_REVIEW)❌PENDING_REVIEWReport Status Enum
report_idstr✅——
tenant_idstr✅——
user_idstr✅——
reasonstr✅——
descriptionstr❌——
suggested_correctionstr❌——
filesList[File]❌[]—
created_atstr✅——
updated_atstr✅——

Embedded models​

Models embedded in the fields above — shown inline; they have no separate page.

File — v1.0.0
FieldTypeRequiredDefaultDescription
urlstr✅——
file_namestr✅——
file_typestr✅——
file_sizeint❌——
uploaded_atstr❌——

Change history

  • v1.0.0 · 2025-10-25 · Olaniyi Ajayi · Initial version. (57d145520)

APIs / Triggers​

TriggerEndpoint / SourceDetailHandler
APIPOST /report—src/report/dpc_report_post.py

Change history​

v2.0.0 · 2025-10-25 · Olaniyi Ajayi · 57d145520

fx

  • Removed field reasons (breaking).
  • Added required field reason.
  • Added optional field status.
  • Added required field tenant_id.
  • Added required field user_id.
  • Field description type changed: str → Optional[str] (breaking).
  • Field files type changed: Optional[List[str]] → Optional[List[File]] (breaking).
v1.0.0 · 2025-10-17 · Olaniyi Ajayi · db08fb76f

fx

  • Initial version.

Generated from dismantly-backend/Microservices/DismantlyPartCatalog/dependencies/models.py. Do not edit by hand.

Models last synced: 2026-06-23 13:21 UTC