{
  "$id": "https://intentschema.org/profiles/com.microsoft.graph/productivity.calendar.invite.respond.v1.json",
  "id": "org.intentschema.productivity.calendar.invite.respond.v1@com.microsoft.graph.v1",
  "pins": "https://intentschema.org/intents/productivity/calendar/invite/respond/v1.json",
  "title": "Microsoft Graph invite respond profile",
  "description": "Graph profile for responding to calendar invites (accept/decline/tentativelyAccept).",
  "constraints": {
    "properties": {
      "target": {
        "properties": {
          "system": {
            "const": "ms_graph"
          }
        },
        "required": [
          "system"
        ]
      }
    }
  },
  "api": {
    "method": "POST",
    "path": "/v1.0/me/events/{id}/{response}",
    "scopes": [
      "Calendars.ReadWrite"
    ],
    "docs": "https://learn.microsoft.com/en-us/graph/api/event-accept",
    "description": "Path suffix is one of: accept, decline, tentativelyAccept \u2014 matching the intent's object.response field.",
    "params": {
      "target.external_id": "/events/{id}/{response} path",
      "object.response": "path suffix: accept | decline | tentativelyAccept",
      "object.comment": "comment in request body",
      "object.notify_organizer": "sendResponse (boolean)"
    },
    "base_url": "https://graph.microsoft.com"
  }
}
