OSDN Git Service

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