{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SubstringMatchCriteria",
  "type": "object",
  "description": "A criteria that matches a specific string of text in the document.",
  "properties": {
    "text": {
      "type": "string",
      "description": "The text to search for in the document."
    },
    "matchCase": {
      "type": "boolean",
      "description": "Indicates whether the search should respect case."
    }
  }
}