{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/iasig-md/json-schema/iasig-md-post-v1-get-offers-response-schema.json",
  "title": "PostV1GetOffersResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/iasig-md-openapi-generated.yml#/components/schemas/PostV1GetOffersResponse",
  "type": "object",
  "properties": {
    "offers": {
      "type": "array",
      "description": "Array of offer objects"
    },
    "product": {
      "type": "string",
      "description": "Product identifier"
    },
    "category": {
      "type": "string",
      "description": "Category label (e.g., A, B, etc.)"
    },
    "duration": {
      "type": "number",
      "description": "Duration in days"
    },
    "max_interval": {
      "type": "number",
      "description": "Maximum interval in days"
    },
    "name": {
      "type": "string",
      "description": "Human readable name of the offer"
    },
    "external_category": {
      "type": "string",
      "description": "External category label"
    },
    "reference_price": {
      "type": "string",
      "description": "Reference price with currency"
    },
    "reference_exchange_rate": {
      "type": "string",
      "description": "Exchange rate used for reference price"
    },
    "price": {
      "type": "number",
      "description": "Price in MDL"
    },
    "currency": {
      "type": "string",
      "description": "Currency code (MDL)"
    },
    "emission_class": {
      "type": "string",
      "description": "Emission class for which the offer is priced (from 1 Oct 2026)"
    },
    "min_start_date": {
      "type": "string",
      "description": "Earliest start date (yyyy‑mm‑dd)"
    },
    "message": {
      "type": "string",
      "description": "Message field (usually empty)"
    },
    "company": {
      "type": "string",
      "description": "Insurer company name (for green‑card, rca, etc.)"
    },
    "direct_settlement_available": {
      "type": "boolean",
      "description": "Indicates if direct settlement is offered (MTPL)"
    },
    "direct_settlement": {
      "type": "boolean",
      "description": "Indicates if offer includes direct settlement (MTPL)"
    },
    "price_without_direct_settlement": {
      "type": "number",
      "description": "Price without direct settlement (MTPL)"
    },
    "car_model": {
      "type": "string",
      "description": "Car model (road‑tax, roadside‑assistance)"
    },
    "plate_number": {
      "type": "string",
      "description": "Plate number (road‑tax, roadside‑assistance)"
    },
    "period": {
      "type": "string",
      "description": "Validity period id (roadside‑assistance)"
    },
    "country_name": {
      "type": "string",
      "description": "Country name (vignette:eu)"
    },
    "validity": {
      "type": "string",
      "description": "Validity option id (vignette:eu)"
    },
    "vehicle_class": {
      "type": "string",
      "description": "Vehicle class (tiered pricing vignette:eu)"
    },
    "vehicle_class_info": {
      "type": "string",
      "description": "Human readable vehicle class info (vignette:eu)"
    }
  }
}