{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "profile": {
      "type": "string",
      "const": "owp-market-local/0.2"
    },
    "match_id": {
      "type": "string",
      "allOf": [
        {
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        {
          "pattern": "^[a-f0-9-]+$"
        }
      ]
    },
    "reason": {
      "type": "string",
      "enum": [
        "DECLINED",
        "EXECUTION_FAILED"
      ]
    }
  },
  "required": [
    "profile",
    "match_id",
    "reason"
  ],
  "additionalProperties": false,
  "title": "FailureRequest",
  "$comment": "owp-market-local/0.2; fictional loopback market, non-redeemable test credits only."
}
