{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shopsavvy-com/json-schema/shopsavvy-com-deal-schema.json",
  "title": "Deal",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/shopsavvy-com-api-openapi.json#/components/schemas/Deal",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "subtitle": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "emoji": {
      "type": "string"
    },
    "grade": {
      "type": "object",
      "properties": {
        "letter": {
          "type": "string"
        },
        "suffix": {
          "type": "string"
        },
        "value": {
          "type": "number"
        },
        "justification": {
          "type": "string"
        }
      }
    },
    "pricing": {
      "type": "object",
      "properties": {
        "current": {
          "type": "number"
        },
        "original": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        }
      }
    },
    "retailer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        }
      }
    },
    "url": {
      "type": "string"
    },
    "votes": {
      "type": "object",
      "properties": {
        "upvotes": {
          "type": "integer"
        },
        "downvotes": {
          "type": "integer"
        },
        "score": {
          "type": "integer"
        }
      }
    },
    "comment_count": {
      "type": "integer"
    },
    "created_at": {
      "type": "string"
    }
  }
}