roam/validation-and-sanitization.svg
2023-12-12 15:07:25 -05:00

1 line
No EOL
6.8 KiB
XML

<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="109px" preserveAspectRatio="none" style="width:841px;height:109px;background:#FFFFFF;" version="1.1" viewBox="0 0 841 109" width="841px" zoomAndPan="magnify"><defs/><g><!--cluster API--><g id="cluster_API"><rect fill="none" height="96.49" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:1.0;" width="405" x="95.0458" y="7"/><rect fill="none" height="10" style="stroke:#181818;stroke-width:1.0;" width="15" x="480.0458" y="12"/><rect fill="none" height="2" style="stroke:#181818;stroke-width:1.0;" width="4" x="478.0458" y="14"/><rect fill="none" height="2" style="stroke:#181818;stroke-width:1.0;" width="4" x="478.0458" y="18"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="24" x="285.5458" y="33.5352">API</text></g><!--cluster Client--><g id="cluster_Client"><rect fill="none" height="90.89" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:1.0;" width="311" x="524.0458" y="9.8"/><path d="M577.0458,9.8 L577.0458,19.2883 L567.0458,29.2883 L524.0458,29.2883 " fill="none" style="stroke:#181818;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="43" x="527.0458" y="24.3352">Client</text></g><!--entity POST--><g id="elem_POST"><ellipse cx="120.0458" cy="64.75" fill="#F1F1F1" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="36" x="102.0458" y="95.2852">POST</text></g><g id="elem_validate"><ellipse cx="235.0476" cy="64.7464" fill="#F1F1F1" rx="70.5818" ry="16.5164" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="95" x="186.0642" y="68.4224">Validate input</text></g><!--entity data--><g id="elem_data"><path d="M341.0458,52 C341.0458,42 386.0458,42 386.0458,42 C386.0458,42 431.0458,42 431.0458,52 L431.0458,77.4883 C431.0458,87.4883 386.0458,87.4883 386.0458,87.4883 C386.0458,87.4883 341.0458,87.4883 341.0458,77.4883 L341.0458,52 " fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><path d="M341.0458,52 C341.0458,62 386.0458,62 386.0458,62 C386.0458,62 431.0458,62 431.0458,52 " fill="none" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="70" x="351.0458" y="79.5352">Data store</text></g><!--entity GET--><g id="elem_GET"><ellipse cx="475.0458" cy="64.75" fill="#F1F1F1" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="27" x="461.5458" y="95.2852">GET</text></g><g id="elem_sanitize"><ellipse cx="628.042" cy="64.7512" fill="#F1F1F1" rx="87.7062" ry="19.9412" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="136" x="560.042" y="68.0423">Sanitize and display</text></g><!--entity output--><g id="elem_output"><path d="M751.0458,49 L751.0458,80.4883 A2.5,2.5 0 0 0 753.5458,82.9883 L816.5458,82.9883 A2.5,2.5 0 0 0 819.0458,80.4883 L819.0458,56.5 L809.0458,46.5 L753.5458,46.5 A2.5,2.5 0 0 0 751.0458,49 " fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><path d="M809.0458,46.5 L809.0458,54 A2.5,2.5 0 0 0 811.5458,56.5 L819.0458,56.5 " fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="48" x="761.0458" y="70.0352">Output</text></g><!--entity input--><g id="elem_input"><path d="M19.8866,50.8119 C21.6033,44.0701 27.5421,42.3098 32.0221,48.1455 C35.7797,41.8712 39.8458,40.2866 44.8868,46.8604 C49.2763,42.4411 53.3065,43.3165 55.9396,48.8172 C60.6725,43.2699 66.8192,44.2619 68.6448,51.6686 C75.7358,55.0565 77.7604,59.0729 72.4227,65.7866 C77.678,71.2762 76.3669,78.7401 68.7974,81.2165 C66.5094,88.6351 62.7663,90.3044 56.3979,85.2838 C54.9645,91.7517 50.2732,94.351 44.6161,89.7998 C37.9363,96.2424 33.5734,95.1009 30.6187,86.3647 C24.561,90.5336 19.5042,88.49 19.1545,80.8319 C9.3816,79.6573 6.5802,74.05 10.249,65.2119 C6,56.5995 10.5596,50.3381 19.8866,50.8119 " fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="36" x="25.0458" y="70.0352">Input</text></g><!--link input to POST--><g id="link_input_POST"><path d="M76.4358,64.75 C85.7558,64.75 95.0758,64.75 104.3958,64.75 " fill="none" id="input-to-POST" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="109.3358,64.75,100.3358,60.75,104.3358,64.75,100.3358,68.75,109.3358,64.75" style="stroke:#181818;stroke-width:1.0;"/></g><!--link POST to validate--><g id="link_POST_validate"><path d="M129.4758,64.75 C138.8558,64.75 148.2458,64.75 157.6258,64.75 " fill="none" id="POST-to-validate" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="162.6058,64.75,153.6058,60.75,157.6058,64.75,153.6058,68.75,162.6058,64.75" style="stroke:#181818;stroke-width:1.0;"/></g><!--link validate to data--><g id="link_validate_data"><path d="M306.1258,64.75 C315.5058,64.75 324.8958,64.75 334.2758,64.75 " fill="none" id="validate-to-data" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="339.2658,64.75,330.2658,60.75,334.2658,64.75,330.2658,68.75,339.2658,64.75" style="stroke:#181818;stroke-width:1.0;"/></g><!--link data to GET--><g id="link_data_GET"><path d="M431.2458,64.75 C440.6058,64.75 449.9658,64.75 459.3258,64.75 " fill="none" id="data-to-GET" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="464.2958,64.75,455.2958,60.75,459.2958,64.75,455.2958,68.75,464.2958,64.75" style="stroke:#181818;stroke-width:1.0;"/></g><!--link GET to sanitize--><g id="link_GET_sanitize"><path d="M484.3058,66.28 C502.4658,69.1 520.6258,70.77 538.7858,71.31 " fill="none" id="GET-to-sanitize" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="543.4358,71.41,534.5295,67.2054,538.4371,71.2957,534.3467,75.2033,543.4358,71.41" style="stroke:#181818;stroke-width:1.0;"/></g><!--link sanitize to output--><g id="link_sanitize_output"><path d="M716.0558,64.75 C725.3958,64.75 734.7358,64.75 744.0758,64.75 " fill="none" id="sanitize-to-output" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="749.0358,64.75,740.0358,60.75,744.0358,64.75,740.0358,68.75,749.0358,64.75" style="stroke:#181818;stroke-width:1.0;"/></g><!--SRC=[RKz12iCW4BpxYYNtVg5Gsb9oIY2XzwrkG30QeXRQqB_NDOcNLb1cPyUTMMbSL53LTegX0lIW6GdfnibPiW5ERGsBWEre6sWUK1AqJTSNEdgIw0cgEngjCD0w9WzyRbGHfm8VMNr927nmCsKbD_uutQwz-8XXnf7WR3I7MdwTExGww3S1MWLA-ydWAq_rMwDy6RH9-YQ6FQ7BC7c8d1eEntKxVhWe6-o0oHoM7ouuOheCYzqEcDmSlW00]--></g></svg>