Foundational types and enumerations that all other modules build upon. These define the primitive data structures for money, people, accounts, and legal references.
Precise decimal representation of monetary values. Handles currency, rounding rules, and arithmetic operations without floating-point errors.
src/isa95/L0_Data/types/Money.jsRepresents any individual: employee, vendor contact, elected official, citizen. Includes name, contact info, and role references.
src/isa95/L0_Data/types/Person.jsChart of accounts entry. Fund, department, object code structure per PA county accounting standards. Supports hierarchical rollups.
src/isa95/L0_Data/types/Account.jsCitation to PA Code, Home Rule Charter, or other legal authority. Supports section, subsection, and paragraph granularity.
src/isa95/L0_Data/types/LegalReference.jsFiscal period representation. Handles fiscal years, quarters, months. Supports overlap detection and period arithmetic.
src/isa95/L0_Data/types/DateRange.jsPhysical and mailing address with PA-specific validation. Supports Northampton County municipalities and zip codes.
src/isa95/L0_Data/types/Address.jsReference to supporting documentation: contracts, invoices, receipts. Includes metadata, retention schedule, and access controls.
src/isa95/L0_Data/types/Document.jsAll possible states for a claim: DRAFT, SUBMITTED, UNDER_REVIEW, APPROVED, REJECTED, PAID, VOIDED.
src/isa95/L0_Data/enums/ClaimStatus.jsCategories of audits: FINANCIAL, COMPLIANCE, PERFORMANCE, SPECIAL, FOLLOW_UP per Government Auditing Standards.
src/isa95/L0_Data/enums/AuditType.jsAudit finding severity levels: MATERIAL_WEAKNESS, SIGNIFICANT_DEFICIENCY, CONTROL_DEFICIENCY, OBSERVATION.
src/isa95/L0_Data/enums/FindingSeverity.jsGovernmental fund types: GENERAL, SPECIAL_REVENUE, CAPITAL_PROJECTS, DEBT_SERVICE, ENTERPRISE, INTERNAL_SERVICE.
src/isa95/L0_Data/enums/FundType.jsJSON Schema for claim validation. Enforces required fields, data types, and business rules before persistence.
src/isa95/L0_Data/schemas/claim.schema.jsonJSON Schema for warrant validation. Ensures proper authorization chain and required signatures.
src/isa95/L0_Data/schemas/warrant.schema.jsonJSON Schema for audit engagement records. Validates scope, timeline, and finding structure.
src/isa95/L0_Data/schemas/audit.schema.json