{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/WildEgo/m2-json-schemas/refs/heads/main/give_basic_weapon.json", "title": "Starting items configuration", "type": "object", "properties": { "$schema": { "type": "string" }, "common": { "type": "array", "items": { "$ref": "#/$defs/item" } }, "shared": { "type": "array", "items": { "$ref": "#/$defs/item" } }, "jobs": { "type": "object", "properties": { "warrior": { "type": "array", "items": { "$ref": "#/$defs/item" } }, "assassin": { "type": "array", "items": { "$ref": "#/$defs/item" } }, "sura": { "type": "array", "items": { "$ref": "#/$defs/item" } }, "shaman": { "type": "array", "items": { "$ref": "#/$defs/item" } } }, "required": ["warrior", "assassin", "sura", "shaman"], "additionalProperties": false } }, "required": ["common", "shared", "jobs"], "additionalProperties": false, "$defs": { "item": { "type": "object", "properties": { "vnum": { "type": "integer" }, "pos": { "type": "integer" }, "equip": { "type": "boolean" }, "count": { "type": "integer" }, "sockets": { "type": "array", "items": { "type": "integer" }, "minItems": 3, "maxItems": 3 }, "attrs": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "integer" }, "value": { "type": "integer" } }, "required": ["type", "value"], "additionalProperties": false } } }, "required": ["vnum", "pos", "equip"], "additionalProperties": false } } }