OSDN Git Service

fix extend for profiler
[pettanr/pettanr.git] / public / manifest.json
1 {\r
2   "items": {\r
3     "scroll": {\r
4       "type": "binder",\r
5       "args": {}\r
6     },\r
7     "scroll_panel": {\r
8       "type": "leaf",\r
9       "args": {\r
10         "parent_model_name": "scroll"\r
11       }\r
12     },\r
13     "comic": {\r
14       "type": "binder",\r
15       "args": {}\r
16     },\r
17     "story": {\r
18       "type": "binder",\r
19       "args": {}\r
20     },\r
21     "story_sheet": {\r
22       "type": "leaf",\r
23       "args": {\r
24         "parent_model_name": "story"\r
25       }\r
26     },\r
27     "sheet": {\r
28       "type": "root",\r
29       "args": {}\r
30     },\r
31     "sheet_panel": {\r
32       "type": "element",\r
33       "args": {\r
34         "parent_model_name": "sheet"\r
35       }\r
36     },\r
37     "panel": {\r
38       "type": "root",\r
39       "args": {}\r
40     },\r
41     "panel_picture": {\r
42       "type": "element",\r
43       "args": {\r
44         "parent_model_name": "panel"\r
45       }\r
46     },\r
47     "speech_balloon": {\r
48       "type": "element",\r
49       "args": {\r
50         "parent_model_name": "panel",\r
51         "boost": {\r
52           "speech_balloon_template": {\r
53             "setter_method_name": "extend_speech_balloon=",\r
54             "getter_method_name": "extend_speech_balloon"\r
55           }\r
56         }\r
57       }\r
58     },\r
59     "balloon": {\r
60       "type": "element",\r
61       "args": {\r
62         "parent_model_name": "speech_balloon",\r
63         "boost": {\r
64           "speech_balloon_template": {\r
65             "setter_method_name": "extend_balloon=",\r
66             "getter_method_name": "extend_balloon"\r
67           }\r
68         }\r
69       }\r
70     },\r
71     "speech": {\r
72       "type": "element",\r
73       "args": {\r
74         "parent_model_name": "speech_balloon",\r
75         "boost": {\r
76           "writing_format": {},\r
77           "speech_balloon_template": {\r
78             "setter_method_name": "extend_speech=",\r
79             "getter_method_name": "extend_speech"\r
80           }\r
81         }\r
82       }\r
83     },\r
84     "ground_picture": {\r
85       "type": "element",\r
86       "args": {\r
87         "parent_model_name": "panel"\r
88       }\r
89     },\r
90     "ground_color": {\r
91       "type": "element",\r
92       "args": {\r
93         "parent_model_name": "panel"\r
94       }\r
95     },\r
96     "original_picture": {},\r
97     "picture": {\r
98       "args": {\r
99         "boost": {\r
100           "license_group": {},\r
101           "license": {\r
102             "extend_item_name": "attribute"\r
103           },\r
104           "credit_picture": {\r
105             "level": "read",\r
106             "extend_model_class_name": "CreditPicture",\r
107             "extend_item_name": "credit_picture",\r
108             "extend_column_name": "license_group_classname"\r
109           }\r
110         }\r
111       }\r
112     },\r
113     "resource_picture": {\r
114       "args": {\r
115         "boost": {\r
116           "license_group": {},\r
117           "license": {\r
118             "extend_item_name": "attribute"\r
119           },\r
120           "credit_picture": {\r
121             "level": "read",\r
122             "extend_model_class_name": "CreditPicture",\r
123             "extend_item_name": "credit_picture",\r
124             "extend_column_name": "license_group_classname"\r
125           }\r
126         }\r
127       }\r
128     },\r
129     "speech_balloon_template": {},\r
130     "writing_format": {},\r
131     "license_group": {},\r
132     "license": {\r
133       "type": "leaf",\r
134       "args": {\r
135         "parent_model_name": "license_group",\r
136         "boost": {\r
137           "license_group": {},\r
138           "credit_picture": {\r
139             "level": "read",\r
140             "extend_model_class_name": "CreditPicture",\r
141             "extend_item_name": "credit_picture",\r
142             "extend_column_name": "license_group_classname"\r
143           }\r
144         }\r
145       }\r
146     },\r
147     "author": {},\r
148     "artist": {},\r
149     "system_picture": {}\r
150   },\r
151   "controllers": {\r
152     "scrolls": {\r
153       "actions": {\r
154         "index": {\r
155           "type": "list",\r
156           "args": {\r
157             "list_name": "public"\r
158           }\r
159         },\r
160         "by_author": {\r
161           "type": "list"\r
162         },\r
163         "by_panel": {\r
164           "type": "list"\r
165         },\r
166         "play": {\r
167           "type": "list",\r
168           "args": {\r
169             "list_name": "play"\r
170           }\r
171         },\r
172         "show": {\r
173           "type": "show"\r
174         },\r
175         "count": {\r
176           "type": "count",\r
177           "args": {\r
178             "list_name": "public"\r
179           }\r
180         },\r
181         "count_by_author": {\r
182           "type": "count"\r
183         },\r
184         "count_by_panel": {\r
185           "type": "count"\r
186         },\r
187         "new": {\r
188           "type": "new"\r
189         },\r
190         "edit": {\r
191           "type": "edit"\r
192         }\r
193       }\r
194     },\r
195     "scroll_panels": {\r
196       "actions": {\r
197         "index": {\r
198           "type": "list",\r
199           "args": {\r
200             "list_name": "public"\r
201           }\r
202         },\r
203         "by_panel": {\r
204           "type": "list"\r
205         },\r
206         "by_scroll": {\r
207           "type": "list"\r
208         },\r
209         "show": {\r
210           "type": "show"\r
211         },\r
212         "count": {\r
213           "type": "count",\r
214           "args": {\r
215             "list_name": "public"\r
216           }\r
217         },\r
218         "count_by_panel": {\r
219           "type": "count"\r
220         },\r
221         "count_by_scroll": {\r
222           "type": "count"\r
223         },\r
224         "new": {\r
225           "type": "new"\r
226         },\r
227         "edit": {\r
228           "type": "edit"\r
229         }\r
230       }\r
231     },\r
232     "comics": {\r
233       "actions": {\r
234         "index": {\r
235           "type": "list",\r
236           "args": {\r
237             "list_name": "public"\r
238           }\r
239         },\r
240         "by_author": {\r
241           "type": "list"\r
242         },\r
243         "show": {\r
244           "type": "show"\r
245         },\r
246         "count": {\r
247           "type": "count",\r
248           "args": {\r
249             "list_name": "public"\r
250           }\r
251         },\r
252         "count_by_author": {\r
253           "type": "count"\r
254         },\r
255         "new": {\r
256           "type": "new"\r
257         },\r
258         "edit": {\r
259           "type": "edit"\r
260         }\r
261       }\r
262     },\r
263     "stories": {\r
264       "actions": {\r
265         "index": {\r
266           "type": "list",\r
267           "args": {\r
268             "list_name": "public"\r
269           }\r
270         },\r
271         "by_comic": {\r
272           "type": "count"\r
273         },\r
274         "by_sheet": {\r
275           "type": "count"\r
276         },\r
277         "by_author": {\r
278           "type": "list"\r
279         },\r
280         "play": {\r
281           "type": "list",\r
282           "args": {\r
283             "list_name": "play"\r
284           }\r
285         },\r
286         "show": {\r
287           "type": "show"\r
288         },\r
289         "count": {\r
290           "type": "count",\r
291           "args": {\r
292             "list_name": "public"\r
293           }\r
294         },\r
295         "count_by_author": {\r
296           "type": "count"\r
297         },\r
298         "new": {\r
299           "type": "new"\r
300         },\r
301         "edit": {\r
302           "type": "edit"\r
303         }\r
304       }\r
305     },\r
306     "story_sheets": {\r
307       "actions": {\r
308         "index": {\r
309           "type": "list",\r
310           "args": {\r
311             "list_name": "public"\r
312           }\r
313         },\r
314         "by_story": {\r
315           "type": "list"\r
316         },\r
317         "by_sheet": {\r
318           "type": "list"\r
319         },\r
320         "show": {\r
321           "type": "show"\r
322         },\r
323         "count": {\r
324           "type": "count",\r
325           "args": {\r
326             "list_name": "public"\r
327           }\r
328         },\r
329         "count_by_story": {\r
330           "type": "count"\r
331         },\r
332         "count_by_sheet": {\r
333           "type": "count"\r
334         },\r
335         "new": {\r
336           "type": "new"\r
337         },\r
338         "edit": {\r
339           "type": "edit"\r
340         }\r
341       }\r
342     },\r
343     "sheets": {\r
344       "actions": {\r
345         "index": {\r
346           "type": "list",\r
347           "args": {\r
348             "list_name": "public"\r
349           }\r
350         },\r
351         "by_story": {\r
352           "type": "list"\r
353         },\r
354         "by_panel": {\r
355           "type": "list"\r
356         },\r
357         "by_author": {\r
358           "type": "list"\r
359         },\r
360         "play": {\r
361           "type": "list",\r
362           "args": {\r
363             "list_name": "play"\r
364           }\r
365         },\r
366         "show": {\r
367           "type": "show"\r
368         },\r
369         "count": {\r
370           "type": "count",\r
371           "args": {\r
372             "list_name": "public"\r
373           }\r
374         },\r
375         "count_by_story": {\r
376           "type": "count"\r
377         },\r
378         "count_by_panel": {\r
379           "type": "count"\r
380         },\r
381         "count_by_author": {\r
382           "type": "count"\r
383         },\r
384         "new": {\r
385           "type": "new"\r
386         },\r
387         "edit": {\r
388           "type": "edit"\r
389         }\r
390       }\r
391     },\r
392     "sheet_panels": {\r
393       "actions": {\r
394         "index": {\r
395           "type": "list",\r
396           "args": {\r
397             "list_name": "public"\r
398           }\r
399         },\r
400         "by_sheet": {\r
401           "type": "list"\r
402         },\r
403         "by_panel": {\r
404           "type": "list"\r
405         },\r
406         "show": {\r
407           "type": "show"\r
408         },\r
409         "count": {\r
410           "type": "count",\r
411           "args": {\r
412             "list_name": "public"\r
413           }\r
414         },\r
415         "count_by_sheet": {\r
416           "type": "count"\r
417         },\r
418         "count_by_panel": {\r
419           "type": "count"\r
420         },\r
421         "new": {\r
422           "type": "new"\r
423         },\r
424         "edit": {\r
425           "type": "edit"\r
426         }\r
427       }\r
428     },\r
429     "panels": {\r
430       "actions": {\r
431         "index": {\r
432           "type": "list",\r
433           "args": {\r
434             "list_name": "public"\r
435           }\r
436         },\r
437         "by_scroll": {\r
438           "type": "list"\r
439         },\r
440         "by_sheet": {\r
441           "type": "list"\r
442         },\r
443         "by_author": {\r
444           "type": "list"\r
445         },\r
446         "by_speech_balloon_template": {\r
447           "type": "list"\r
448         },\r
449         "show": {\r
450           "type": "show"\r
451         },\r
452         "count": {\r
453           "type": "count",\r
454           "args": {\r
455             "list_name": "public"\r
456           }\r
457         },\r
458         "count_by_scroll": {\r
459           "type": "count"\r
460         },\r
461         "count_by_sheet": {\r
462           "type": "count"\r
463         },\r
464         "count_by_author": {\r
465           "type": "count"\r
466         },\r
467         "count_by_speech_balloon_template": {\r
468           "type": "count"\r
469         },\r
470         "new": {\r
471           "type": "new"\r
472         },\r
473         "edit": {\r
474           "type": "edit"\r
475         }\r
476       }\r
477     },\r
478     "panel_pictures": {\r
479       "actions": {\r
480         "index": {\r
481           "type": "list",\r
482           "args": {\r
483             "list_name": "public"\r
484           }\r
485         },\r
486         "by_panel": {\r
487           "type": "list"\r
488         },\r
489         "by_author": {\r
490           "type": "list"\r
491         },\r
492         "show": {\r
493           "type": "show"\r
494         },\r
495         "count": {\r
496           "type": "count",\r
497           "args": {\r
498             "list_name": "public"\r
499           }\r
500         },\r
501         "count_by_panel": {\r
502           "type": "count"\r
503         },\r
504         "count_by_author": {\r
505           "type": "count"\r
506         }\r
507       }\r
508     },\r
509     "speech_balloons": {\r
510       "actions": {\r
511         "index": {\r
512           "type": "list",\r
513           "args": {\r
514             "list_name": "public"\r
515           }\r
516         },\r
517         "by_panel": {\r
518           "type": "list"\r
519         },\r
520         "by_author": {\r
521           "type": "list"\r
522         },\r
523         "show": {\r
524           "type": "show"\r
525         },\r
526         "count": {\r
527           "type": "count",\r
528           "args": {\r
529             "list_name": "public"\r
530           }\r
531         },\r
532         "count_by_panel": {\r
533           "type": "count"\r
534         },\r
535         "count_by_author": {\r
536           "type": "count"\r
537         }\r
538       }\r
539     },\r
540     "speeches": {\r
541       "actions": {\r
542         "index": {\r
543           "type": "list",\r
544           "args": {\r
545             "list_name": "public"\r
546           }\r
547         },\r
548         "by_writing_format": {\r
549           "type": "list"\r
550         },\r
551         "show": {\r
552           "type": "show"\r
553         },\r
554         "count": {\r
555           "type": "count",\r
556           "args": {\r
557             "list_name": "public"\r
558           }\r
559         },\r
560         "count_by_writing_format": {\r
561           "type": "count"\r
562         }\r
563       }\r
564     },\r
565     "balloons": {\r
566       "actions": {\r
567         "index": {\r
568           "type": "list",\r
569           "args": {\r
570             "list_name": "public"\r
571           }\r
572         },\r
573         "show": {\r
574           "type": "show"\r
575         },\r
576         "count": {\r
577           "type": "count",\r
578           "args": {\r
579             "list_name": "public"\r
580           }\r
581         }\r
582       }\r
583     },\r
584     "ground_pictures": {\r
585       "actions": {\r
586         "index": {\r
587           "type": "list",\r
588           "args": {\r
589             "list_name": "public"\r
590           }\r
591         },\r
592         "by_panel": {\r
593           "type": "list"\r
594         },\r
595         "by_author": {\r
596           "type": "list"\r
597         },\r
598         "show": {\r
599           "type": "show"\r
600         },\r
601         "count": {\r
602           "type": "count",\r
603           "args": {\r
604             "list_name": "public"\r
605           }\r
606         },\r
607         "count_by_panel": {\r
608           "type": "count"\r
609         },\r
610         "count_by_author": {\r
611           "type": "count"\r
612         }\r
613       }\r
614     },\r
615     "ground_colors": {\r
616       "actions": {\r
617         "index": {\r
618           "type": "list",\r
619           "args": {\r
620             "list_name": "public"\r
621           }\r
622         },\r
623         "by_panel": {\r
624           "type": "list"\r
625         },\r
626         "by_author": {\r
627           "type": "list"\r
628         },\r
629         "show": {\r
630           "type": "show"\r
631         },\r
632         "count": {\r
633           "type": "count",\r
634           "args": {\r
635             "list_name": "public"\r
636           }\r
637         },\r
638         "count_by_panel": {\r
639           "type": "count"\r
640         },\r
641         "count_by_author": {\r
642           "type": "count"\r
643         }\r
644       }\r
645     },\r
646     "original_pictures": {\r
647       "actions": {\r
648         "index": {\r
649           "type": "list",\r
650           "args": {\r
651             "list_name": "private"\r
652           }\r
653         },\r
654         "show": {\r
655           "type": "show"\r
656         },\r
657         "count": {\r
658           "type": "count",\r
659           "args": {\r
660             "list_name": "public"\r
661           }\r
662         }\r
663       }\r
664     },\r
665     "pictures": {\r
666       "actions": {\r
667         "show": {\r
668           "type": "show"\r
669         }\r
670       }\r
671     },\r
672     "resource_pictures": {\r
673       "actions": {\r
674         "index": {\r
675           "type": "list",\r
676           "args": {\r
677             "list_name": "public"\r
678           }\r
679         },\r
680         "by_original_picture": {\r
681           "type": "list"\r
682         },\r
683         "by_license": {\r
684           "type": "list"\r
685         },\r
686         "by_artist": {\r
687           "type": "list"\r
688         },\r
689         "show": {\r
690           "type": "show"\r
691         },\r
692         "count": {\r
693           "type": "count",\r
694           "args": {\r
695             "list_name": "public"\r
696           }\r
697         },\r
698         "count_by_license": {\r
699           "type": "count"\r
700         },\r
701         "count_by_artist": {\r
702           "type": "count"\r
703         }\r
704       }\r
705     },\r
706     "speech_balloon_templates": {\r
707       "actions": {\r
708         "index": {\r
709           "type": "list",\r
710           "args": {\r
711             "list_name": "public"\r
712           }\r
713         },\r
714         "show": {\r
715           "type": "show"\r
716         },\r
717         "count": {\r
718           "type": "count",\r
719           "args": {\r
720             "list_name": "public"\r
721           }\r
722         }\r
723       }\r
724     },\r
725     "writing_formats": {\r
726       "actions": {\r
727         "index": {\r
728           "type": "list",\r
729           "args": {\r
730             "list_name": "public"\r
731           }\r
732         },\r
733         "by_system_picture": {\r
734           "type": "list"\r
735         },\r
736         "show": {\r
737           "type": "show"\r
738         },\r
739         "count": {\r
740           "type": "count",\r
741           "args": {\r
742             "list_name": "public"\r
743           }\r
744         },\r
745         "count_by_system_picture": {\r
746           "type": "count"\r
747         }\r
748       }\r
749     },\r
750     "license_groups": {\r
751       "actions": {\r
752         "index": {\r
753           "type": "list",\r
754           "args": {\r
755             "list_name": "public"\r
756           }\r
757         },\r
758         "show": {\r
759           "type": "show"\r
760         },\r
761         "count": {\r
762           "type": "count",\r
763           "args": {\r
764             "list_name": "public"\r
765           }\r
766         }\r
767       }\r
768     },\r
769     "licenses": {\r
770       "actions": {\r
771         "index": {\r
772           "type": "list",\r
773           "args": {\r
774             "list_name": "public"\r
775           }\r
776         },\r
777         "by_license_group": {\r
778           "type": "list"\r
779         },\r
780         "by_system_picture": {\r
781           "type": "list"\r
782         },\r
783         "show": {\r
784           "type": "show"\r
785         },\r
786         "count": {\r
787           "type": "count",\r
788           "args": {\r
789             "list_name": "public"\r
790           }\r
791         },\r
792         "count_by_license_group": {\r
793           "type": "count"\r
794         },\r
795         "count_by_system_picture": {\r
796           "type": "count"\r
797         }\r
798       }\r
799     },\r
800     "authors": {\r
801       "actions": {\r
802         "index": {\r
803           "type": "list",\r
804           "args": {\r
805             "list_name": "public"\r
806           }\r
807         },\r
808         "scrolls": {\r
809           "type": "list",\r
810           "args": {\r
811             "list_name": "scrolls"\r
812           }\r
813         },\r
814         "comics": {\r
815           "type": "list",\r
816           "args": {\r
817             "list_name": "comics"\r
818           }\r
819         },\r
820         "stories": {\r
821           "type": "list",\r
822           "args": {\r
823             "list_name": "stories"\r
824           }\r
825         },\r
826         "sheets": {\r
827           "type": "list",\r
828           "args": {\r
829             "list_name": "sheets"\r
830           }\r
831         },\r
832         "panels": {\r
833           "type": "list",\r
834           "args": {\r
835             "list_name": "panels"\r
836           }\r
837         },\r
838         "panel_pictures": {\r
839           "type": "list",\r
840           "args": {\r
841             "list_name": "panel_pictures"\r
842           }\r
843         },\r
844         "speech_balloons": {\r
845           "type": "list",\r
846           "args": {\r
847             "list_name": "speech_balloons"\r
848           }\r
849         },\r
850         "ground_pictures": {\r
851           "type": "list",\r
852           "args": {\r
853             "list_name": "ground_pictures"\r
854           }\r
855         },\r
856         "ground_colors": {\r
857           "type": "list",\r
858           "args": {\r
859             "list_name": "ground_colors"\r
860           }\r
861         },\r
862         "show": {\r
863           "type": "show"\r
864         },\r
865         "count": {\r
866           "type": "count",\r
867           "args": {\r
868             "list_name": "public"\r
869           }\r
870         },\r
871         "new": {\r
872           "type": "new"\r
873         },\r
874         "edit": {\r
875           "type": "edit"\r
876         }\r
877       }\r
878     },\r
879     "artists": {\r
880       "actions": {\r
881         "index": {\r
882           "type": "list",\r
883           "args": {\r
884             "list_name": "public"\r
885           }\r
886         },\r
887         "resource_pictures": {\r
888           "type": "list",\r
889           "args": {\r
890             "list_name": "resource_pictures"\r
891           }\r
892         },\r
893         "show": {\r
894           "type": "show"\r
895         },\r
896         "count": {\r
897           "type": "count",\r
898           "args": {\r
899             "list_name": "public"\r
900           }\r
901         },\r
902         "new": {\r
903           "type": "new"\r
904         },\r
905         "edit": {\r
906           "type": "edit"\r
907         }\r
908       }\r
909     },\r
910     "system_pictures": {\r
911       "actions": {\r
912         "index": {\r
913           "type": "list",\r
914           "args": {\r
915             "list_name": "public"\r
916           }\r
917         },\r
918         "show": {\r
919           "type": "show"\r
920         },\r
921         "count": {\r
922           "type": "count",\r
923           "args": {\r
924             "list_name": "public"\r
925           }\r
926         }\r
927       }\r
928     },\r
929     "home": {\r
930       "actions": {\r
931         "scrolls": {\r
932           "type": "list",\r
933           "args": {\r
934             "item_name": "scroll",\r
935             "list_name": "private"\r
936           }\r
937         },\r
938         "scroll_panels": {\r
939           "type": "list",\r
940           "args": {\r
941             "item_name": "scroll_panel",\r
942             "list_name": "private"\r
943           }\r
944         },\r
945         "comics": {\r
946           "type": "list",\r
947           "args": {\r
948             "item_name": "comic",\r
949             "list_name": "private"\r
950           }\r
951         },\r
952         "stories": {\r
953           "type": "list",\r
954           "args": {\r
955             "item_name": "story",\r
956             "list_name": "private"\r
957           }\r
958         },\r
959         "story_sheets": {\r
960           "type": "list",\r
961           "args": {\r
962             "item_name": "story_sheet",\r
963             "list_name": "private"\r
964           }\r
965         },\r
966         "sheets": {\r
967           "type": "list",\r
968           "args": {\r
969             "item_name": "sheet",\r
970             "list_name": "private"\r
971           }\r
972         },\r
973         "sheet_panels": {\r
974           "type": "list",\r
975           "args": {\r
976             "item_name": "sheet_panel",\r
977             "list_name": "private"\r
978           }\r
979         },\r
980         "panels": {\r
981           "type": "list",\r
982           "args": {\r
983             "item_name": "panel",\r
984             "list_name": "private"\r
985           }\r
986         },\r
987         "panel_pictures": {\r
988           "type": "list",\r
989           "args": {\r
990             "item_name": "panel_picture",\r
991             "list_name": "private"\r
992           }\r
993         },\r
994         "speech_balloons": {\r
995           "type": "list",\r
996           "args": {\r
997             "item_name": "speech_balloon",\r
998             "list_name": "private"\r
999           }\r
1000         },\r
1001         "speeches": {\r
1002           "type": "list",\r
1003           "args": {\r
1004             "item_name": "speech",\r
1005             "list_name": "private"\r
1006           }\r
1007         },\r
1008         "balloons": {\r
1009           "type": "list",\r
1010           "args": {\r
1011             "item_name": "balloon",\r
1012             "list_name": "private"\r
1013           }\r
1014         },\r
1015         "ground_pictures": {\r
1016           "type": "list",\r
1017           "args": {\r
1018             "item_name": "ground_picture",\r
1019             "list_name": "private"\r
1020           }\r
1021         },\r
1022         "ground_colors": {\r
1023           "type": "list",\r
1024           "args": {\r
1025             "item_name": "ground_color",\r
1026             "list_name": "private"\r
1027           }\r
1028         },\r
1029         "original_pictures": {\r
1030           "type": "list",\r
1031           "args": {\r
1032             "item_name": "original_picture",\r
1033             "list_name": "private"\r
1034           }\r
1035         },\r
1036         "resource_pictures": {\r
1037           "type": "list",\r
1038           "args": {\r
1039             "item_name": "resource_picture",\r
1040             "list_name": "private"\r
1041           }\r
1042         }\r
1043       }\r
1044     }\r
1045   },\r
1046   "models": {\r
1047     "scroll": {\r
1048       "associations": {\r
1049         "belongs_to": {\r
1050           "author": {}\r
1051         },\r
1052         "has_many": {\r
1053           "scroll_panels": {},\r
1054           "panels": {\r
1055             "through": "scroll_panel"\r
1056           }\r
1057         }\r
1058       },\r
1059       "attributes": {\r
1060         "title": {\r
1061           "type": "text",\r
1062           "rules": {\r
1063             "required": true\r
1064           }\r
1065         },\r
1066         "description": {\r
1067           "type": "text",\r
1068           "rules": {}\r
1069         },\r
1070         "visible": {\r
1071           "type": "number",\r
1072           "rules": {\r
1073             "required": true,\r
1074             "number": true\r
1075           },\r
1076           "source": {\r
1077             "type": "magic_number",\r
1078             "args": {\r
1079               "select_item_name": "scroll_visible_items"\r
1080             }\r
1081           }\r
1082         },\r
1083         "author_id": {\r
1084           "type": "number",\r
1085           "rules": {\r
1086             "required": true,\r
1087             "number": true\r
1088           }\r
1089         }\r
1090       }\r
1091     },\r
1092     "scroll_panel": {\r
1093       "associations": {\r
1094         "belongs_to": {\r
1095           "panel": {},\r
1096           "scroll": {}\r
1097         },\r
1098         "has_many": {}\r
1099       },\r
1100       "attributes": {\r
1101         "scroll_id": {\r
1102           "type": "number",\r
1103           "rules": {\r
1104             "required": true,\r
1105             "number": true\r
1106           }\r
1107         },\r
1108         "panel_id": {\r
1109           "type": "number",\r
1110           "rules": {\r
1111             "required": true,\r
1112             "number": true\r
1113           }\r
1114         },\r
1115         "t": {\r
1116           "type": "number",\r
1117           "rules": {\r
1118             "required": true,\r
1119             "number": true,\r
1120             "min": 0\r
1121           }\r
1122         },\r
1123         "author_id": {\r
1124           "type": "number",\r
1125           "rules": {\r
1126             "required": true,\r
1127             "number": true\r
1128           }\r
1129         }\r
1130       }\r
1131     },\r
1132     "comic": {\r
1133       "associations": {\r
1134         "belongs_to": {\r
1135           "author": {}\r
1136         },\r
1137         "has_many": {\r
1138           "stories": {}\r
1139         }\r
1140       },\r
1141       "attributes": {\r
1142         "title": {\r
1143           "type": "text",\r
1144           "rules": {\r
1145             "required": true\r
1146           }\r
1147         },\r
1148         "description": {\r
1149           "type": "text",\r
1150           "rules": {}\r
1151         },\r
1152         "visible": {\r
1153           "type": "number",\r
1154           "rules": {\r
1155             "required": true,\r
1156             "number": true\r
1157           },\r
1158           "source": {\r
1159             "type": "magic_number",\r
1160             "args": {\r
1161               "select_item_name": "comic_visible_items"\r
1162             }\r
1163           }\r
1164         },\r
1165         "author_id": {\r
1166           "type": "number",\r
1167           "rules": {\r
1168             "required": true,\r
1169             "number": true\r
1170           }\r
1171         }\r
1172       }\r
1173     },\r
1174     "story": {\r
1175       "associations": {\r
1176         "belongs_to": {\r
1177           "comic": {}\r
1178         },\r
1179         "has_many": {\r
1180           "story_sheets": {},\r
1181           "sheets": {\r
1182             "through": "story_sheets"\r
1183           }\r
1184         }\r
1185       },\r
1186       "attributes": {\r
1187         "comic_id": {\r
1188           "type": "number",\r
1189           "rules": {\r
1190             "number": true\r
1191           }\r
1192         },\r
1193         "title": {\r
1194           "type": "text",\r
1195           "rules": {}\r
1196         },\r
1197         "description": {\r
1198           "type": "text",\r
1199           "rules": {}\r
1200         },\r
1201         "t": {\r
1202           "type": "number",\r
1203           "rules": {\r
1204             "required": true,\r
1205             "number": true,\r
1206             "min": 0\r
1207           }\r
1208         },\r
1209         "visible": {\r
1210           "type": "number",\r
1211           "rules": {\r
1212             "required": true,\r
1213             "number": true\r
1214           },\r
1215           "source": {\r
1216             "type": "magic_number",\r
1217             "args": {\r
1218               "select_item_name": "story_visible_items"\r
1219             }\r
1220           }\r
1221         }\r
1222       }\r
1223     },\r
1224     "story_sheet": {\r
1225       "associations": {\r
1226         "belongs_to": {\r
1227           "story": {},\r
1228           "sheet": {}\r
1229         },\r
1230         "has_many": {}\r
1231       },\r
1232       "attributes": {\r
1233         "story_id": {\r
1234           "type": "number",\r
1235           "rules": {\r
1236             "number": true\r
1237           }\r
1238         },\r
1239         "sheet_id": {\r
1240           "type": "number",\r
1241           "rules": {\r
1242             "number": true\r
1243           }\r
1244         },\r
1245         "t": {\r
1246           "type": "number",\r
1247           "rules": {\r
1248             "required": true,\r
1249             "number": true,\r
1250             "min": 0\r
1251           }\r
1252         },\r
1253         "author_id": {\r
1254           "type": "number",\r
1255           "rules": {\r
1256             "required": true,\r
1257             "number": true\r
1258           }\r
1259         }\r
1260       }\r
1261     },\r
1262     "sheet": {\r
1263       "associations": {\r
1264         "belongs_to": {\r
1265           "author": {}\r
1266         },\r
1267         "has_many": {\r
1268           "story_sheets": {},\r
1269           "stories": {\r
1270             "through": "story_sheets"\r
1271           },\r
1272           "sheet_panels": {},\r
1273           "panels": {\r
1274             "through": "sheet_panels"\r
1275           }\r
1276         }\r
1277       },\r
1278       "attributes": {\r
1279         "caption": {\r
1280           "type": "text",\r
1281           "rules": {}\r
1282         },\r
1283         "width": {\r
1284           "type": "number",\r
1285           "rules": {\r
1286             "required": true,\r
1287             "number": true\r
1288           }\r
1289         },\r
1290         "height": {\r
1291           "type": "number",\r
1292           "rules": {\r
1293             "required": true,\r
1294             "number": true\r
1295           }\r
1296         },\r
1297         "visible": {\r
1298           "type": "number",\r
1299           "rules": {\r
1300             "required": true,\r
1301             "number": true\r
1302           },\r
1303           "source": {\r
1304             "type": "magic_number",\r
1305             "args": {\r
1306               "select_item_name": "sheet_visible_items"\r
1307             }\r
1308           }\r
1309         },\r
1310         "author_id": {\r
1311           "type": "number",\r
1312           "rules": {\r
1313             "required": true,\r
1314             "number": true\r
1315           }\r
1316         }\r
1317       }\r
1318     },\r
1319     "sheet_panel": {\r
1320       "associations": {\r
1321         "belongs_to": {\r
1322           "sheet": {},\r
1323           "panel": {}\r
1324         },\r
1325         "has_many": {}\r
1326       },\r
1327       "attributes": {\r
1328         "sheet_id": {\r
1329           "type": "number",\r
1330           "rules": {\r
1331             "number": true\r
1332           }\r
1333         },\r
1334         "panel_id": {\r
1335           "type": "number",\r
1336           "rules": {\r
1337             "number": true\r
1338           }\r
1339         },\r
1340         "x": {\r
1341           "type": "number",\r
1342           "rules": {\r
1343             "required": true,\r
1344             "number": true\r
1345           }\r
1346         },\r
1347         "y": {\r
1348           "type": "number",\r
1349           "rules": {\r
1350             "required": true,\r
1351             "number": true\r
1352           }\r
1353         },\r
1354         "z": {\r
1355           "type": "number",\r
1356           "rules": {\r
1357             "required": true,\r
1358             "number": true,\r
1359             "min": 1\r
1360           }\r
1361         },\r
1362         "t": {\r
1363           "type": "number",\r
1364           "rules": {\r
1365             "required": true,\r
1366             "number": true,\r
1367             "min": 0\r
1368           }\r
1369         },\r
1370         "author_id": {\r
1371           "type": "number",\r
1372           "rules": {\r
1373             "number": true\r
1374           }\r
1375         }\r
1376       }\r
1377     },\r
1378     "panel": {\r
1379       "associations": {\r
1380         "belongs_to": {\r
1381           "author": {}\r
1382         },\r
1383         "has_many": {\r
1384           "scroll_panels": {},\r
1385           "scrolls": {\r
1386             "through": "scroll_panels"\r
1387           },\r
1388           "sheet_panels": {},\r
1389           "sheets": {\r
1390             "through": "sheet_panels"\r
1391           },\r
1392           "panel_pictures": {},\r
1393           "speech_balloons": {},\r
1394           "ground_pictures": {},\r
1395           "ground_colors": {}\r
1396         }\r
1397       },\r
1398       "attributes": {\r
1399         "width": {\r
1400           "type": "number",\r
1401           "rules": {\r
1402             "required": true,\r
1403             "number": true,\r
1404             "min": 1\r
1405           }\r
1406         },\r
1407         "height": {\r
1408           "type": "number",\r
1409           "rules": {\r
1410             "required": true,\r
1411             "number": true,\r
1412             "min": 1\r
1413           }\r
1414         },\r
1415         "border": {\r
1416           "type": "number",\r
1417           "rules": {\r
1418             "required": true,\r
1419             "number": true,\r
1420             "min": 0\r
1421           }\r
1422         },\r
1423         "caption": {\r
1424           "type": "text",\r
1425           "rules": {}\r
1426         },\r
1427         "publish": {\r
1428           "type": "number",\r
1429           "rules": {\r
1430             "required": true,\r
1431             "number": true\r
1432           },\r
1433           "source": {\r
1434             "type": "magic_number",\r
1435             "args": {\r
1436               "select_item_name": "panel_visible_items"\r
1437             }\r
1438           }\r
1439         },\r
1440         "author_id": {\r
1441           "type": "number",\r
1442           "rules": {\r
1443             "required": true,\r
1444             "number": true\r
1445           }\r
1446         }\r
1447       }\r
1448     },\r
1449     "panel_picture": {\r
1450       "associations": {\r
1451         "belongs_to": {\r
1452           "panel": {}\r
1453         },\r
1454         "has_many": {}\r
1455       },\r
1456       "attributes": {\r
1457         "panel_id": {\r
1458           "type": "number",\r
1459           "rules": {\r
1460             "number": true\r
1461           }\r
1462         },\r
1463         "picture_id": {\r
1464           "type": "number",\r
1465           "rules": {\r
1466             "required": true,\r
1467             "number": true\r
1468           }\r
1469         },\r
1470         "caption": {\r
1471           "type": "text",\r
1472           "rules": {}\r
1473         },\r
1474         "x": {\r
1475           "type": "number",\r
1476           "rules": {\r
1477             "required": true,\r
1478             "number": true\r
1479           }\r
1480         },\r
1481         "y": {\r
1482           "type": "number",\r
1483           "rules": {\r
1484             "required": true,\r
1485             "number": true\r
1486           }\r
1487         },\r
1488         "width": {\r
1489           "type": "number",\r
1490           "rules": {\r
1491             "required": true,\r
1492             "number": true\r
1493           }\r
1494         },\r
1495         "height": {\r
1496           "type": "number",\r
1497           "rules": {\r
1498             "required": true,\r
1499             "number": true\r
1500           }\r
1501         },\r
1502         "link": {\r
1503           "type": "text",\r
1504           "rules": {\r
1505             "url": true\r
1506           }\r
1507         },\r
1508         "z": {\r
1509           "type": "number",\r
1510           "rules": {\r
1511             "required": true,\r
1512             "number": true,\r
1513             "min": 1\r
1514           }\r
1515         },\r
1516         "t": {\r
1517           "type": "number",\r
1518           "rules": {\r
1519             "required": true,\r
1520             "number": true,\r
1521             "min": 0\r
1522           }\r
1523         }\r
1524       }\r
1525     },\r
1526     "speech_balloon": {\r
1527       "associations": {\r
1528         "belongs_to": {\r
1529           "panel": {}\r
1530         },\r
1531         "has_many": {},\r
1532         "has_one": {\r
1533           "balloon": {},\r
1534           "speech": {}\r
1535         }\r
1536       },\r
1537       "attributes": {\r
1538         "panel_id": {\r
1539           "type": "number",\r
1540           "rules": {\r
1541             "number": true\r
1542           }\r
1543         },\r
1544         "speech_balloon_template_id": {\r
1545           "type": "number",\r
1546           "rules": {\r
1547             "required": true,\r
1548             "number": true\r
1549           }\r
1550         },\r
1551         "speech_balloon_template_classname": {\r
1552           "type": "text",\r
1553           "rules": {\r
1554             "required": true\r
1555           }\r
1556         },\r
1557         "z": {\r
1558           "type": "number",\r
1559           "rules": {\r
1560             "required": true,\r
1561             "number": true,\r
1562             "min": 1\r
1563           }\r
1564         },\r
1565         "t": {\r
1566           "type": "number",\r
1567           "rules": {\r
1568             "required": true,\r
1569             "number": true,\r
1570             "min": 0\r
1571           }\r
1572         },\r
1573         "speech_balloon_template_settings": {\r
1574           "type": "text",\r
1575           "rules": {}\r
1576         },\r
1577         "caption": {\r
1578           "type": "text",\r
1579           "rules": {}\r
1580         }\r
1581       }\r
1582     },\r
1583     "balloon": {\r
1584       "associations": {\r
1585         "belongs_to": {\r
1586           "speech_balloon": {},\r
1587           "system_picture": {}\r
1588         },\r
1589         "has_many": {}\r
1590       },\r
1591       "attributes": {\r
1592         "speech_balloon_id": {\r
1593           "type": "number",\r
1594           "rules": {\r
1595             "number": true\r
1596           }\r
1597         },\r
1598         "speech_balloon_template_id": {\r
1599           "type": "number",\r
1600           "rules": {\r
1601             "required": true,\r
1602             "number": true\r
1603           }\r
1604         },\r
1605         "speech_balloon_template_classname": {\r
1606           "type": "text",\r
1607           "rules": {\r
1608             "required": true\r
1609           }\r
1610         },\r
1611         "system_picture_id": {\r
1612           "type": "number",\r
1613           "rules": {\r
1614             "required": true,\r
1615             "number": true\r
1616           }\r
1617         },\r
1618         "x": {\r
1619           "type": "number",\r
1620           "rules": {\r
1621             "required": true,\r
1622             "number": true\r
1623           }\r
1624         },\r
1625         "y": {\r
1626           "type": "number",\r
1627           "rules": {\r
1628             "required": true,\r
1629             "number": true\r
1630           }\r
1631         },\r
1632         "width": {\r
1633           "type": "number",\r
1634           "rules": {\r
1635             "required": true,\r
1636             "number": true,\r
1637             "min": 1\r
1638           }\r
1639         },\r
1640         "height": {\r
1641           "type": "number",\r
1642           "rules": {\r
1643             "required": true,\r
1644             "number": true,\r
1645             "min": 1\r
1646           }\r
1647         },\r
1648         "r": {\r
1649           "type": "number",\r
1650           "rules": {\r
1651             "required": true,\r
1652             "number": true\r
1653           }\r
1654         },\r
1655         "speech_balloon_template_settings": {\r
1656           "type": "text",\r
1657           "rules": {}\r
1658         }\r
1659       }\r
1660     },\r
1661     "speech": {\r
1662       "associations": {\r
1663         "belongs_to": {\r
1664           "speech_balloon": {},\r
1665           "writing_format": {}\r
1666         },\r
1667         "has_many": {}\r
1668       },\r
1669       "attributes": {\r
1670         "speech_balloon_id": {\r
1671           "type": "number",\r
1672           "rules": {\r
1673             "number": true\r
1674           }\r
1675         },\r
1676         "speech_balloon_template_id": {\r
1677           "type": "number",\r
1678           "rules": {\r
1679             "required": true,\r
1680             "number": true\r
1681           }\r
1682         },\r
1683         "speech_balloon_template_classname": {\r
1684           "type": "text",\r
1685           "rules": {\r
1686             "required": true\r
1687           }\r
1688         },\r
1689         "writing_format_id": {\r
1690           "type": "number",\r
1691           "source": {\r
1692             "type": "model"\r
1693           },\r
1694           "rules": {\r
1695             "required": true,\r
1696             "number": true\r
1697           }\r
1698         },\r
1699         "writing_format_classname": {\r
1700           "type": "text",\r
1701           "rules": {\r
1702             "required": true\r
1703           }\r
1704         },\r
1705         "content": {\r
1706           "type": "text",\r
1707           "rules": {}\r
1708         },\r
1709         "font_size": {\r
1710           "type": "float",\r
1711           "rules": {\r
1712             "required": true,\r
1713             "number": true,\r
1714             "min": 0\r
1715           },\r
1716           "source": {\r
1717             "type": "magic_number",\r
1718             "args": {\r
1719               "select_item_name": "speech_font_size_items"\r
1720             }\r
1721           }\r
1722         },\r
1723         "text_align": {\r
1724           "type": "number",\r
1725           "rules": {\r
1726             "required": true,\r
1727             "number": true,\r
1728             "range": [\r
1729               0,\r
1730               3\r
1731             ]\r
1732           },\r
1733           "source": {\r
1734             "type": "magic_number",\r
1735             "args": {\r
1736               "select_item_name": "speech_text_align_items"\r
1737             }\r
1738           }\r
1739         },\r
1740         "fore_color": {\r
1741           "type": "number",\r
1742           "rules": {\r
1743             "required": true,\r
1744             "number": true,\r
1745             "range": [\r
1746               0,\r
1747               16777215\r
1748             ]\r
1749           }\r
1750         },\r
1751         "x": {\r
1752           "type": "number",\r
1753           "rules": {\r
1754             "required": true,\r
1755             "number": true\r
1756           }\r
1757         },\r
1758         "y": {\r
1759           "type": "number",\r
1760           "rules": {\r
1761             "required": true,\r
1762             "number": true\r
1763           }\r
1764         },\r
1765         "width": {\r
1766           "type": "number",\r
1767           "rules": {\r
1768             "required": true,\r
1769             "number": true,\r
1770             "min": 1\r
1771           }\r
1772         },\r
1773         "height": {\r
1774           "type": "number",\r
1775           "rules": {\r
1776             "required": true,\r
1777             "number": true,\r
1778             "min": 1\r
1779           }\r
1780         },\r
1781         "quotes": {\r
1782           "type": "text",\r
1783           "rules": {}\r
1784         },\r
1785         "speech_balloon_template_settings": {\r
1786           "type": "text",\r
1787           "rules": {}\r
1788         },\r
1789         "writing_format_settings": {\r
1790           "type": "text",\r
1791           "rules": {}\r
1792         }\r
1793       }\r
1794     },\r
1795     "ground_picture": {\r
1796       "associations": {\r
1797         "belongs_to": {\r
1798           "panel": {}\r
1799         },\r
1800         "has_many": {}\r
1801       },\r
1802       "attributes": {\r
1803         "panel_id": {\r
1804           "type": "number",\r
1805           "rules": {\r
1806             "number": true\r
1807           }\r
1808         },\r
1809         "picture_id": {\r
1810           "type": "number",\r
1811           "rules": {\r
1812             "required": true,\r
1813             "number": true\r
1814           }\r
1815         },\r
1816         "caption": {\r
1817           "type": "text",\r
1818           "rules": {}\r
1819         },\r
1820         "repeat": {\r
1821           "type": "number",\r
1822           "rules": {\r
1823             "required": true,\r
1824             "number": true,\r
1825             "range": [\r
1826               0,\r
1827               3\r
1828             ]\r
1829           },\r
1830           "source": {\r
1831             "type": "magic_number",\r
1832             "args": {\r
1833               "select_item_name": "ground_picture_repeat_items"\r
1834             }\r
1835           }\r
1836         },\r
1837         "x": {\r
1838           "type": "number",\r
1839           "rules": {\r
1840             "required": true,\r
1841             "number": true\r
1842           }\r
1843         },\r
1844         "y": {\r
1845           "type": "number",\r
1846           "rules": {\r
1847             "required": true,\r
1848             "number": true\r
1849           }\r
1850         },\r
1851         "z": {\r
1852           "type": "number",\r
1853           "rules": {\r
1854             "required": true,\r
1855             "number": true,\r
1856             "min": 1\r
1857           }\r
1858         },\r
1859         "t": {\r
1860           "type": "number",\r
1861           "rules": {\r
1862             "required": true,\r
1863             "number": true,\r
1864             "min": 0\r
1865           }\r
1866         }\r
1867       }\r
1868     },\r
1869     "ground_color": {\r
1870       "associations": {\r
1871         "belongs_to": {\r
1872           "panel": {}\r
1873         },\r
1874         "has_many": {}\r
1875       },\r
1876       "attributes": {\r
1877         "panel_id": {\r
1878           "type": "number",\r
1879           "rules": {\r
1880             "number": true\r
1881           }\r
1882         },\r
1883         "caption": {\r
1884           "type": "text",\r
1885           "rules": {}\r
1886         },\r
1887         "code": {\r
1888           "type": "number",\r
1889           "rules": {\r
1890             "required": true,\r
1891             "number": true,\r
1892             "range": [\r
1893               0,\r
1894               16777215\r
1895             ]\r
1896           }\r
1897         },\r
1898         "orientation": {\r
1899           "type": "number",\r
1900           "rules": {\r
1901             "required": true,\r
1902             "number": true,\r
1903             "range": [\r
1904               0,\r
1905               1\r
1906             ]\r
1907           },\r
1908           "source": {\r
1909             "type": "magic_number",\r
1910             "args": {\r
1911               "select_item_name": "ground_color_orientation_items"\r
1912             }\r
1913           }\r
1914         },\r
1915         "xy": {\r
1916           "type": "number",\r
1917           "rules": {\r
1918             "number": true\r
1919           }\r
1920         },\r
1921         "wh": {\r
1922           "type": "number",\r
1923           "rules": {\r
1924             "number": true\r
1925           }\r
1926         },\r
1927         "z": {\r
1928           "type": "number",\r
1929           "rules": {\r
1930             "required": true,\r
1931             "number": true,\r
1932             "min": 1\r
1933           }\r
1934         },\r
1935         "t": {\r
1936           "type": "number",\r
1937           "rules": {\r
1938             "required": true,\r
1939             "number": true,\r
1940             "min": 0\r
1941           }\r
1942         }\r
1943       }\r
1944     },\r
1945     "original_picture": {\r
1946       "associations": {\r
1947         "belongs_to": {\r
1948           "artist": {}\r
1949         },\r
1950         "has_many": {\r
1951           "pictures": {}\r
1952         },\r
1953         "has_one": {\r
1954           "resource_picture": {}\r
1955         }\r
1956       },\r
1957       "attributes": {\r
1958         "ext": {\r
1959           "type": "text",\r
1960           "rules": {\r
1961             "required": true\r
1962           }\r
1963         },\r
1964         "width": {\r
1965           "type": "number",\r
1966           "rules": {\r
1967             "required": true,\r
1968             "number": true\r
1969           }\r
1970         },\r
1971         "height": {\r
1972           "type": "number",\r
1973           "rules": {\r
1974             "required": true,\r
1975             "number": true\r
1976           }\r
1977         },\r
1978         "filesize": {\r
1979           "type": "number",\r
1980           "rules": {\r
1981             "required": true,\r
1982             "number": true\r
1983           }\r
1984         },\r
1985         "artist_id": {\r
1986           "type": "number",\r
1987           "rules": {\r
1988             "required": true,\r
1989             "number": true\r
1990           }\r
1991         },\r
1992         "md5": {\r
1993           "type": "text",\r
1994           "rules": {\r
1995             "required": true\r
1996           }\r
1997         },\r
1998         "uploaded_at": {\r
1999           "type": "datetime"\r
2000         },\r
2001         "published_at": {\r
2002           "type": "datetime"\r
2003         },\r
2004         "stopped_at": {\r
2005           "type": "datetime"\r
2006         }\r
2007       }\r
2008     },\r
2009     "picture": {\r
2010       "associations": {\r
2011         "belongs_to": {\r
2012           "license": {},\r
2013           "artist": {}\r
2014         },\r
2015         "has_many": {},\r
2016         "has_one": {}\r
2017       },\r
2018       "attributes": {\r
2019         "original_picture_id": {\r
2020           "type": "number",\r
2021           "rules": {\r
2022             "required": true,\r
2023             "number": true\r
2024           }\r
2025         },\r
2026         "revision": {\r
2027           "type": "number",\r
2028           "rules": {\r
2029             "required": true,\r
2030             "number": true\r
2031           }\r
2032         },\r
2033         "ext": {\r
2034           "type": "text",\r
2035           "rules": {\r
2036             "required": true\r
2037           }\r
2038         },\r
2039         "width": {\r
2040           "type": "number",\r
2041           "rules": {\r
2042             "required": true,\r
2043             "number": true\r
2044           }\r
2045         },\r
2046         "height": {\r
2047           "type": "number",\r
2048           "rules": {\r
2049             "required": true,\r
2050             "number": true\r
2051           }\r
2052         },\r
2053         "filesize": {\r
2054           "type": "number",\r
2055           "rules": {\r
2056             "required": true,\r
2057             "number": true\r
2058           }\r
2059         },\r
2060         "artist_id": {\r
2061           "type": "number",\r
2062           "rules": {\r
2063             "required": true,\r
2064             "number": true\r
2065           }\r
2066         },\r
2067         "license_id": {\r
2068           "type": "number",\r
2069           "rules": {\r
2070             "required": true,\r
2071             "number": true\r
2072           }\r
2073         },\r
2074         "md5": {\r
2075           "type": "text",\r
2076           "rules": {\r
2077             "required": true\r
2078           }\r
2079         },\r
2080         "artist_name": {\r
2081           "type": "text",\r
2082           "rules": {\r
2083             "required": true\r
2084           }\r
2085         },\r
2086         "license_group_settings": {\r
2087           "type": "text",\r
2088           "rules": {}\r
2089         },\r
2090         "credit_picture_settings": {\r
2091           "type": "text",\r
2092           "rules": {}\r
2093         },\r
2094         "license_settings": {\r
2095           "type": "text",\r
2096           "rules": {}\r
2097         },\r
2098         "license_classname": {\r
2099           "type": "text",\r
2100           "rules": {\r
2101             "required": true\r
2102           }\r
2103         }\r
2104       }\r
2105     },\r
2106     "resource_picture": {\r
2107       "associations": {\r
2108         "belongs_to": {\r
2109           "original_picture": {},\r
2110           "license": {},\r
2111           "artist": {}\r
2112         },\r
2113         "has_many": {},\r
2114         "has_one": {}\r
2115       },\r
2116       "attributes": {\r
2117         "original_picture_id": {\r
2118           "type": "number",\r
2119           "rules": {\r
2120             "required": true,\r
2121             "number": true\r
2122           }\r
2123         },\r
2124         "revision": {\r
2125           "type": "number",\r
2126           "rules": {\r
2127             "required": true,\r
2128             "number": true\r
2129           }\r
2130         },\r
2131         "ext": {\r
2132           "type": "text",\r
2133           "rules": {\r
2134             "required": true\r
2135           }\r
2136         },\r
2137         "width": {\r
2138           "type": "number",\r
2139           "rules": {\r
2140             "required": true,\r
2141             "number": true\r
2142           }\r
2143         },\r
2144         "height": {\r
2145           "type": "number",\r
2146           "rules": {\r
2147             "required": true,\r
2148             "number": true\r
2149           }\r
2150         },\r
2151         "filesize": {\r
2152           "type": "number",\r
2153           "rules": {\r
2154             "required": true,\r
2155             "number": true\r
2156           }\r
2157         },\r
2158         "artist_id": {\r
2159           "type": "number",\r
2160           "rules": {\r
2161             "required": true,\r
2162             "number": true\r
2163           }\r
2164         },\r
2165         "license_id": {\r
2166           "type": "number",\r
2167           "rules": {\r
2168             "required": true,\r
2169             "number": true\r
2170           }\r
2171         },\r
2172         "md5": {\r
2173           "type": "text",\r
2174           "rules": {\r
2175             "required": true\r
2176           }\r
2177         },\r
2178         "artist_name": {\r
2179           "type": "text",\r
2180           "rules": {\r
2181             "required": true\r
2182           }\r
2183         },\r
2184         "license_group_settings": {\r
2185           "type": "text",\r
2186           "rules": {}\r
2187         },\r
2188         "credit_picture_settings": {\r
2189           "type": "text",\r
2190           "rules": {}\r
2191         },\r
2192         "license_settings": {\r
2193           "type": "text",\r
2194           "rules": {}\r
2195         },\r
2196         "picture_id": {\r
2197           "type": "number",\r
2198           "rules": {\r
2199             "required": true,\r
2200             "number": true\r
2201           }\r
2202         },\r
2203         "license_classname": {\r
2204           "type": "text",\r
2205           "rules": {\r
2206             "required": true\r
2207           }\r
2208         }\r
2209       }\r
2210     },\r
2211     "speech_balloon_template": {\r
2212       "associations": {\r
2213         "belongs_to": {\r
2214           "system_picture": {}\r
2215         },\r
2216         "has_many": {\r
2217           "speech_balloons": {},\r
2218           "panels": {\r
2219             "through": "speech_balloons"\r
2220           }\r
2221         },\r
2222         "has_one": {}\r
2223       },\r
2224       "attributes": {\r
2225         "name": {\r
2226           "type": "text",\r
2227           "rules": {\r
2228             "required": true\r
2229           }\r
2230         },\r
2231         "classname": {\r
2232           "type": "text",\r
2233           "rules": {\r
2234             "required": true\r
2235           }\r
2236         },\r
2237         "caption": {\r
2238           "type": "text",\r
2239           "rules": {\r
2240             "required": true\r
2241           }\r
2242         },\r
2243         "t": {\r
2244           "type": "number",\r
2245           "rules": {\r
2246             "required": true,\r
2247             "number": true,\r
2248             "min": 0\r
2249           }\r
2250         },\r
2251         "system_picture_id": {\r
2252           "type": "number",\r
2253           "rules": {\r
2254             "required": true,\r
2255             "number": true\r
2256           }\r
2257         },\r
2258         "settings": {\r
2259           "type": "text",\r
2260           "rules": {\r
2261             "required": true\r
2262           }\r
2263         }\r
2264       }\r
2265     },\r
2266     "writing_format": {\r
2267       "associations": {\r
2268         "belongs_to": {\r
2269           "system_picture": {}\r
2270         },\r
2271         "has_many": {\r
2272           "speeches": {}\r
2273         },\r
2274         "has_one": {}\r
2275       },\r
2276       "attributes": {\r
2277         "name": {\r
2278           "type": "text",\r
2279           "rules": {\r
2280             "required": true\r
2281           }\r
2282         },\r
2283         "classname": {\r
2284           "type": "text",\r
2285           "rules": {\r
2286             "required": true\r
2287           }\r
2288         },\r
2289         "caption": {\r
2290           "type": "text",\r
2291           "rules": {\r
2292             "required": true\r
2293           }\r
2294         },\r
2295         "system_picture_id": {\r
2296           "type": "number",\r
2297           "rules": {\r
2298             "required": true,\r
2299             "number": true\r
2300           }\r
2301         },\r
2302         "settings": {\r
2303           "type": "text",\r
2304           "rules": {\r
2305             "required": true\r
2306           }\r
2307         }\r
2308       }\r
2309     },\r
2310     "license_group": {\r
2311       "associations": {\r
2312         "belongs_to": {},\r
2313         "has_many": {\r
2314           "licenses": {}\r
2315         },\r
2316         "has_one": {}\r
2317       },\r
2318       "attributes": {\r
2319         "name": {\r
2320           "type": "text",\r
2321           "rules": {\r
2322             "required": true\r
2323           }\r
2324         },\r
2325         "classname": {\r
2326           "type": "text",\r
2327           "rules": {\r
2328             "required": true\r
2329           }\r
2330         },\r
2331         "caption": {\r
2332           "type": "text",\r
2333           "rules": {\r
2334             "required": true\r
2335           }\r
2336         },\r
2337         "url": {\r
2338           "type": "text",\r
2339           "rules": {\r
2340             "required": true\r
2341           }\r
2342         }\r
2343       }\r
2344     },\r
2345     "license": {\r
2346       "associations": {\r
2347         "belongs_to": {\r
2348           "license_group": {},\r
2349           "system_picture": {}\r
2350         },\r
2351         "has_many": {\r
2352           "resource_pictures": {}\r
2353         },\r
2354         "has_one": {}\r
2355       },\r
2356       "attributes": {\r
2357         "license_group_id": {\r
2358           "type": "number",\r
2359           "rules": {\r
2360             "number": true\r
2361           }\r
2362         },\r
2363         "license_group_classname": {\r
2364           "type": "text",\r
2365           "rules": {\r
2366             "required": true\r
2367           }\r
2368         },\r
2369         "name": {\r
2370           "type": "text",\r
2371           "rules": {\r
2372             "required": true\r
2373           }\r
2374         },\r
2375         "caption": {\r
2376           "type": "text",\r
2377           "rules": {\r
2378             "required": true\r
2379           }\r
2380         },\r
2381         "system_picture_id": {\r
2382           "type": "number",\r
2383           "rules": {\r
2384             "required": true,\r
2385             "number": true\r
2386           }\r
2387         },\r
2388         "url": {\r
2389           "type": "text",\r
2390           "rules": {\r
2391             "required": true\r
2392           }\r
2393         },\r
2394         "license_group_settings": {\r
2395           "type": "text",\r
2396           "rules": {}\r
2397         },\r
2398         "credit_picture_settings": {\r
2399           "type": "text",\r
2400           "rules": {}\r
2401         }\r
2402       }\r
2403     },\r
2404     "author": {\r
2405       "associations": {\r
2406         "belongs_to": {},\r
2407         "has_many": {\r
2408           "scrolls": {},\r
2409           "comics": {},\r
2410           "stories": {},\r
2411           "sheets": {},\r
2412           "panels": {}\r
2413         },\r
2414         "has_one": {}\r
2415       },\r
2416       "attributes": {\r
2417         "name": {\r
2418           "type": "text",\r
2419           "rules": {\r
2420             "required": true\r
2421           }\r
2422         },\r
2423         "user_id": {\r
2424           "type": "number",\r
2425           "rules": {\r
2426             "required": true,\r
2427             "number": true\r
2428           }\r
2429         }\r
2430       }\r
2431     },\r
2432     "artist": {\r
2433       "associations": {\r
2434         "belongs_to": {},\r
2435         "has_many": {\r
2436           "resource_pictures": {}\r
2437         },\r
2438         "has_one": {}\r
2439       },\r
2440       "attributes": {\r
2441         "name": {\r
2442           "type": "text",\r
2443           "rules": {\r
2444             "required": true\r
2445           }\r
2446         },\r
2447         "author_id": {\r
2448           "type": "number",\r
2449           "rules": {\r
2450             "required": true,\r
2451             "number": true\r
2452           }\r
2453         }\r
2454       }\r
2455     },\r
2456     "system_picture": {\r
2457       "associations": {\r
2458         "belongs_to": {},\r
2459         "has_many": {\r
2460           "balloons": {},\r
2461           "speech_balloon_templates": {},\r
2462           "licenses": {}\r
2463         },\r
2464         "has_one": {}\r
2465       },\r
2466       "attributes": {\r
2467         "ext": {\r
2468           "type": "text",\r
2469           "rules": {\r
2470             "required": true\r
2471           }\r
2472         },\r
2473         "width": {\r
2474           "type": "number",\r
2475           "rules": {\r
2476             "required": true,\r
2477             "number": true\r
2478           }\r
2479         },\r
2480         "height": {\r
2481           "type": "number",\r
2482           "rules": {\r
2483             "required": true,\r
2484             "number": true\r
2485           }\r
2486         },\r
2487         "filesize": {\r
2488           "type": "number",\r
2489           "rules": {\r
2490             "required": true,\r
2491             "number": true\r
2492           }\r
2493         },\r
2494         "md5": {\r
2495           "type": "text",\r
2496           "rules": {\r
2497             "required": true\r
2498           }\r
2499         }\r
2500       }\r
2501     },\r
2502     "circle_speech_balloon_speech_balloon": {\r
2503       "attributes": {\r
2504         "width": {\r
2505           "type": "number",\r
2506           "rules": {\r
2507             "required": true,\r
2508             "number": true\r
2509           }\r
2510         }\r
2511       }\r
2512     },\r
2513     "pettanr_pettan_commons_v01_licenses_license": {\r
2514       "attributes": {\r
2515         "open": {\r
2516           "type": "number",\r
2517           "rules": {\r
2518             "required": true,\r
2519             "number": true\r
2520           }\r
2521         },\r
2522         "commercial": {\r
2523           "type": "number",\r
2524           "rules": {\r
2525             "required": true,\r
2526             "number": true\r
2527           }\r
2528         },\r
2529         "official": {\r
2530           "type": "number",\r
2531           "rules": {\r
2532             "required": true,\r
2533             "number": true\r
2534           }\r
2535         },\r
2536         "attribution": {\r
2537           "type": "number",\r
2538           "rules": {\r
2539             "required": true,\r
2540             "number": true\r
2541           }\r
2542         },\r
2543         "derive": {\r
2544           "type": "number",\r
2545           "rules": {\r
2546             "required": true,\r
2547             "number": true\r
2548           }\r
2549         },\r
2550         "thumbnail": {\r
2551           "type": "number",\r
2552           "rules": {\r
2553             "required": true,\r
2554             "number": true\r
2555           }\r
2556         },\r
2557         "gif_convert": {\r
2558           "type": "number",\r
2559           "rules": {\r
2560             "required": true,\r
2561             "number": true\r
2562           }\r
2563         },\r
2564         "reverse": {\r
2565           "type": "number",\r
2566           "rules": {\r
2567             "required": true,\r
2568             "number": true\r
2569           }\r
2570         },\r
2571         "sync_vh": {\r
2572           "type": "number",\r
2573           "rules": {\r
2574             "required": true,\r
2575             "number": true\r
2576           }\r
2577         },\r
2578         "overlap": {\r
2579           "type": "number",\r
2580           "rules": {\r
2581             "required": true,\r
2582             "number": true\r
2583           }\r
2584         }\r
2585       }\r
2586     },\r
2587     "pettanr_pettan_commons_v01_licenses_credit_picture": {\r
2588       "attributes": {\r
2589         "source_url_btn_id": {\r
2590           "type": "number",\r
2591           "rules": {\r
2592             "required": true,\r
2593             "number": true\r
2594           }\r
2595         },\r
2596         "source_url_off_btn_id": {\r
2597           "type": "number",\r
2598           "rules": {\r
2599             "required": true,\r
2600             "number": true\r
2601           }\r
2602         }\r
2603       }\r
2604     },\r
2605     "pettanr_pettan_commons_v01_licenses_attribute": {\r
2606       "attributes": {\r
2607         "license_id": {\r
2608           "type": "number",\r
2609           "rules": {\r
2610             "required": true,\r
2611             "number": true\r
2612           }\r
2613         },\r
2614         "artist_name": {\r
2615           "type": "text",\r
2616           "rules": {\r
2617             "required": true\r
2618           }\r
2619         },\r
2620         "caption": {\r
2621           "type": "text",\r
2622           "rules": {\r
2623             "required": true\r
2624           }\r
2625         },\r
2626         "sources": {\r
2627           "type": "text",\r
2628           "rules": {\r
2629             "required": true\r
2630           }\r
2631         }\r
2632       }\r
2633     }\r
2634   },\r
2635   "system_resources": {\r
2636     "engine_resources": {\r
2637       "license_groups": {\r
2638         "resource_items": {\r
2639           "PettanrCreativeCommonsV30Licenses": "pettanr_creative_commons_v30_licenses",\r
2640           "PettanrPettanCommonsV01Licenses": "pettanr_pettan_commons_v01_licenses",\r
2641           "PettanrPettanProtectedV01Licenses": "pettanr_pettan_protected_v01_licenses",\r
2642           "PettanrPettanPublicV01Licenses": "pettanr_pettan_public_v01_licenses",\r
2643           "PettanrPublicDomainV01Licenses": "pettanr_public_domain_v01_licenses",\r
2644           "PettanrUnknownV01Licenses": "pettanr_unknown_v01_licenses"\r
2645         }\r
2646       },\r
2647       "speech_balloon_templates": {\r
2648         "resource_items": {\r
2649           "CircleSpeechBalloon": "circle_speech_balloon",\r
2650           "PlainSpeechBalloon": "plain_speech_balloon",\r
2651           "SquareSpeechBalloon": "square_speech_balloon"\r
2652         }\r
2653       },\r
2654       "writing_formats": {\r
2655         "has_route": 0,\r
2656         "resource_items": {\r
2657           "SimpleFormat": "pettanr_simple_format"\r
2658         }\r
2659       }\r
2660     },\r
2661     "elements": {\r
2662       "PanelPicture": "panel_pictures",\r
2663       "SpeechBalloon": "speech_balloons",\r
2664       "GroundPicture": "ground_pictures",\r
2665       "GroundColor": "ground_colors"\r
2666     },\r
2667     "select_items": {\r
2668       "provider_status_status_items": [\r
2669         [\r
2670           "select_items.provider_status.status.waiting",\r
2671           0\r
2672         ],\r
2673         [\r
2674           "select_items.provider_status.status.receiving",\r
2675           1\r
2676         ]\r
2677       ],\r
2678       "demander_status_status_items": [\r
2679         [\r
2680           "select_items.demander_status.status.waiting",\r
2681           0\r
2682         ],\r
2683         [\r
2684           "select_items.demander_status.status.rejected",\r
2685           1\r
2686         ],\r
2687         [\r
2688           "select_items.demander_status.status.requesting",\r
2689           2\r
2690         ],\r
2691         [\r
2692           "select_items.demander_status.status.approved",\r
2693           3\r
2694         ]\r
2695       ],\r
2696       "scroll_visible_items": [\r
2697         [\r
2698           "select_items.scroll.visible.private",\r
2699           0\r
2700         ],\r
2701         [\r
2702           "select_items.scroll.visible.public",\r
2703           1\r
2704         ]\r
2705       ],\r
2706       "comic_visible_items": [\r
2707         [\r
2708           "select_items.comic.visible.private",\r
2709           0\r
2710         ],\r
2711         [\r
2712           "select_items.comic.visible.public",\r
2713           1\r
2714         ]\r
2715       ],\r
2716       "story_visible_items": [\r
2717         [\r
2718           "select_items.story.visible.private",\r
2719           0\r
2720         ],\r
2721         [\r
2722           "select_items.story.visible.public",\r
2723           1\r
2724         ]\r
2725       ],\r
2726       "sheet_visible_items": [\r
2727         [\r
2728           "select_items.sheet.visible.private",\r
2729           0\r
2730         ],\r
2731         [\r
2732           "select_items.sheet.visible.public",\r
2733           1\r
2734         ]\r
2735       ],\r
2736       "panel_visible_items": [\r
2737         [\r
2738           "select_items.panel.visible.private",\r
2739           0\r
2740         ],\r
2741         [\r
2742           "select_items.panel.visible.public",\r
2743           1\r
2744         ]\r
2745       ],\r
2746       "ground_picture_repeat_items": [\r
2747         [\r
2748           "select_items.ground_pictures.repeat.repeat",\r
2749           0\r
2750         ],\r
2751         [\r
2752           "select_items.ground_pictures.repeat.repeat-x",\r
2753           1\r
2754         ],\r
2755         [\r
2756           "select_items.ground_pictures.repeat.repeat-y",\r
2757           2\r
2758         ],\r
2759         [\r
2760           "select_items.ground_pictures.repeat.no-repeat",\r
2761           3\r
2762         ]\r
2763       ],\r
2764       "ground_color_orientation_items": [\r
2765         [\r
2766           "select_items.ground_color.orientation.horizontal",\r
2767           0\r
2768         ],\r
2769         [\r
2770           "select_items.ground_color.orientation.vertical",\r
2771           1\r
2772         ]\r
2773       ],\r
2774       "speech_font_size_items": [\r
2775         [\r
2776           "select_items.speeches.font_size.ultra_small",\r
2777           0.2\r
2778         ],\r
2779         [\r
2780           "select_items.speeches.font_size.very_small",\r
2781           0.4\r
2782         ],\r
2783         [\r
2784           "select_items.speeches.font_size.small",\r
2785           0.6\r
2786         ],\r
2787         [\r
2788           "select_items.speeches.font_size.semi_small",\r
2789           0.8\r
2790         ],\r
2791         [\r
2792           "select_items.speeches.font_size.normal",\r
2793           1\r
2794         ],\r
2795         [\r
2796           "select_items.speeches.font_size.semi_large",\r
2797           1.5\r
2798         ],\r
2799         [\r
2800           "select_items.speeches.font_size.large",\r
2801           2\r
2802         ],\r
2803         [\r
2804           "select_items.speeches.font_size.very_large",\r
2805           3.5\r
2806         ],\r
2807         [\r
2808           "select_items.speeches.font_size.ultra_large",\r
2809           5\r
2810         ]\r
2811       ],\r
2812       "speech_text_align_items": [\r
2813         [\r
2814           "select_items.speeches.text_align.none",\r
2815           0\r
2816         ],\r
2817         [\r
2818           "select_items.speeches.text_align.left",\r
2819           1\r
2820         ],\r
2821         [\r
2822           "select_items.speeches.text_align.right",\r
2823           2\r
2824         ],\r
2825         [\r
2826           "select_items.speeches.text_align.center",\r
2827           3\r
2828         ]\r
2829       ]\r
2830     }\r
2831   },\r
2832   "magic_numbers": {\r
2833     "run_mode": 1,\r
2834     "thumbnail_width": 64,\r
2835     "thumbnail_height": 64,\r
2836     "profile": {\r
2837       "users": {\r
2838         "caption": "ペンギン王国",\r
2839         "url": "http://localhost:3001/",\r
2840         "description": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。"\r
2841       },\r
2842       "admins": {\r
2843         "caption": "site name for admin",\r
2844         "url": "http://your.site.url/admins/",\r
2845         "description": "admin register"\r
2846       },\r
2847       "demand_users": {\r
2848         "caption": "provider name",\r
2849         "url": "http://your.site.url/demanders/",\r
2850         "description": "provider description"\r
2851       }\r
2852     },\r
2853     "provider_sources": [\r
2854       "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json"\r
2855     ]\r
2856   }\r
2857 }