{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/index.json","title":"PuranOS Schema Catalog","description":"Complete schema inventory organized by ontology layer.","layers":{"enterprise_oss":{"description":"Schemas inherited from forked/customized open-source systems. Not generated — refer to native API docs.","systems":{"atlas_cmms":{"description":"Computerized Maintenance Management System (forked, Java/Spring)","interop_extensions":["equipment_uid (UUID)","project_ref","failure_mode/cause/mechanism (ISO 14224)","inventree_part_id","criticality (PartCriticality)","severity (MeterTriggerSeverity)"],"api_base":"/api/v1"},"openproject":{"description":"Project management and workflow (v17, customized)","custom_types":{"8":"RFI","9":"Submittal","10":"Change Order","11":"Procurement","12":"Inspection","13":"Punch List","14":"NCR","15":"Commissioning","16":"MOC","17":"Transmittal","18":"Warranty"},"custom_fields":{"7":"RFI Number","8":"Response Due Date","9":"Ball In Court","10":"Spec Section","17":"Revision","19":"Discipline","31":"Equipment Tag","32":"NCR Severity","33":"NCR Disposition","34":"Root Cause Category","35":"Corrective Action","36":"Commissioning Phase","37":"Punch Category","38":"Loop Reference","39":"Test Result","40":"Change Category","41":"Risk Level","42":"MOC Phase","43":"Revert By Date","44":"equipment_uid","45":"response_status","46":"submittal_number","47":"review_status","48":"transmittal_number","49":"transmittal_purpose","50":"recipient","51":"acknowledged_date","52":"warranty_start","53":"warranty_end","54":"claim_status","55":"vendor_response_date","56":"resolution","57":"failure_mode","58":"failure_cause","59":"failure_mechanism","60":"cmms_work_order_id","61":"alarm_uid","20-30":"Agent state fields (20-30)"},"api_base":"/api/v3"},"inventree":{"description":"Parts, inventory, BOMs, purchase orders (upstream)","key_entities":["Part","StockItem","PurchaseOrder","BOM","TestResult","Company"],"api_docs":"https://docs.inventree.org/en/stable/api/schema/"}}},"engineering_contracts":{"description":"Purpose-built schemas aligned to industry standards (ISA, IEC, QUDT, ISO 14224, EPA WQX). Pydantic models are the interchange contracts; Postgres tables are the storage contracts.","pydantic_schemas":["capex-improvement-request.schema.json","claim-event.schema.json","commissioning-handover-package.schema.json","compliance-gate-result.schema.json","compliance-status-exchange.schema.json","contract.schema.json","control-execution-package.schema.json","critical-load-entry.schema.json","design-performance-baseline.schema.json","dg-sizing-input.schema.json","dg-sizing-output.schema.json","engineering-unit.schema.json","equipment-item.schema.json","hazop-study-package.schema.json","maintenance-history-exchange.schema.json","model-credibility.schema.json","obligation-fulfillment-package.schema.json","operations-runtime-package.schema.json","process-performance-summary.schema.json","proforma-actuals-record.schema.json","proforma-model-run.schema.json","project-controls-package.schema.json","project.schema.json","quality-test-package.schema.json","reliability-kpi-snapshot.schema.json","render-manifest.schema.json","stream-state.schema.json","tender-design-fields.schema.json","water-compliance-obligation-instrument.schema.json","water-compliance-obligation-requirement.schema.json","water-compliance-point.schema.json","water-compliance-quantitative-limit.schema.json"],"pydantic_schema_count":32,"postgres_table_count":203,"postgres_databases":{"compliance_mcp":{"count":20,"tables":["analytical_method","assessed_value","compliance_gate_result","compliance_point","compliance_submission","custody_transfer","deadline","document_attachment","nonconformance","obligation_instrument","obligation_requirement","observation","parameter_registry","project","qa_qc_observation","quantitative_limit","quantitative_limit_audit","sample_event","schedule_rule","submission_item"]},"contractor_management":{"count":7,"tables":["change_order_detail","claim_event","contract","document_attachment","pay_app_line","pay_application","sov_line"]},"engineering_mcp":{"count":58,"tables":["alarm_definition","alarm_event","artifact_type_registry","chemical_dose_run","component_metadata","control_loop_definition","control_performance_snapshot","control_sequence_definition","control_sequence_step","design_baseline_guarantee","design_performance_baseline","document_attachment","electrical_load_schedule","electrical_load_schedule_audit","engineering_artifact","failure_event","guarantee_comparison","hazop_action","hazop_cause","hazop_consequence","hazop_deviation","hazop_node","hazop_participant","hazop_safeguard","hazop_study","interlock_action","interlock_condition","interlock_definition","layouts","lopa_ipl","lopa_scenario","model_snapshots","models","operator_round","pfd_assembly","pfd_interunit_stream","pfd_unit_contract","pfd_unit_interface","pid_sheet","pid_sheet_interface","pid_template_registry","plc_program_unit","plc_task_binding","process_segment_definition","process_unit_type_registry","project","quality_test_measurement","quality_test_record","reliability_kpi_snapshot","round_checkpoint","schema_provenance","shift_log","shift_log_entry","spare_consumption","stream_snapshot","tender_clarification_register","tender_clarification_register_audit","tender_clause_citation"]},"equipment_identity":{"count":18,"tables":["analyzer_analyte","asset_instance","designator","equipment_class_catalog","equipment_position","equipment_position_audit","equipment_position_revision","feeder_type_catalog","instrument_combination","instrument_designator_letter","isa_common_combination","isa_letter_definition","isa_modifier_definition","measurement_method","part_applicability","project","tag_history","valve_designator"]},"legal":{"count":7,"tables":["clause","contract_document","document_attachment","flowdown_link","legal_fact","legal_fact_review","scenario_run"]},"procurement":{"count":34,"tables":["calibration_factor","cepci_index","chemical_consumption_item","chemical_consumption_item_audit","control_valve_spec","control_valve_spec_audit","cost_observation","datasheet_field_definition","datasheet_revision","datasheet_template","datasheet_value_index","decision_trace","designator_model_crosswalk","document_attachment","equipment_category","equipment_spec","estimate_line","goods_receipt","instrument_spec","instrument_spec_audit","process_datasheet","process_datasheet_audit","project","project_estimate","purchase_order","relief_device_spec","relief_device_spec_audit","trace_step","vendor","vendor_alias","vendor_guarantee","vendor_invoice","vendor_quote","vendor_quote_audit"]},"project_controls":{"count":14,"tables":["bid.exception_register","bid.render_manifest","bid.requirement_item","cash_flow_forecast_period","contingency_drawdown","cost_to_complete_projection","earned_value_snapshot","project_control_baseline","project_controls.controlled_override","project_controls.deliverable","project_controls.design_requirement","project_controls.design_requirement_audit","project_controls.open_item","project_controls.tie_in"]},"project_finance":{"count":28,"tables":["cap_table_event","cap_table_snapshot","counterparty","debt_facility","document_attachment","exit_event","financing_event","financing_round","financing_round_debt_terms","financing_round_equity_terms","financing_round_revision","investor_profile_result","proforma_actuals_import","proforma_actuals_record","proforma_covenant_test","proforma_facility_amortization","proforma_figure_basis","proforma_migration_log","proforma_model_run","proforma_period","project","sensitivity_sweep","sensitivity_sweep_case","shareholder","shareholder_distribution","shareholder_new_plant_allocation","shareholder_profile_aggregate","shareholder_tranche"]},"tally_accounting":{"count":17,"tables":["tally_actuals_export","tally_company","tally_company_period","tally_group","tally_ingestion_batch","tally_ledger","tally_report_line","tally_report_snapshot","tally_stock_item","tally_voucher","tally_voucher_line","tally_voucher_line_bank_allocation","tally_voucher_line_batch_allocation","tally_voucher_line_bill_allocation","tally_voucher_line_cost_centre_allocation","tally_voucher_line_rate_detail","tally_voucher_type"]}}},"reference_data":{"description":"Shared vocabularies, taxonomies, and unit systems.","schemas":[{"name":"engineering-unit","url":"https://puranwater.com/schemas/engineering-unit.schema.json","description":"57 constrained unit codes (QUDT/UN-CEFACT Rec 20) with UCUM code mapping"},{"name":"process-unit-taxonomy","url":"https://puranwater.com/schemas/process-unit-taxonomy.schema.json","description":"115 wastewater process unit types with ISA area codes, subarea numbers, and equipment type codes"},{"name":"iso14224-failure-taxonomy","url":"https://puranwater.com/schemas/iso14224-failure-taxonomy.schema.json","description":"ISO 14224 failure modes, causes, mechanisms, and equipment classes for reliability tracking"}]}}}