String pattern widening

Input

{
  "new_schema": {
    "pattern": "^[a-z0-9]+$",
    "type": "string"
  },
  "old_schema": {
    "pattern": "^[a-z]+$",
    "type": "string"
  }
}

Output

Build-time verified. stats.elapsed_ms normalized to 0.

{
  "backward_compatible": true,
  "backward_counterexample": null,
  "forward_compatible": false,
  "forward_counterexample": {
    "payload": "0"
  },
  "stats": {
    "elapsed_ms": 0,
    "timed_out": false
  },
  "verdict": "complete",
  "verified": true
}

Request

curl --fail-with-body --silent --show-error https://oracles.burgeonads.com/v1/check/schema-compat -H 'Content-Type: application/json' --data-raw '{"old_schema":{"type":"string","pattern":"^[a-z]+$"},"new_schema":{"type":"string","pattern":"^[a-z0-9]+$"}}'