Schema Architecture
Veterinary Service Schema
How 130+ services, reusable components, multi-dimensional pricing, and CMA compliance infrastructure connect in practice. Every entity shown here is live in production.
Core Schema Map
The schema connects a canonical service catalog to reusable components via explicit mappings, then layers multi-dimensional pricing and CMA compliance infrastructure on top. Every relationship shown here is active in production.
Example A: Vaccination Hierarchy
GROUP containers with ATOMIC and COURSE children — preserving package comparability
Example B: Weight-Banded Pricing
One service, five price rows — weight is a dimension, not a duplicate slug
Example C: Surgery Component Mapping
Component-level granularity — every inclusion explicitly modelled
Example D: Hospitalisation Care Levels
Time window × care level — full matrix without slug duplication
Example E: CMA Compliance State Machine
From first data entry to verified compliant — every step evidenced
Example F: ServiceKind Boundaries
Clear separation of taxonomy, packages, and pricing endpoints