roam/validation-and-sanitization.svg

1 line
6.8 KiB
XML
Raw Normal View History

2023-12-12 20:07:25 +00:00
<?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,7