{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "JSON schema for mock-config.json5 file",
  "definitions": {
    "sourceRedirection": {
      "description": "A source redirection for mocked module.",
      "type": "object",
      "required": [
        "source"
      ],
      "properties": {
        "source": {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        }
      }
    }
  },
  "patternProperties": {
    ".+": {
      "$ref": "#/definitions/sourceRedirection"
    }
  }
}