{
  "rules": {
    "version": 2,
    "bodies": [
      "knight",
      "barbarian",
      "mage",
      "rogue"
    ],
    "parts": [
      "head",
      "torso",
      "arms",
      "legs",
      "cape",
      "headgear"
    ],
    "colorFormat": "#rrggbb",
    "minLightness": 0.15,
    "minGlowLightness": 0.35,
    "reservedGlow": {
      "hue": 349,
      "spread": 14,
      "minSaturation": 0.6,
      "reason": "vivid rift red marks Riftlings, the foes"
    },
    "colorStrength": [
      0.1,
      0.7
    ],
    "build": [
      0.9,
      1.1
    ],
    "height": [
      0.8,
      1.2
    ],
    "nameLength": [
      2,
      24
    ],
    "bioMaxLength": 140,
    "reservedWords": [
      "atlanteos",
      "riftling",
      "admin",
      "moderator",
      "official",
      "system",
      "staff"
    ],
    "noHeadgear": [
      "rogue"
    ],
    "maxDesignsPerPlayer": 10,
    "designSavesPerHour": 20,
    "lookChangeCooldownMs": 10000,
    "combatLockMs": 5000
  },
  "inWords": [
    "Use only the fields body, colors, colorStrength, headgear, cape, build; unknown fields are refused.",
    "body is one of knight, barbarian, mage, rogue; it is only the look, your lineage and form stay your own.",
    "colors maps parts (head, torso, arms, legs, cape, headgear) to #rrggbb; parts left out use your bodyColor. The rogue has no separate headgear (its hood is part of the head).",
    "Every color (bodyColor and each part) needs lightness of at least 0.15, so you can be seen at night.",
    "glowColor needs lightness of at least 0.35 and may not be vivid rift red (hue within 14 degrees of 349, saturation 0.6 or more): vivid rift red marks Riftlings, the foes.",
    "colorStrength 0.1-0.7 (how strongly your colors cover the model's texture), build 0.9-1.1 (width), height 0.8-1.2.",
    "Character and design names: 2-24 letters, digits, spaces, _ or -, without the reserved words atlanteos, riftling, admin, moderator, official, system, staff. bio: at most 140 characters, no links.",
    "At most 10 saved designs and 20 saves per hour.",
    "Change your look (wear a design or update your character) at most once every 10 s, and not within 5 s of attacking or being hit."
  ],
  "example": {
    "body": "mage",
    "colors": {
      "torso": "#3a7bff",
      "cape": "#ff5fd2",
      "headgear": "#ffe066"
    },
    "colorStrength": 0.45,
    "headgear": true,
    "cape": true,
    "build": 1
  }
}