Skip to content

rdt-ui-crud

rdt-ui-crud is a Streamlit in Snowflake application that provides a consumer-facing data entry form for creating, reading, updating, and deleting entity instances directly against Snowflake tables.

This application runs outside the CLI pipeline — it is deployed as a Streamlit app within Snowflake and consumes artifacts generated by the pipeline.

Directory: ui/crud/

The CRUD form reads a crud.json artifact (generated by the CLI pipeline) to dynamically render a data entry form tailored to the entity’s schema. The form enforces governance metadata (ownership, classification, PII flags) and writes directly to the entity’s Snowflake tables.

CLI pipeline generates crud.json → Streamlit app reads spec → Renders dynamic form → Writes to Snowflake
ArtifactSourcePurpose
models/{entity}/crud.jsonGenerated by CLI pipelineForm schema, field definitions, validation rules
models/{entity}/governance.jsonrdt-model-governOwnership, stewardship, data classification, PII flags
  • Dynamic form rendering from crud.json schema
  • Governance metadata display (owner, steward, classification)
  • PII data warnings
  • Create, read, update, and delete operations against Snowflake

The app is deployed as a Streamlit in Snowflake application, meaning it runs natively within the Snowflake environment with session-based authentication — no external credentials required.

ui/crud/
├── app.py # Streamlit entry point
├── requirements.txt # Python dependencies
└── schemas/crud.schema.json # JSON contract for CRUD artifact

Scaffold only — the UI shell and spec loading are implemented, but Snowflake session integration, actual CRUD operations, and ServiceNow workflow integration are pending.