Run the repository checks
From the repository root, with development dependencies already installed, run:npm ci first. Installation may require registry access; it is separate from the offline tests.
Follow the core objects
- Read the QuoteManifest to identify the enabled questions, pricing model, review preference, currencies and business-supplied validity settings.
- Build a QuoteRequest that preserves raw answers and carries explicit consent for the chosen pack and version.
- Use the PricingModel to apply business-owned rates and factors. Keep the ordered intermediate calculations and assumptions so you can explain the result.
- Return a non-binding Estimate with a price range when you have valid priced inputs. Neither review mode grants binding approval.
- Follow the lifecycle through validation and artist review before issuing a binding Quote with
valid_until.
spec/schemas/ by $id using Ajv’s draft 2020-12 implementation and enable ajv-formats. Relative schema references resolve against https://uqp.dev/spec/schemas/; that identifier is not a requirement to fetch schemas at runtime. Root objects reject unknown properties. Check min <= max in application validation as well as validating the schema.