{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The device records the parent's '확인' of one alarm (E08); idempotent. It ends that alarm only; later alarms of the same entry still fire.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "NotDevice"
        },
        {
          "name": "HomeNotFound"
        },
        {
          "name": "AlarmNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "alarmId": {
              "type": "string"
            },
            "at": {
              "format": "datetime",
              "type": "string"
            },
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "occurrenceId": {
              "type": "string"
            }
          },
          "required": [
            "homeId",
            "occurrenceId",
            "alarmId",
            "at"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "acknowledged": {
              "type": "boolean"
            }
          },
          "required": [
            "acknowledged"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.schedule.ackAlarm",
  "lexicon": 1
}
