content: {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
      "bar": {
        "pattern": "(bar)+",
        "type": "string"
      },
      "foo": {
        "enum": [
          "foo1",
          "foo2"
        ],
        "type": "string"
      }
    },
    "type": "object"
  }