{ "$schema": "http://json-schema.org/draft-06/schema#", "properties": { "name": {"type": "string"}, "player": {"type": "string"}, "classes": { "items": { "properties": { "level": {"type": "integer", "minimum": 1}, "name": {"type": "string"}, "spellBook": {"$ref": "file:spellbook.json#"} }, "type": "object" }, "type": "array" }, "race": {"type": "string"}, "alignment": { "type": "string", "enum": [ "LG", "NG", "CG", "LN", "TN", "CN", "LE", "NE", "CE" ] }, "deity": {"type": "string"}, "size": { "type": "string", "enum": [ "F", "D", "T", "S", "M", "L", "H", "G", "C" ] }, "age": {"type": "string"}, "gender": {"type": "string", "enum": ["M", "F", "N"]}, "height": {"type": "string"}, "weight": {"type": "number"}, "eyes": {"type": "string"}, "hair": {"type": "string"}, "skin": {"type": "string"}, "experience": {"type": "integer"}, "health": { "properties": { "total": {"type": "integer", "minimum": 1}, "rolled": {"type": "integer", "minimum": 1}, "current": {"type": "integer", "minimum": -10}, "temp": {"type": "integer", "minimum": 0}, "nonlethal": {"type": "integer", "minimum": 0} }, "type":"object" }, "abilities": { }, "skills": { "items": { "properties": { "name": {"type": "string"}, "ranks": {"type": "integer"}, "pointsSpent": {"type": "integer"} }, "type": "object" }, "type": "array" }, "inventory": {"$ref": "file:inventory.json#"} }, "type": "object" }