{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "seed": {
      "type": "string"
    },
    "flip": {
      "type": "boolean",
      "default": false
    },
    "rotate": {
      "type": "integer",
      "minimum": 0,
      "maximum": 360,
      "default": 0
    },
    "scale": {
      "type": "integer",
      "minimum": 0,
      "maximum": 200,
      "default": 100
    },
    "radius": {
      "type": "integer",
      "minimum": 0,
      "maximum": 50,
      "default": 0
    },
    "size": {
      "type": "integer",
      "minimum": 1
    },
    "backgroundColor": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^(transparent|[a-fA-F0-9]{6})$"
      }
    },
    "backgroundType": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "solid",
          "gradientLinear"
        ]
      },
      "default": [
        "solid"
      ]
    },
    "backgroundRotation": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": -360,
        "maximum": 360
      },
      "default": [
        0,
        360
      ]
    },
    "translateX": {
      "type": "integer",
      "minimum": -100,
      "maximum": 100,
      "default": 0
    },
    "translateY": {
      "type": "integer",
      "minimum": -100,
      "maximum": 100,
      "default": 0
    },
    "clip": {
      "type": "boolean",
      "default": true
    },
    "randomizeIds": {
      "type": "boolean",
      "default": false
    },
    "beard": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "moustacheTwirl",
          "fullBeard",
          "chin",
          "chinMoustache",
          "longBeard"
        ]
      },
      "default": [
        "moustacheTwirl",
        "fullBeard",
        "chin",
        "chinMoustache",
        "longBeard"
      ]
    },
    "beardProbability": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "default": 50
    },
    "body": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "body"
        ]
      },
      "default": [
        "body"
      ]
    },
    "clothes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "turtleNeck",
          "openJacket",
          "dress",
          "shirt",
          "tShirt"
        ]
      },
      "default": [
        "turtleNeck",
        "openJacket",
        "dress",
        "shirt",
        "tShirt"
      ]
    },
    "clothesColor": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^(transparent|[a-fA-F0-9]{6})$"
      },
      "default": [
        "545454",
        "b11f1f",
        "0b3286",
        "147f3c",
        "eab308",
        "731ac3",
        "ec4899",
        "f97316",
        "151613",
        "e8e9e6"
      ]
    },
    "eyebrows": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "raised",
          "angry",
          "happy",
          "sad",
          "neutral"
        ]
      },
      "default": [
        "raised",
        "angry",
        "happy",
        "sad",
        "neutral"
      ]
    },
    "eyes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "happy",
          "wide",
          "bow",
          "humble",
          "wink"
        ]
      },
      "default": [
        "happy",
        "wide",
        "bow",
        "humble",
        "wink"
      ]
    },
    "hair": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "sideComed",
          "undercut",
          "spiky",
          "bun"
        ]
      },
      "default": [
        "sideComed",
        "undercut",
        "spiky",
        "bun"
      ]
    },
    "hairColor": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^(transparent|[a-fA-F0-9]{6})$"
      },
      "default": [
        "2c1b18",
        "a55728",
        "b58143",
        "d6b370",
        "724133"
      ]
    },
    "hairProbability": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "default": 100
    },
    "head": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "head"
        ]
      },
      "default": [
        "head"
      ]
    },
    "mouth": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "laugh",
          "angry",
          "agape",
          "smile",
          "sad"
        ]
      },
      "default": [
        "laugh",
        "angry",
        "agape",
        "smile",
        "sad"
      ]
    },
    "rearHair": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "longStraight",
          "longWavy",
          "shoulderHigh",
          "neckHigh"
        ]
      },
      "default": [
        "longStraight",
        "longWavy",
        "shoulderHigh",
        "neckHigh"
      ]
    },
    "rearHairProbability": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "default": 50
    },
    "skinColor": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^(transparent|[a-fA-F0-9]{6})$"
      },
      "default": [
        "f1c3a5",
        "c68e7a",
        "b98e6a",
        "a36b4f",
        "5c3829"
      ]
    }
  }
}