OSDN Git Service

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