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/
How it works
Section titled “How it works”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 SnowflakeInput artifacts
Section titled “Input artifacts”| Artifact | Source | Purpose |
|---|---|---|
models/{entity}/crud.json | Generated by CLI pipeline | Form schema, field definitions, validation rules |
models/{entity}/governance.json | rdt-model-govern | Ownership, stewardship, data classification, PII flags |
Features
Section titled “Features”- Dynamic form rendering from
crud.jsonschema - Governance metadata display (owner, steward, classification)
- PII data warnings
- Create, read, update, and delete operations against Snowflake
Deployment
Section titled “Deployment”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 artifactStatus
Section titled “Status”Scaffold only — the UI shell and spec loading are implemented, but Snowflake session integration, actual CRUD operations, and ServiceNow workflow integration are pending.
Related
Section titled “Related”- rdt-ui-ratification — Steward approval UI (companion app)
- rdt-model-store — Generates the Snowflake tables this app writes to
- rdt-model-govern — Provides governance metadata displayed in the form