{
  "title": "RawText",
  "description": "UNDOCUMENTED",
  "$comment": "UNDOCUMENTED",
  "type": "object",
  "additionalProperties": false,
  "required": ["rawtext"],
  "definitions": {
    "rawtext": {
      "title": "Rawtext",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "type": "array",
      "items": {
        "oneOf": [
          { "type": "string" },
          { "$ref": "#/definitions/translate" },
          { "$ref": "#/definitions/text" },
          { "$ref": "#/definitions/selector" },
          { "$ref": "#/definitions/score" }
        ]
      }
    },
    "selector": {
      "title": "Selector",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "type": "object",
      "additionalProperties": false,
      "required": ["selector"],
      "properties": {
        "selector": {
          "title": "Selector",
          "description": "UNDOCUMENTED",
          "$comment": "UNDOCUMENTED",
          "type": "string",
          "examples": ["@a", "@s", "@r", "@p", "@e", "@initiator"],
          "pattern": "^@.*$"
        }
      }
    },
    "score": {
      "title": "Score",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "type": "object",
      "additionalProperties": false,
      "required": ["score"],
      "properties": {
        "score": {
          "title": "Score",
          "description": "UNDOCUMENTED",
          "$comment": "UNDOCUMENTED",
          "type": "object",
          "additionalProperties": false,
          "required": ["name", "objective"],
          "properties": {
            "name": {
              "title": "Selector",
              "description": "A selector, player name (can be fake), or *",
              "type": "string",
              "examples": ["@a", "@s", "@r", "@p", "@e", "@initiator", "*"]
            },
            "objective": {
              "title": "Objective",
              "description": "UNDOCUMENTED",
              "$comment": "UNDOCUMENTED",
              "type": "string"
            }
          }
        }
      }
    },
    "text": {
      "title": "Text",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "type": "object",
      "additionalProperties": false,
      "required": ["text"],
      "properties": {
        "text": {
          "title": "Text",
          "description": "UNDOCUMENTED",
          "$comment": "UNDOCUMENTED",
          "type": "string"
        }
      }
    },
    "translate": {
      "title": "Translate",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "type": "object",
      "additionalProperties": false,
      "required": ["translate"],
      "properties": {
        "translate": {
          "title": "Translate",
          "description": "UNDOCUMENTED",
          "$comment": "UNDOCUMENTED",
          "type": "string"
        },
        "with": {
          "$ref": "#/definitions/with"
        }
      }
    },
    "with": {
      "title": "With",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "examples": ["\n", { "rawtext": [] }],
      "items": {
        "oneOf": [
          { "type": "string" },
          {
            "title": "Rawtext",
            "description": "UNDOCUMENTED",
            "$comment": "UNDOCUMENTED",
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "rawtext": {
                "$ref": "#/definitions/rawtext"
              }
            }
          }
        ]
      }
    }
  },
  "properties": {
    "rawtext": {
      "$ref": "#/definitions/rawtext"
    }
  }
}
