{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "category": {
      "type": "string",
      "enum": [
        "companion",
        "plush",
        "figure",
        "badge"
      ]
    },
    "price": {
      "type": "number"
    },
    "image": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "features": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "specs": {
      "type": "object",
      "properties": {
        "battery": {
          "type": "string"
        },
        "connectivity": {
          "type": "string"
        },
        "ageRange": {
          "type": "string"
        },
        "weight": {
          "type": "string"
        },
        "dimensions": {
          "type": "string"
        }
      }
    },
    "badge": {
      "type": "string"
    },
    "$schema": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "category",
    "price",
    "image",
    "description",
    "features"
  ]
}