{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apiskins-com/json-schema/apiskins-com-item-schema.json",
  "title": "Item",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apiskins-com-openapi.yml#/components/schemas/Item",
  "type": "object",
  "required": [
    "market_hash_name",
    "name",
    "type",
    "quality",
    "stattrak",
    "souvenir",
    "collections",
    "containers",
    "details",
    "url"
  ],
  "properties": {
    "market_hash_name": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "The item without its wear, StatTrak™ or Souvenir: AWP | Asiimov"
    },
    "type": {
      "type": "string",
      "enum": [
        "skin",
        "sticker",
        "agent",
        "charm",
        "patch",
        "music_kit",
        "graffiti",
        "collectible",
        "container"
      ]
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "Skins: the weapon's category (knives, gloves, rifles, pistols, smgs, heavy, equipment). Containers: their kind (case, sticker_capsule, souvenir_package...)"
    },
    "weapon": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "pattern": {
      "type": [
        "string",
        "null"
      ]
    },
    "wear": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string",
          "enum": [
            "fn",
            "mw",
            "ft",
            "ww",
            "bs"
          ]
        },
        "name": {
          "type": "string"
        }
      }
    },
    "min_float": {
      "type": [
        "number",
        "null"
      ],
      "description": "The lowest float the item can have: the skin's own range within its wear"
    },
    "max_float": {
      "type": [
        "number",
        "null"
      ]
    },
    "quality": {
      "type": "string",
      "enum": [
        "Normal",
        "StatTrak™",
        "Souvenir",
        "★",
        "★ StatTrak™"
      ]
    },
    "stattrak": {
      "type": "boolean"
    },
    "souvenir": {
      "type": "boolean"
    },
    "rarity": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "color": {
          "type": "string"
        }
      }
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "What tells it apart when not wear or StatTrak™: a graffiti's colour"
    },
    "team": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "both",
        "ct",
        "t",
        null
      ]
    },
    "collections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "containers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "description": "The cases and packages it drops from"
    },
    "details": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Tournament, Team, Player, Effect, Side, Released..."
    },
    "image": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Its page on the site"
    }
  }
}