{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 10,
      "maxLength": 120
    },
    "symptom": {
      "type": "string",
      "minLength": 40,
      "maxLength": 2000
    },
    "signal": {
      "type": "string",
      "minLength": 40,
      "maxLength": 2000
    },
    "languages": {
      "minItems": 1,
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "firingExample": {
      "minItems": 1,
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1
          },
          "content": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "path",
          "content"
        ]
      }
    },
    "cleanExample": {
      "minItems": 1,
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1
          },
          "content": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "path",
          "content"
        ]
      }
    },
    "toolVersion": {
      "type": "string"
    }
  },
  "required": [
    "title",
    "symptom",
    "signal",
    "languages",
    "firingExample",
    "cleanExample"
  ],
  "title": "request_rule"
}