{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simsift-co-uk/json-schema/simsift-co-uk-sim-only-schema.json",
  "title": "SimOnly",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/simsift-co-uk-openapi.yml#/components/schemas/SimOnly",
  "allOf": [
    {
      "$ref": "#/$defs/Links"
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "const": "sim_only"
        },
        "network": {
          "type": "string"
        },
        "host_network": {
          "type": [
            "string",
            "null"
          ]
        },
        "data_gb": {
          "type": "number"
        },
        "unlimited": {
          "type": "boolean"
        },
        "price_gbp_per_month": {
          "type": "number"
        },
        "intro_months": {
          "type": "integer"
        },
        "price_after_intro_gbp": {
          "type": "number"
        },
        "contract_months": {
          "type": "integer"
        },
        "annual_rise_gbp": {
          "type": "number"
        },
        "true_monthly_gbp": {
          "type": "number",
          "description": "Total paid over the contract divided by months, including price rises. Quote as returned."
        },
        "esim": {
          "type": "boolean"
        },
        "five_g": {
          "type": "boolean"
        },
        "source": {
          "type": "string"
        }
      }
    }
  ],
  "$defs": {
    "Links": {
      "type": "object",
      "properties": {
        "checked_at": {
          "type": "string",
          "format": "date-time",
          "description": "When SimSift last verified this price."
        },
        "expires_at": {
          "type": "string",
          "format": "date-time",
          "description": "checked_at plus 36 hours; never served after this."
        },
        "page_url": {
          "type": "string",
          "format": "uri",
          "description": "The matching SimSift page."
        },
        "deal_url": {
          "type": "string",
          "format": "uri",
          "description": "SimSift Get deal link (tracked; SimSift may earn commission)."
        },
        "advertisement": {
          "type": "string"
        }
      }
    }
  }
}