PuranOS Schema Catalog
procurement
Vendor quotes, cost observations, POs, invoices, equipment positions, datasheet templates / field definitions / value index, document_attachment. 34 tables, introspected live from the deployed database. Lifecycle: Procurement.
Entity-relationship diagram
Overview below — open the full-resolution SVG to pan and zoom, or paste the DBML source into dbdiagram.io for an interactive view.
Table schemas
Each table has a JSON Schema (2020-12) with a canonical $id, generated by live introspection.
PK: id · 2 FKs
PK: id
PK: consumption_id · 2 FKs
PK: audit_id · 1 FK
PK: spec_id · 2 FKs
PK: audit_id · 1 FK
PK: id · 5 FKs
PK: template_id, field_id · 1 FK
PK: revision_id · 1 FK
PK: template_id
PK: datasheet_id, field_id · 1 FK
PK: trace_id
PK: designator_code, model_parent_type
PK: attachment_id
PK: id · 1 FK
PK: id · 1 FK
PK: id · 3 FKs
PK: gr_id · 2 FKs
PK: spec_id · 2 FKs
PK: audit_id · 1 FK
PK: datasheet_id · 6 FKs
PK: audit_id · 1 FK
PK: id
PK: id · 1 FK
PK: po_id · 4 FKs
PK: spec_id · 2 FKs
PK: audit_id · 1 FK
PK: step_id · 1 FK
PK: id
PK: alias_id · 1 FK
PK: guarantee_id · 2 FKs
PK: invoice_id · 3 FKs
PK: id · 3 FKs
PK: audit_id · 1 FK
