{
  "schemaVersion": "1.0.0",
  "metadata": {
    "name": "Sign-in sequence",
    "description": "Ordered messages, an activation, a note, and an alt fragment.",
    "created": "2026-10-19T00:00:00.000Z",
    "modified": "2026-10-19T00:00:00.000Z"
  },
  "content": {
    "format": "dsl",
    "dslType": "coral",
    "text": "@diagram uml-sequence\nuser actor as \"User\"\napp participant as \"App\"\nauth participant as \"Auth\"\nsignIn = user -#> app [sync] as \"sign in\"\nverify = app -#> auth [sync] as \"verify\"\nwork = activation auth {\n  choice = alt \"valid\" {\n    granted = auth -.-> app [return] as \"token\"\n  } else \"invalid\" {\n    denied = auth -.-> app [return] as \"denied\"\n  }\n}\nnotify = app -> user [async] as \"result\"\nnote \"Passwords are never logged\" on auth\n"
  },
  "settings": {
    "notation": "uml-sequence",
    "renderStyle028": "hifi",
    "layout": {
      "algorithm": "layered",
      "direction": "RIGHT"
    }
  }
}
