1{
2 "name": "",
3 "isFolderOnly": false,
4 "fontFamily": "SourceSansPro",
5 "shapes": [
6 {
7 "id": "User",
8 "type": "sql_table",
9 "pos": {
10 "x": 376,
11 "y": 110
12 },
13 "width": 280,
14 "height": 144,
15 "opacity": 1,
16 "strokeDash": 0,
17 "strokeWidth": 2,
18 "borderRadius": 0,
19 "fill": "N1",
20 "stroke": "N7",
21 "shadow": false,
22 "3d": false,
23 "multiple": false,
24 "double-border": false,
25 "tooltip": "",
26 "link": "",
27 "icon": null,
28 "iconPosition": "",
29 "blend": false,
30 "fields": null,
31 "methods": null,
32 "columns": [
33 {
34 "name": {
35 "label": "id",
36 "fontSize": 0,
37 "fontFamily": "",
38 "language": "",
39 "color": "",
40 "italic": false,
41 "bold": false,
42 "underline": false,
43 "labelWidth": 15,
44 "labelHeight": 26
45 },
46 "type": {
47 "label": "int",
48 "fontSize": 0,
49 "fontFamily": "",
50 "language": "",
51 "color": "",
52 "italic": false,
53 "bold": false,
54 "underline": false,
55 "labelWidth": 23,
56 "labelHeight": 26
57 },
58 "constraint": [
59 "primary_key"
60 ],
61 "reference": ""
62 },
63 {
64 "name": {
65 "label": "parent_id",
66 "fontSize": 0,
67 "fontFamily": "",
68 "language": "",
69 "color": "",
70 "italic": false,
71 "bold": false,
72 "underline": false,
73 "labelWidth": 80,
74 "labelHeight": 26
75 },
76 "type": {
77 "label": "int",
78 "fontSize": 0,
79 "fontFamily": "",
80 "language": "",
81 "color": "",
82 "italic": false,
83 "bold": false,
84 "underline": false,
85 "labelWidth": 23,
86 "labelHeight": 26
87 },
88 "constraint": [
89 "foreign_key"
90 ],
91 "reference": ""
92 },
93 {
94 "name": {
95 "label": "spouse_id",
96 "fontSize": 0,
97 "fontFamily": "",
98 "language": "",
99 "color": "",
100 "italic": false,
101 "bold": false,
102 "underline": false,
103 "labelWidth": 85,
104 "labelHeight": 26
105 },
106 "type": {
107 "label": "int",
108 "fontSize": 0,
109 "fontFamily": "",
110 "language": "",
111 "color": "",
112 "italic": false,
113 "bold": false,
114 "underline": false,
115 "labelWidth": 23,
116 "labelHeight": 26
117 },
118 "constraint": [
119 "foreign_key"
120 ],
121 "reference": ""
122 }
123 ],
124 "label": "User",
125 "fontSize": 20,
126 "fontFamily": "DEFAULT",
127 "language": "",
128 "color": "N1",
129 "italic": false,
130 "bold": true,
131 "underline": false,
132 "labelWidth": 49,
133 "labelHeight": 31,
134 "zIndex": 0,
135 "level": 1,
136 "primaryAccentColor": "B2",
137 "secondaryAccentColor": "AA2",
138 "neutralAccentColor": "N2"
139 },
140 {
141 "id": "Pet",
142 "type": "sql_table",
143 "pos": {
144 "x": 12,
145 "y": 573
146 },
147 "width": 194,
148 "height": 108,
149 "opacity": 1,
150 "strokeDash": 0,
151 "strokeWidth": 2,
152 "borderRadius": 0,
153 "fill": "N1",
154 "stroke": "N7",
155 "shadow": false,
156 "3d": false,
157 "multiple": false,
158 "double-border": false,
159 "tooltip": "",
160 "link": "",
161 "icon": null,
162 "iconPosition": "",
163 "blend": false,
164 "fields": null,
165 "methods": null,
166 "columns": [
167 {
168 "name": {
169 "label": "id",
170 "fontSize": 0,
171 "fontFamily": "",
172 "language": "",
173 "color": "",
174 "italic": false,
175 "bold": false,
176 "underline": false,
177 "labelWidth": 15,
178 "labelHeight": 26
179 },
180 "type": {
181 "label": "int",
182 "fontSize": 0,
183 "fontFamily": "",
184 "language": "",
185 "color": "",
186 "italic": false,
187 "bold": false,
188 "underline": false,
189 "labelWidth": 23,
190 "labelHeight": 26
191 },
192 "constraint": [
193 "primary_key"
194 ],
195 "reference": ""
196 },
197 {
198 "name": {
199 "label": "owner_id",
200 "fontSize": 0,
201 "fontFamily": "",
202 "language": "",
203 "color": "",
204 "italic": false,
205 "bold": false,
206 "underline": false,
207 "labelWidth": 78,
208 "labelHeight": 26
209 },
210 "type": {
211 "label": "int",
212 "fontSize": 0,
213 "fontFamily": "",
214 "language": "",
215 "color": "",
216 "italic": false,
217 "bold": false,
218 "underline": false,
219 "labelWidth": 23,
220 "labelHeight": 26
221 },
222 "constraint": [
223 "foreign_key"
224 ],
225 "reference": ""
226 }
227 ],
228 "label": "Pet",
229 "fontSize": 20,
230 "fontFamily": "DEFAULT",
231 "language": "",
232 "color": "N1",
233 "italic": false,
234 "bold": true,
235 "underline": false,
236 "labelWidth": 35,
237 "labelHeight": 31,
238 "zIndex": 0,
239 "level": 1,
240 "primaryAccentColor": "B2",
241 "secondaryAccentColor": "AA2",
242 "neutralAccentColor": "N2"
243 },
244 {
245 "id": "Card",
246 "type": "sql_table",
247 "pos": {
248 "x": 226,
249 "y": 573
250 },
251 "width": 194,
252 "height": 108,
253 "opacity": 1,
254 "strokeDash": 0,
255 "strokeWidth": 2,
256 "borderRadius": 0,
257 "fill": "N1",
258 "stroke": "N7",
259 "shadow": false,
260 "3d": false,
261 "multiple": false,
262 "double-border": false,
263 "tooltip": "",
264 "link": "",
265 "icon": null,
266 "iconPosition": "",
267 "blend": false,
268 "fields": null,
269 "methods": null,
270 "columns": [
271 {
272 "name": {
273 "label": "id",
274 "fontSize": 0,
275 "fontFamily": "",
276 "language": "",
277 "color": "",
278 "italic": false,
279 "bold": false,
280 "underline": false,
281 "labelWidth": 15,
282 "labelHeight": 26
283 },
284 "type": {
285 "label": "int",
286 "fontSize": 0,
287 "fontFamily": "",
288 "language": "",
289 "color": "",
290 "italic": false,
291 "bold": false,
292 "underline": false,
293 "labelWidth": 23,
294 "labelHeight": 26
295 },
296 "constraint": [
297 "primary_key"
298 ],
299 "reference": ""
300 },
301 {
302 "name": {
303 "label": "owner_id",
304 "fontSize": 0,
305 "fontFamily": "",
306 "language": "",
307 "color": "",
308 "italic": false,
309 "bold": false,
310 "underline": false,
311 "labelWidth": 78,
312 "labelHeight": 26
313 },
314 "type": {
315 "label": "int",
316 "fontSize": 0,
317 "fontFamily": "",
318 "language": "",
319 "color": "",
320 "italic": false,
321 "bold": false,
322 "underline": false,
323 "labelWidth": 23,
324 "labelHeight": 26
325 },
326 "constraint": [
327 "foreign_key"
328 ],
329 "reference": ""
330 }
331 ],
332 "label": "Card",
333 "fontSize": 20,
334 "fontFamily": "DEFAULT",
335 "language": "",
336 "color": "N1",
337 "italic": false,
338 "bold": true,
339 "underline": false,
340 "labelWidth": 49,
341 "labelHeight": 31,
342 "zIndex": 0,
343 "level": 1,
344 "primaryAccentColor": "B2",
345 "secondaryAccentColor": "AA2",
346 "neutralAccentColor": "N2"
347 },
348 {
349 "id": "Post",
350 "type": "sql_table",
351 "pos": {
352 "x": 440,
353 "y": 573
354 },
355 "width": 222,
356 "height": 144,
357 "opacity": 1,
358 "strokeDash": 0,
359 "strokeWidth": 2,
360 "borderRadius": 0,
361 "fill": "N1",
362 "stroke": "N7",
363 "shadow": false,
364 "3d": false,
365 "multiple": false,
366 "double-border": false,
367 "tooltip": "",
368 "link": "",
369 "icon": null,
370 "iconPosition": "",
371 "blend": false,
372 "fields": null,
373 "methods": null,
374 "columns": [
375 {
376 "name": {
377 "label": "id",
378 "fontSize": 0,
379 "fontFamily": "",
380 "language": "",
381 "color": "",
382 "italic": false,
383 "bold": false,
384 "underline": false,
385 "labelWidth": 15,
386 "labelHeight": 26
387 },
388 "type": {
389 "label": "int",
390 "fontSize": 0,
391 "fontFamily": "",
392 "language": "",
393 "color": "",
394 "italic": false,
395 "bold": false,
396 "underline": false,
397 "labelWidth": 23,
398 "labelHeight": 26
399 },
400 "constraint": [
401 "primary_key"
402 ],
403 "reference": ""
404 },
405 {
406 "name": {
407 "label": "text",
408 "fontSize": 0,
409 "fontFamily": "",
410 "language": "",
411 "color": "",
412 "italic": false,
413 "bold": false,
414 "underline": false,
415 "labelWidth": 33,
416 "labelHeight": 26
417 },
418 "type": {
419 "label": "string",
420 "fontSize": 0,
421 "fontFamily": "",
422 "language": "",
423 "color": "",
424 "italic": false,
425 "bold": false,
426 "underline": false,
427 "labelWidth": 48,
428 "labelHeight": 26
429 },
430 "constraint": null,
431 "reference": ""
432 },
433 {
434 "name": {
435 "label": "author_id",
436 "fontSize": 0,
437 "fontFamily": "",
438 "language": "",
439 "color": "",
440 "italic": false,
441 "bold": false,
442 "underline": false,
443 "labelWidth": 81,
444 "labelHeight": 26
445 },
446 "type": {
447 "label": "int",
448 "fontSize": 0,
449 "fontFamily": "",
450 "language": "",
451 "color": "",
452 "italic": false,
453 "bold": false,
454 "underline": false,
455 "labelWidth": 23,
456 "labelHeight": 26
457 },
458 "constraint": [
459 "foreign_key"
460 ],
461 "reference": ""
462 }
463 ],
464 "label": "Post",
465 "fontSize": 20,
466 "fontFamily": "DEFAULT",
467 "language": "",
468 "color": "N1",
469 "italic": false,
470 "bold": true,
471 "underline": false,
472 "labelWidth": 47,
473 "labelHeight": 31,
474 "zIndex": 0,
475 "level": 1,
476 "primaryAccentColor": "B2",
477 "secondaryAccentColor": "AA2",
478 "neutralAccentColor": "N2"
479 },
480 {
481 "id": "Metadata",
482 "type": "sql_table",
483 "pos": {
484 "x": 682,
485 "y": 573
486 },
487 "width": 146,
488 "height": 108,
489 "opacity": 1,
490 "strokeDash": 0,
491 "strokeWidth": 2,
492 "borderRadius": 0,
493 "fill": "N1",
494 "stroke": "N7",
495 "shadow": false,
496 "3d": false,
497 "multiple": false,
498 "double-border": false,
499 "tooltip": "",
500 "link": "",
501 "icon": null,
502 "iconPosition": "",
503 "blend": false,
504 "fields": null,
505 "methods": null,
506 "columns": [
507 {
508 "name": {
509 "label": "id",
510 "fontSize": 0,
511 "fontFamily": "",
512 "language": "",
513 "color": "",
514 "italic": false,
515 "bold": false,
516 "underline": false,
517 "labelWidth": 15,
518 "labelHeight": 26
519 },
520 "type": {
521 "label": "int",
522 "fontSize": 0,
523 "fontFamily": "",
524 "language": "",
525 "color": "",
526 "italic": false,
527 "bold": false,
528 "underline": false,
529 "labelWidth": 23,
530 "labelHeight": 26
531 },
532 "constraint": [
533 "primary_key"
534 ],
535 "reference": ""
536 },
537 {
538 "name": {
539 "label": "age",
540 "fontSize": 0,
541 "fontFamily": "",
542 "language": "",
543 "color": "",
544 "italic": false,
545 "bold": false,
546 "underline": false,
547 "labelWidth": 30,
548 "labelHeight": 26
549 },
550 "type": {
551 "label": "int",
552 "fontSize": 0,
553 "fontFamily": "",
554 "language": "",
555 "color": "",
556 "italic": false,
557 "bold": false,
558 "underline": false,
559 "labelWidth": 23,
560 "labelHeight": 26
561 },
562 "constraint": null,
563 "reference": ""
564 }
565 ],
566 "label": "Metadata",
567 "fontSize": 20,
568 "fontFamily": "DEFAULT",
569 "language": "",
570 "color": "N1",
571 "italic": false,
572 "bold": true,
573 "underline": false,
574 "labelWidth": 100,
575 "labelHeight": 31,
576 "zIndex": 0,
577 "level": 1,
578 "primaryAccentColor": "B2",
579 "secondaryAccentColor": "AA2",
580 "neutralAccentColor": "N2"
581 },
582 {
583 "id": "Info",
584 "type": "sql_table",
585 "pos": {
586 "x": 848,
587 "y": 573
588 },
589 "width": 308,
590 "height": 108,
591 "opacity": 1,
592 "strokeDash": 0,
593 "strokeWidth": 2,
594 "borderRadius": 0,
595 "fill": "N1",
596 "stroke": "N7",
597 "shadow": false,
598 "3d": false,
599 "multiple": false,
600 "double-border": false,
601 "tooltip": "",
602 "link": "",
603 "icon": null,
604 "iconPosition": "",
605 "blend": false,
606 "fields": null,
607 "methods": null,
608 "columns": [
609 {
610 "name": {
611 "label": "id",
612 "fontSize": 0,
613 "fontFamily": "",
614 "language": "",
615 "color": "",
616 "italic": false,
617 "bold": false,
618 "underline": false,
619 "labelWidth": 15,
620 "labelHeight": 26
621 },
622 "type": {
623 "label": "int",
624 "fontSize": 0,
625 "fontFamily": "",
626 "language": "",
627 "color": "",
628 "italic": false,
629 "bold": false,
630 "underline": false,
631 "labelWidth": 23,
632 "labelHeight": 26
633 },
634 "constraint": [
635 "primary_key"
636 ],
637 "reference": ""
638 },
639 {
640 "name": {
641 "label": "content",
642 "fontSize": 0,
643 "fontFamily": "",
644 "language": "",
645 "color": "",
646 "italic": false,
647 "bold": false,
648 "underline": false,
649 "labelWidth": 66,
650 "labelHeight": 26
651 },
652 "type": {
653 "label": "json.RawMessage",
654 "fontSize": 0,
655 "fontFamily": "",
656 "language": "",
657 "color": "",
658 "italic": false,
659 "bold": false,
660 "underline": false,
661 "labelWidth": 149,
662 "labelHeight": 26
663 },
664 "constraint": null,
665 "reference": ""
666 }
667 ],
668 "label": "Info",
669 "fontSize": 20,
670 "fontFamily": "DEFAULT",
671 "language": "",
672 "color": "N1",
673 "italic": false,
674 "bold": true,
675 "underline": false,
676 "labelWidth": 42,
677 "labelHeight": 31,
678 "zIndex": 0,
679 "level": 1,
680 "primaryAccentColor": "B2",
681 "secondaryAccentColor": "AA2",
682 "neutralAccentColor": "N2"
683 }
684 ],
685 "connections": [
686 {
687 "id": "(User <-> User)[0]",
688 "src": "User",
689 "srcArrow": "cf-one-required",
690 "dst": "User",
691 "dstArrow": "cf-one",
692 "opacity": 1,
693 "strokeDash": 0,
694 "strokeWidth": 2,
695 "stroke": "B1",
696 "borderRadius": 10,
697 "label": "spouse",
698 "fontSize": 16,
699 "fontFamily": "DEFAULT",
700 "language": "",
701 "color": "N2",
702 "italic": true,
703 "bold": false,
704 "underline": false,
705 "labelWidth": 48,
706 "labelHeight": 21,
707 "labelPosition": "INSIDE_MIDDLE_CENTER",
708 "labelPercentage": 0,
709 "route": [
710 {
711 "x": 411,
712 "y": 254
713 },
714 {
715 "x": 411,
716 "y": 342
717 },
718 {
719 "x": 288,
720 "y": 342
721 },
722 {
723 "x": 288,
724 "y": 22
725 },
726 {
727 "x": 469.3330078125,
728 "y": 22
729 },
730 {
731 "x": 469.3330078125,
732 "y": 110
733 }
734 ],
735 "animated": false,
736 "tooltip": "",
737 "icon": null,
738 "zIndex": 0
739 },
740 {
741 "id": "(User <-> User)[1]",
742 "src": "User",
743 "srcArrow": "cf-one-required",
744 "dst": "User",
745 "dstArrow": "cf-many",
746 "opacity": 1,
747 "strokeDash": 0,
748 "strokeWidth": 2,
749 "stroke": "B1",
750 "borderRadius": 10,
751 "label": "children/parent/ancestor",
752 "fontSize": 16,
753 "fontFamily": "DEFAULT",
754 "language": "",
755 "color": "N2",
756 "italic": true,
757 "bold": false,
758 "underline": false,
759 "labelWidth": 167,
760 "labelHeight": 21,
761 "labelPosition": "INSIDE_MIDDLE_CENTER",
762 "labelPercentage": 0,
763 "route": [
764 {
765 "x": 446,
766 "y": 254
767 },
768 {
769 "x": 446,
770 "y": 352
771 },
772 {
773 "x": 228,
774 "y": 352
775 },
776 {
777 "x": 228,
778 "y": 12
779 },
780 {
781 "x": 562.666015625,
782 "y": 12
783 },
784 {
785 "x": 562.666015625,
786 "y": 110
787 }
788 ],
789 "animated": false,
790 "tooltip": "",
791 "icon": null,
792 "zIndex": 0
793 },
794 {
795 "id": "(User <-> Pet)[0]",
796 "src": "User",
797 "srcArrow": "cf-one-required",
798 "dst": "Pet",
799 "dstArrow": "cf-many",
800 "opacity": 1,
801 "strokeDash": 0,
802 "strokeWidth": 2,
803 "stroke": "B1",
804 "borderRadius": 10,
805 "label": "pets/owner",
806 "fontSize": 16,
807 "fontFamily": "DEFAULT",
808 "language": "",
809 "color": "N2",
810 "italic": true,
811 "bold": false,
812 "underline": false,
813 "labelWidth": 77,
814 "labelHeight": 21,
815 "labelPosition": "INSIDE_MIDDLE_CENTER",
816 "labelPercentage": 0,
817 "route": [
818 {
819 "x": 481,
820 "y": 254
821 },
822 {
823 "x": 481,
824 "y": 392
825 },
826 {
827 "x": 109,
828 "y": 392
829 },
830 {
831 "x": 109,
832 "y": 573
833 }
834 ],
835 "animated": false,
836 "tooltip": "",
837 "icon": null,
838 "zIndex": 0
839 },
840 {
841 "id": "(User <-> Card)[0]",
842 "src": "User",
843 "srcArrow": "cf-one-required",
844 "dst": "Card",
845 "dstArrow": "cf-one",
846 "opacity": 1,
847 "strokeDash": 0,
848 "strokeWidth": 2,
849 "stroke": "B1",
850 "borderRadius": 10,
851 "label": "card/owner",
852 "fontSize": 16,
853 "fontFamily": "DEFAULT",
854 "language": "",
855 "color": "N2",
856 "italic": true,
857 "bold": false,
858 "underline": false,
859 "labelWidth": 78,
860 "labelHeight": 21,
861 "labelPosition": "INSIDE_MIDDLE_CENTER",
862 "labelPercentage": 0,
863 "route": [
864 {
865 "x": 516,
866 "y": 254
867 },
868 {
869 "x": 516,
870 "y": 442
871 },
872 {
873 "x": 323,
874 "y": 442
875 },
876 {
877 "x": 323,
878 "y": 573
879 }
880 ],
881 "animated": false,
882 "tooltip": "",
883 "icon": null,
884 "zIndex": 0
885 },
886 {
887 "id": "(User <-> Post)[0]",
888 "src": "User",
889 "srcArrow": "cf-one-required",
890 "dst": "Post",
891 "dstArrow": "cf-many",
892 "opacity": 1,
893 "strokeDash": 0,
894 "strokeWidth": 2,
895 "stroke": "B1",
896 "borderRadius": 10,
897 "label": "posts/author",
898 "fontSize": 16,
899 "fontFamily": "DEFAULT",
900 "language": "",
901 "color": "N2",
902 "italic": true,
903 "bold": false,
904 "underline": false,
905 "labelWidth": 88,
906 "labelHeight": 21,
907 "labelPosition": "INSIDE_MIDDLE_CENTER",
908 "labelPercentage": 0,
909 "route": [
910 {
911 "x": 551,
912 "y": 254
913 },
914 {
915 "x": 551,
916 "y": 573
917 }
918 ],
919 "animated": false,
920 "tooltip": "",
921 "icon": null,
922 "zIndex": 0
923 },
924 {
925 "id": "(User <-> Metadata)[0]",
926 "src": "User",
927 "srcArrow": "cf-one-required",
928 "dst": "Metadata",
929 "dstArrow": "cf-many",
930 "opacity": 1,
931 "strokeDash": 0,
932 "strokeWidth": 2,
933 "stroke": "B1",
934 "borderRadius": 10,
935 "label": "metadata/user",
936 "fontSize": 16,
937 "fontFamily": "DEFAULT",
938 "language": "",
939 "color": "N2",
940 "italic": true,
941 "bold": false,
942 "underline": false,
943 "labelWidth": 101,
944 "labelHeight": 21,
945 "labelPosition": "INSIDE_MIDDLE_CENTER",
946 "labelPercentage": 0,
947 "route": [
948 {
949 "x": 586,
950 "y": 254
951 },
952 {
953 "x": 586,
954 "y": 442
955 },
956 {
957 "x": 755,
958 "y": 442
959 },
960 {
961 "x": 755,
962 "y": 573
963 }
964 ],
965 "animated": false,
966 "tooltip": "",
967 "icon": null,
968 "zIndex": 0
969 },
970 {
971 "id": "(User <-> Info)[0]",
972 "src": "User",
973 "srcArrow": "cf-one-required",
974 "dst": "Info",
975 "dstArrow": "cf-many",
976 "opacity": 1,
977 "strokeDash": 0,
978 "strokeWidth": 2,
979 "stroke": "B1",
980 "borderRadius": 10,
981 "label": "info/user",
982 "fontSize": 16,
983 "fontFamily": "DEFAULT",
984 "language": "",
985 "color": "N2",
986 "italic": true,
987 "bold": false,
988 "underline": false,
989 "labelWidth": 60,
990 "labelHeight": 21,
991 "labelPosition": "INSIDE_MIDDLE_CENTER",
992 "labelPercentage": 0,
993 "route": [
994 {
995 "x": 621,
996 "y": 254
997 },
998 {
999 "x": 621,
1000 "y": 392
1001 },
1002 {
1003 "x": 1002,
1004 "y": 392
1005 },
1006 {
1007 "x": 1002,
1008 "y": 573
1009 }
1010 ],
1011 "animated": false,
1012 "tooltip": "",
1013 "icon": null,
1014 "zIndex": 0
1015 }
1016 ],
1017 "root": {
1018 "id": "",
1019 "type": "",
1020 "pos": {
1021 "x": 0,
1022 "y": 0
1023 },
1024 "width": 0,
1025 "height": 0,
1026 "opacity": 0,
1027 "strokeDash": 0,
1028 "strokeWidth": 0,
1029 "borderRadius": 0,
1030 "fill": "N7",
1031 "stroke": "",
1032 "shadow": false,
1033 "3d": false,
1034 "multiple": false,
1035 "double-border": false,
1036 "tooltip": "",
1037 "link": "",
1038 "icon": null,
1039 "iconPosition": "",
1040 "blend": false,
1041 "fields": null,
1042 "methods": null,
1043 "columns": null,
1044 "label": "",
1045 "fontSize": 0,
1046 "fontFamily": "",
1047 "language": "",
1048 "color": "",
1049 "italic": false,
1050 "bold": false,
1051 "underline": false,
1052 "labelWidth": 0,
1053 "labelHeight": 0,
1054 "zIndex": 0,
1055 "level": 0
1056 }
1057}
View as plain text