{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "https://raw.githubusercontent.com/todogroup/repolinter/master/rules/file-contents-config.json",
  "type": "object",
  "properties": {
    "nocase": {
      "type": "boolean",
      "default": false
    },
    "globsAll": {
      "type": "array",
      "items": { "type": "string" }
    },
    "content": { "type": "string" },
    "flags": { "type": "string" },
    "human-readable-content": { "type": "string" },
    "fail-on-non-existent": {
      "type": "boolean",
      "default": false
    },
    "display-result-context": {"type": "boolean", "default": false},
    "context-char-length": {
      "type": "number",
      "default": 50
    }
  },
  "required": ["content"],
  "oneOf": [{ "required": ["globsAll"] }, { "required": ["files"] }]
}
