☰ Contents
AISA v2.0 / Technical documentation / configuration-summary.schema.json

configuration-summary.schema.json

JSON · 25 lines · 3,729 bytes · wiki path 10 Architecture/contracts/drafts/configuration-summary.schema.json · download the raw file · cited from Contracts

Same folder: branch-set.schema.json · brief.schema.json · cross-repo-shape.schema.json · experience-entry.schema.json · handover-packet.schema.json · normalised-arrival.schema.json · route-packet.schema.json · sign-out-document.schema.json · skill-manifest.schema.json · solution-packet.schema.json · stage-contract.schema.json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aisa.ablera.com/contracts/drafts/configuration-summary.schema.json",
  "title": "Configuration summary (S2 → S3) — DRAFT inter-stage contract",
  "x-status": "draft",
  "description": "Stage Abacus § SUM-1…6: what the tariff phase hands on — context and identity, covers as rated, loadings/discounts/taxes as rated, the factors the rating keys on, what the engine demands and what nothing holds, rules. Required core only; extensible per case (D139).",
  "type": "object", "additionalProperties": true,
  "required": ["case_id", "environment", "product_code", "versions", "rated_covers", "rating_factors", "worked_examples", "open_or_provisional"],
  "properties": {
    "case_id": { "type": "string" },
    "environment": { "type": "string", "description": "the working environment the versions are deployed on (D113)" },
    "skeleton_source": { "type": "string", "description": "the product the skeleton was cloned from, if any" },
    "product_code": { "type": "string" },
    "versions": { "type": "array", "minItems": 1, "items": { "type": "object", "required": ["version_id", "stage", "template"], "properties": { "version_id": { "type": ["string", "integer"] }, "stage": { "type": "string", "enum": ["OPEN", "DEPLOYED"] }, "template": { "type": "string" }, "valid_from": { "type": "string" }, "template_resolution": { "type": "string" } } } },
    "rated_covers": { "type": "array", "minItems": 0, "items": { "type": "object", "required": ["code", "rate_file", "priced"], "properties": { "code": { "type": "string" }, "rate_file": { "type": "string" }, "priced": { "type": "boolean" }, "unpriced_note": { "type": "string", "description": "D122: an unpriced cover stays unpriced with a pre-emptive note" } } } },
    "rated_ld": { "type": "array", "items": { "type": "object", "required": ["code", "type", "sign"], "properties": { "code": { "type": "string" }, "type": { "type": "string" }, "sign": { "type": "string", "enum": ["+", "-"] }, "rate_file": { "type": "string" }, "conditional": { "type": "boolean" } } } },
    "rating_factors": { "type": "array", "items": { "type": "object", "required": ["code", "datatype"], "properties": { "code": { "type": "string" }, "datatype": { "type": "string" }, "values": { "type": "array", "items": { "type": "string" } }, "sale_stage": { "type": "string", "const": "POL" }, "qt_required": { "type": "string", "enum": ["Y", "N"] } } } },
    "required_features": { "type": "array", "items": { "type": "string" }, "description": "what getRates demands (400 missing features otherwise — Quote Verification § 4)" },
    "not_held_by_rating": { "type": "array", "items": { "type": "string" }, "description": "what the specification says and the rating engine does not hold — S3's to configure" },
    "worked_examples": { "type": "array", "minItems": 1, "items": { "type": "object", "required": ["inputs", "expected_premium_by_cover", "version_id_asserted"], "properties": { "inputs": { "type": "object" }, "expected_premium_by_cover": { "type": "object", "additionalProperties": { "type": "number" } }, "currency": { "type": "string", "default": "EUR" }, "version_id_asserted": { "type": ["string", "integer"], "description": "D113: the test asserts the version it priced" } } } },
    "rates_catalog_note": { "type": "string" },
    "open_or_provisional": { "type": "array", "items": { "type": "object", "required": ["what", "kind"], "properties": { "what": { "type": "string" }, "kind": { "type": "string", "enum": ["unpriced_by_design", "provisional", "open_question"] }, "missing_id": { "type": "string" } } } },
    "rules": { "type": "array", "items": { "type": "string" } }
  }
}