{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simsift-co-uk/json-schema/simsift-co-uk-refurbished-schema.json",
  "title": "Refurbished",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/simsift-co-uk-openapi.yml#/components/schemas/Refurbished",
  "allOf": [
    {
      "$ref": "#/$defs/Links"
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "const": "refurbished"
        },
        "category": {
          "type": "string"
        },
        "retailer": {
          "type": "string"
        },
        "brand": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "spec": {
          "type": "string"
        },
        "colour": {
          "type": "string"
        },
        "price_gbp": {
          "type": "number"
        },
        "warranty_months": {
          "type": "integer"
        },
        "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"
        }
      }
    }
  }
}