OSDN Git Service

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