{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "attempt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "pattern": "^[a-zA-Z0-9_-]+$"
    },
    "hidden": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "at": {
              "type": "number"
            },
            "actor": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "reason": {
              "type": "string"
            }
          },
          "required": ["at", "actor", "reason"]
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": ["attempt", "hidden"]
}
