{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": ["from", "to", "status"],
    "additionalProperties": false,
    "properties": {
      "from": { "type": "string", "pattern": "^/[^*]*$|^/([^*]*/)?\\*$" },
      "to": { "type": "string", "pattern": "^/([^/\\\\\\s][^\\\\\\s]*)?$" },
      "status": { "enum": [301, 302] }
    }
  }
}
