OSDN Git Service

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