{
  "type": "array",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "format": "plugin-rules",
    "properties": {
      "name": { "type": "string", "minLength": 1 },
      "source": { "$ref": "sourceSchema" },
      "target": { "type": "string", "minLength": 1, "format": "relative-uri" },
      "destination": { "type": "string", "minLength": 1 },
      "csrfProtection": { "type": "boolean" },
      "authenticationType": { "type": "string", "enum": ["xsuaa", "ias","basic", "none"] },
      "scope": { "$ref": "scopesSchema" }
    },
    "required": ["name", "source", "destination"]
  }
}
