sesame-data-model.svg (10566B)
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="341px" preserveAspectRatio="none" style="width:1046px;height:341px;background:#FFFFFF;" version="1.1" viewBox="0 0 1046 341" width="1046px" zoomAndPan="magnify"><defs/><g><!--cluster Access control system--><g id="cluster_Access control system"><path d="M8.5,11 L185.3066,11 A3.75,3.75 0 0 1 187.8066,13.5 L194.8066,33.2969 L194.5,33.2969 A2.5,2.5 0 0 1 197,35.7969 L197,331.5 A2.5,2.5 0 0 1 194.5,334 L8.5,334 A2.5,2.5 0 0 1 6,331.5 L6,13.5 A2.5,2.5 0 0 1 8.5,11 " fill="#FFFFFF" style="stroke:#586A88;stroke-width:1.5;"/><line style="stroke:#586A88;stroke-width:1.5;" x1="6" x2="194.8066" y1="33.2969" y2="33.2969"/><text fill="#00134A" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="175.8066" x="10" y="25.9951">Access control system</text></g><!--cluster Merchant backend (Taler)--><g id="cluster_Merchant backend (Taler)"><path d="M356.5,6 L561.5049,6 A3.75,3.75 0 0 1 564.0049,8.5 L571.0049,28.2969 L1036.5,28.2969 A2.5,2.5 0 0 1 1039,30.7969 L1039,235.5 A2.5,2.5 0 0 1 1036.5,238 L356.5,238 A2.5,2.5 0 0 1 354,235.5 L354,8.5 A2.5,2.5 0 0 1 356.5,6 " fill="#FFFFFF" style="stroke:#586A88;stroke-width:1.5;"/><line style="stroke:#586A88;stroke-width:1.5;" x1="354" x2="571.0049" y1="28.2969" y2="28.2969"/><text fill="#00134A" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="204.0049" x="358" y="20.9951">Merchant backend (Taler)</text></g><!--class group--><g id="elem_group"><rect codeLine="10" fill="#FFFFFF" height="66.8906" id="group" rx="2.5" ry="2.5" style="stroke:#0042B3;stroke-width:0.5;" width="101.1338" x="51" y="250.5"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="92.5928" x="55.2705" y="268.4951">access group</text><line style="stroke:#0042B3;stroke-width:0.5;" x1="52" x2="151.1338" y1="276.7969" y2="276.7969"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="58.1943" x="57" y="293.792">group id</text><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="89.1338" x="57" y="310.0889">group expiry</text></g><!--class door--><g id="elem_door"><rect codeLine="14" fill="#FFFFFF" height="66.8906" id="door" rx="2.5" ry="2.5" style="stroke:#0042B3;stroke-width:0.5;" width="96.4854" x="53.5" y="46.5"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="31.7734" x="85.856" y="64.4951">door</text><line style="stroke:#0042B3;stroke-width:0.5;" x1="54.5" x2="148.9854" y1="72.7969" y2="72.7969"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="49" x="59.5" y="89.792">door id</text><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="84.4854" x="59.5" y="106.0889">door groups</text></g><!--class user--><g id="elem_user"><rect codeLine="18" fill="#FFFFFF" height="66.8906" id="user" rx="2.5" ry="2.5" style="stroke:#0042B3;stroke-width:0.5;" width="95.248" x="54" y="148.5"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="30.5361" x="86.356" y="166.4951">user</text><line style="stroke:#0042B3;stroke-width:0.5;" x1="55" x2="148.248" y1="174.7969" y2="174.7969"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="83.248" x="60" y="191.792">user groups</text><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="70.2871" x="60" y="208.0889">credential</text></g><!--class tf--><g id="elem_tf"><rect codeLine="25" fill="#FFFFFF" height="66.8906" id="tf" rx="2.5" ry="2.5" style="stroke:#0042B3;stroke-width:0.5;" width="214.8633" x="808" y="153.5"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="87.3086" x="871.7773" y="171.4951">token family</text><line style="stroke:#0042B3;stroke-width:0.5;" x1="809" x2="1021.8633" y1="179.7969" y2="179.7969"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="28.9434" x="814" y="196.792">slug</text><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="202.8633" x="814" y="213.0889">duration, validity_granularity</text></g><!--class tpl--><g id="elem_tpl"><rect codeLine="29" fill="#FFFFFF" height="66.8906" id="tpl" rx="2.5" ry="2.5" style="stroke:#0042B3;stroke-width:0.5;" width="235.5693" x="370" y="46.5"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="63.1982" x="456.1855" y="64.4951">template</text><line style="stroke:#0042B3;stroke-width:0.5;" x1="371" x2="604.5693" y1="72.7969" y2="72.7969"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="82.9746" x="376" y="89.792">template_id</text><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="223.5693" x="376" y="106.0889">contract choices: one per group</text></g><!--class otp--><g id="elem_otp"><rect codeLine="33" fill="#FFFFFF" height="50.5938" id="otp" rx="2.5" ry="2.5" style="stroke:#0042B3;stroke-width:0.5;" width="107.7031" x="861.5" y="41.5"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="78.4492" x="876.127" y="59.4951">OTP device</text><line style="stroke:#0042B3;stroke-width:0.5;" x1="862.5" x2="968.2031" y1="67.7969" y2="67.7969"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="95.7031" x="867.5" y="84.792">otp_device_id</text></g><!--class fountain--><g id="elem_fountain"><rect codeLine="36" fill="#FFFFFF" height="66.8906" id="fountain" rx="2.5" ry="2.5" style="stroke:#0042B3;stroke-width:0.5;" width="227.9473" x="374" y="151.5"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="58.0713" x="458.938" y="169.4951">fountain</text><line style="stroke:#0042B3;stroke-width:0.5;" x1="375" x2="600.9473" y1="177.7969" y2="177.7969"/><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="153.2207" x="380" y="194.792">grants: one per group</text><text fill="#00134A" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="215.9473" x="380" y="211.0889">fountain_secret: held by wallet</text></g><!--link group to tf--><g id="link_group_tf"><path codeLine="42" d="M152.05,283.4 C242.61,281.75 440.71,275.64 606,253 C673.69,243.73 742.829,229.192 801.919,215.312 " fill="none" id="group-to-tf" style="stroke:#0042B3;stroke-width:1;stroke-dasharray:7.0,7.0;"/><polygon fill="#0042B3" points="807.76,213.94,798.0838,212.104,802.8925,215.0834,799.9132,219.8921,807.76,213.94" style="stroke:#0042B3;stroke-width:1;"/><text fill="#00134A" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="20.9219" x="478" y="249.0669">1:1</text></g><!--link door to tpl--><g id="link_door_tpl"><path codeLine="43" d="M149.65,80 C204.09,80 289.66,80 363.66,80 " fill="none" id="door-to-tpl" style="stroke:#0042B3;stroke-width:1;stroke-dasharray:7.0,7.0;"/><polygon fill="#0042B3" points="369.66,80,360.66,76,364.66,80,360.66,84,369.66,80" style="stroke:#0042B3;stroke-width:1;"/><text fill="#00134A" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="123.0684" x="214" y="76.0669">1:1 (+ OTP device)</text></g><!--link user to fountain--><g id="link_user_fountain"><path codeLine="44" d="M149.26,182.36 C204.7,182.8 293.0102,183.4827 367.9002,184.0727 " fill="none" id="user-to-fountain" style="stroke:#0042B3;stroke-width:1;stroke-dasharray:7.0,7.0;"/><polygon fill="#0042B3" points="373.9,184.12,364.9318,180.0492,368.9002,184.0806,364.8688,188.049,373.9,184.12" style="stroke:#0042B3;stroke-width:1;"/><text fill="#00134A" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="20.9219" x="265.5" y="179.0669">1:1</text></g><!--link tpl to otp--><g id="link_tpl_otp"><path codeLine="46" d="M606.11,76.42 C689.51,73.87 791.6628,70.753 855.2328,68.813 " fill="none" id="tpl-to-otp" style="stroke:#0042B3;stroke-width:1;"/><polygon fill="#0042B3" points="861.23,68.63,852.1122,64.9064,856.2323,68.7825,852.3562,72.9027,861.23,68.63" style="stroke:#0042B3;stroke-width:1;"/><text fill="#00134A" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="135.8716" x="639.5" y="68.0669">otp_id = template_id</text></g><!--link tpl to tf--><g id="link_tpl_tf"><path codeLine="47" d="M606.11,109.45 C669.21,125.32 740.6711,143.287 802.0811,158.727 " fill="none" id="tpl-to-tf" style="stroke:#0042B3;stroke-width:1;"/><polygon fill="#0042B3" points="807.9,160.19,800.147,154.1162,803.0509,158.9708,798.1963,161.8747,807.9,160.19" style="stroke:#0042B3;stroke-width:1;"/><text fill="#00134A" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="140.4736" x="637" y="99.0669">choice inputs/outputs</text><text fill="#00134A" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="63.7686" x="675.3525" y="114.1997">per group</text></g><!--link fountain to tf--><g id="link_fountain_tf"><path codeLine="48" d="M602.15,189.24 C613.58,189.55 625.02,189.81 636,190 C699.1,191.07 714.89,190.69 778,190 C787.72,189.89 791.8208,189.8407 801.9508,189.6707 " fill="none" id="fountain-to-tf" style="stroke:#0042B3;stroke-width:1;"/><polygon fill="#0042B3" points="807.95,189.57,798.8841,185.7216,802.9507,189.6539,799.0184,193.7205,807.95,189.57" style="stroke:#0042B3;stroke-width:1;"/><text fill="#00134A" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="131.1235" x="641.5" y="186.0669">one grant per group</text></g><!--SRC=[RLF1Rjim3BtxAxXSccopjvwA6LY10hdiCAnOUnmGC19ZAvKbGwBIUKF_VR9aEmcmavyeFfBlKRw1BJ92PoLfwB3lbMdWO1rij_3b3jQFpXv9C3oHnuusLN43FwaXGmwPu5LnMyCHJmZb4Htq6Ws7JbVZeMH_Qi0dOlc-wcEyUAUCq44IC6fofUT1KwN66_-YJ8yEEn0QlNzWTceVcBu9QvxK7uBFHQiYKIWdD6NS4RTM-aBJWO4jEDMq35AvEB6ofYXw52_O4AmUX23l8TPYPpNumJDrA_XRG6u7AymPZREXNm5EA6N0X9MyED3lNhaX1jxEDQIrBd57C54Jd9W99xg_9WPFcJY2YPZWaXnJ7Kaoh50dxjk5kk_aH1kTXtsCa96mVXxjtLm9P1klu82TqaFgnOUfazUXoVE5kDLet4SueLPIyR1h79gWqKLyFNBqBswRAPVgzLHh3kycoSbnZ0z8j5P5XskmXg2VfLtN_F7y299ECIzLjJpx7z4kN-Iw5vo33OPHcSIO3ylQeYd_QGbBuivJz9LhQ4bBs0_mYbeJpmxdLLVL_MXM3RVrRP5sc29HSmh1-WES9zyKQN5ZnZ9DPXOZeoplawuwQL8IlbvPDgUaTjaoYFz5OF_91Xw_lynPoT9WeOnAa-gptdy0]--></g></svg>