{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cover-desk.pages.dev/open-cover/schemas/refusal.json",
  "title": "Open Cover 0.1: refusal",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "ok",
    "reason"
  ],
  "properties": {
    "profile": {
      "type": "string",
      "enum": [
        "open-cover/0.1"
      ]
    },
    "ok": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "field": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40
    }
  }
}
