{
  "type": "object",
  "properties": {
    "toplevel": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "foos": {
            "type": "string",
            "pattern": "(foo)+",
            "message": {
              "pattern": "{0}: Must be a string with the a shape foofoofoofoo... with at least one foo"
            }
          },
          "Nope": {
            "type": "string"
          },
          "bars": {
            "type": "string",
            "pattern": "(bar)+",
            "message": {
              "pattern": "{0}: Must be a string with the a shape barbarbar... with at least one bar"
            }
          }
        }
      },
      "minItems": 1
    }
  }
}