X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=public%2Fmanifest.json;h=71320071a52cd4d0857466c0f860c03404e0824e;hb=b4cc64119fff4ee29027579a6203fcd061c78cb3;hp=1b3898a2df1e5e2a9ae1655a1ae6dc83ead948b3;hpb=f623dbfb0601b6fc8f77af64620be274f7a9bb33;p=pettanr%2Fpettanr.git diff --git a/public/manifest.json b/public/manifest.json index 1b3898a2..71320071 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,4313 +1,5418 @@ { - "controllers": { - "scroll": { - "model_name": "scroll", - "actions": { - "index": { - "type": "list", - "list": { - "list_name": "public_list" - } - }, - "show": { - "type": "show", - "name": "show" - } - } + "controllers": { + "scrolls": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } }, - "home": { - "actions": { - "scrolls": { - "item_name": "scroll", - "type": "list", - "list": { - "list_name": "private_list" - } - } - } + "by_author": { + "type": "list" + }, + "by_panel": { + "type": "list" + }, + "play": { + "type": "list", + "args": { + "list_name": "play" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_author": { + "type": "count" + }, + "count_by_panel": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } + } }, - "models": { - "Scroll": "scroll", - "scroll": { - "class_name": "Scroll", - "table_name": "scrolls", - "associations": { - "belongs_to": { - "author": { - "id_column": "author_id" - } - }, - "has_many": { - "scroll_panels": { - "foreign_key": "scroll_id", - "model": "scroll_panel" - }, - "panels": { - "through": "scroll_panel", - "foreign_key": "scroll_id", - "model": "panel" - } - } - }, - "filters": { - "by_author": { - "type": "filter", - "key": "author_id" - } - }, - "through_filters": { - "by_panel": { - "through": "scroll_panels", - "key": "panel_id" - } - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "title": { - "type": "text", - "rules": { - "required": true - } - }, - "description": { - "type": "text", - "rules": {} - }, - "visible": { - "type": "number", - "rules": { - "required": true, - "number": true - }, - "source": { - "type": "magic_number", - "key": "scroll_visible_items" - } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "list": { - "name": "public" - }, - "caption": { - "type": "column", - "name": "title" - } - } + "scroll_panels": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } }, - "ScrollPanel": "scroll_panel", - "scroll_panel": { - "class_name": "ScrollPanel", - "table_name": "scroll_panels", - "associations": { - "belongs_to": { - "panel": { - "id_column": "panel_id" - }, - "scroll": { - "id_column": "scroll_id" - } - }, - "has_many": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "scroll_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "panel_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "list": { - "public": { - "method": "list" - }, - "by_panel": { - "method": "list_by_panel" - }, - "by_scroll": { - "method": "list_by_scroll" - } - } + "by_panel": { + "type": "list" }, - "Comic": "comic", - "comic": { - "class_name": "Comic", - "table_name": "comics", - "associations": { - "belongs_to": { - "author": { - "id_column": "author_id" - } - }, - "has_many": { - "stories": { - "foreign_key": "comic_id", - "list_method": "list_by_comic" - } - }, - "has_many_through": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "title": { - "type": "text", - "rules": { - "required": true - } - }, - "description": { - "type": "text", - "rules": {} - }, - "visible": { - "type": "number", - "rules": { - "required": true, - "number": true - }, - "source": { - "type": "magic_number", - "key": "comic_visible_items" - } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "list", - "caption": { - "type": "column", - "name": "title" - } - } + "by_scroll": { + "type": "list" }, - "Story": "story", - "story": { - "class_name": "Story", - "table_name": "stories", - "associations": { - "belongs_to": { - "comic": { - "id_column": "comic_id" - } - }, - "has_many": { - "story_sheets": { - "foreign_key": "story_id", - "list_method": "list_by_story" - }, - "sheets": { - "through": "story_sheets", - "foreign_key": "story_id", - "list_method": "list_by_story" - } - } - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "comic_id": { - "type": "number", - "rules": { - "number": true - } - }, - "title": { - "type": "text", - "rules": {} - }, - "description": { - "type": "text", - "rules": {} - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "visible": { - "type": "number", - "rules": { - "required": true, - "number": true - }, - "source": { - "type": "magic_number", - "key": "story_visible_items" - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "list", - "caption": { - "type": "method", - "name": "title_with_t" - } - } + "show": { + "type": "show" }, - "StorySheet": "story_sheet", - "story_sheet": { - "class_name": "StorySheet", - "table_name": "story_sheets", - "associations": { - "belongs_to": { - "story": { - "id_column": "story_id" - }, - "sheet": { - "id_column": "sheet_id" - } - }, - "has_many": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "story_id": { - "type": "number", - "rules": { - "number": true - } - }, - "sheet_id": { - "type": "number", - "rules": { - "number": true - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - } + "count": { + "type": "count", + "args": { + "list_name": "public" + } }, - "Sheet": "sheet", - "sheet": { - "class_name": "Sheet", - "table_name": "sheets", - "associations": { - "belongs_to": { - "author": { - "id_column": "author_id" - } - }, - "has_many": { - "story_sheets": { - "foreign_key": "story_id", - "list_method": "list_by_sheet" - }, - "stories": { - "through": "story_sheets", - "foreign_key": "sheet_id", - "list_method": "list_by_sheet" - }, - "sheet_panels": { - "foreign_key": "sheet_id", - "list_method": "list_by_sheet" - }, - "panels": { - "through": "sheet_panels", - "foreign_key": "sheet_id", - "list_method": "list_by_sheet" - } - } - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "caption": { - "type": "text", - "rules": {} - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "visible": { - "type": "number", - "rules": { - "required": true, - "number": true - }, - "source": { - "type": "magic_number", - "key": "sheet_visible_items" - } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "list", - "caption": { - "type": "column", - "name": "caption" - } - } + "count_by_panel": { + "type": "count" }, - "SheetPanel": "sheet_panel", - "sheet_panel": { - "class_name": "SheetPanel", - "table_name": "sheet_panels", - "associations": { - "belongs_to": { - "sheet": { - "id_column": "sheet_id" - }, - "panel": { - "id_column": "panel_id" - } - }, - "has_many": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "sheet_id": { - "type": "number", - "rules": { - "number": true - } - }, - "panel_id": { - "type": "number", - "rules": { - "number": true - } - }, - "x": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "y": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "z": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "author_id": { - "type": "number", - "rules": { - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - } + "count_by_scroll": { + "type": "count" }, - "Panel": "panel", - "panel": { - "class_name": "Panel", - "table_name": "panels", - "associations": { - "belongs_to": { - "author": { - "id_column": "author_id" - } - }, - "has_many": { - "scroll_panels": { - "foreign_key": "panel_id", - "list_method": "list_by_panel" - }, - "scrolls": { - "through": "scroll_panels", - "foreign_key": "panel_id", - "list_method": "list_by_panel" - }, - "sheet_panels": { - "foreign_key": "panel_id", - "list_method": "list_by_panel" - }, - "sheets": { - "through": "sheet_panels", - "foreign_key": "panel_id", - "list_method": "list_by_panel" - }, - "panel_pictures": { - "foreign_key": "panel_id", - "list_method": "list_by_panel" - }, - "speech_balloons": { - "foreign_key": "panel_id", - "list_method": "list_by_panel" - }, - "ground_pictures": { - "foreign_key": "panel_id", - "list_method": "list_by_panel" - }, - "ground_colors": { - "foreign_key": "panel_id", - "list_method": "list_by_panel" - } - } - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "border": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "caption": { - "type": "text", - "rules": {} - }, - "publish": { - "type": "number", - "rules": { - "required": true, - "number": true - }, - "source": { - "type": "magic_number", - "key": "panel_visible_items" - } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "list", - "caption": { - "type": "method", - "name": "plain_scenario" - } - } + "new": { + "type": "new" }, - "PanelPicture": "panel_picture", - "panel_picture": { - "class_name": "PanelPicture", - "table_name": "panel_pictures", - "associations": { - "belongs_to": { - "panel": { - "id_column": "panel_id" - } - }, - "has_many": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "panel_id": { - "type": "number", - "rules": { - "number": true - } - }, - "picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "caption": { - "type": "text", - "rules": {} - }, - "x": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "y": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "link": { - "type": "text", - "rules": { - "url": true - } - }, - "z": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - } + "edit": { + "type": "edit" + } + } + }, + "comics": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } }, - "SpeechBalloon": "speech_balloon", - "speech_balloon": { - "class_name": "SpeechBalloon", - "table_name": "speech_balloons", - "extend": "classname", - "associations": { - "belongs_to": { - "panel": { - "id_column": "panel_id" - } - }, - "has_many": {}, - "has_one": { - "balloon": { - "foreign_key": "speech_balloon_id", - "list_method": "list_by_speech_balloon" - }, - "speech": { - "foreign_key": "speech_balloon_id", - "list_method": "list_by_speech_balloon" - } - } - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "panel_id": { - "type": "number", - "rules": { - "number": true - } - }, - "speech_balloon_template_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "classname": { - "type": "text", - "rules": { - "required": true - } - }, - "z": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "settings": { - "type": "text", - "rules": {} - }, - "caption": { - "type": "text", - "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "list", - "caption": { - "type": "method", - "name": "plain_scenario" - } - } + "by_author": { + "type": "list" }, - "Balloon": "balloon", - "balloon": { - "class_name": "Balloon", - "table_name": "balloons", - "associations": { - "belongs_to": { - "speech_balloon": { - "id_column": "speech_balloon_id" - }, - "system_picture": { - "id_column": "system_picture_id" - } - }, - "has_many": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "speech_balloon_id": { - "type": "number", - "rules": { - "number": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "x": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "y": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "r": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "settings": { - "type": "text", - "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_author": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "stories": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_comic": { + "type": "count" + }, + "by_sheet": { + "type": "count" + }, + "by_author": { + "type": "list" + }, + "play": { + "type": "list", + "args": { + "list_name": "play" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_author": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "story_sheets": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_story": { + "type": "list" + }, + "by_sheet": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_story": { + "type": "count" + }, + "count_by_sheet": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "sheets": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_story": { + "type": "list" + }, + "by_panel": { + "type": "list" + }, + "by_author": { + "type": "list" + }, + "play": { + "type": "list", + "args": { + "list_name": "play" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_story": { + "type": "count" + }, + "count_by_panel": { + "type": "count" + }, + "count_by_author": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "sheet_panels": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_sheet": { + "type": "list" + }, + "by_panel": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_sheet": { + "type": "count" + }, + "count_by_panel": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "panels": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_scroll": { + "type": "list" + }, + "by_sheet": { + "type": "list" + }, + "by_author": { + "type": "list" + }, + "by_speech_balloon_template": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_scroll": { + "type": "count" + }, + "count_by_sheet": { + "type": "count" + }, + "count_by_author": { + "type": "count" + }, + "count_by_speech_balloon_template": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "panel_pictures": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_panel": { + "type": "list" + }, + "by_author": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_panel": { + "type": "count" + }, + "count_by_author": { + "type": "count" + } + } + }, + "speech_balloons": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_panel": { + "type": "list" + }, + "by_author": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_panel": { + "type": "count" + }, + "count_by_author": { + "type": "count" + } + } + }, + "speeches": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_writing_format": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_writing_format": { + "type": "count" + } + } + }, + "balloons": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + } + } + }, + "ground_pictures": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_panel": { + "type": "list" + }, + "by_author": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_panel": { + "type": "count" + }, + "count_by_author": { + "type": "count" + } + } + }, + "ground_colors": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_panel": { + "type": "list" + }, + "by_author": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_panel": { + "type": "count" + }, + "count_by_author": { + "type": "count" + } + } + }, + "original_pictures": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "private" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + } + } + }, + "pictures": { + "actions": { + "show": { + "type": "show" + } + } + }, + "resource_pictures": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_original_picture": { + "type": "list" + }, + "by_license": { + "type": "list" + }, + "by_artist": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_license": { + "type": "count" + }, + "count_by_artist": { + "type": "count" + } + } + }, + "speech_balloon_templates": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + } + } + }, + "writing_formats": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_system_picture": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_system_picture": { + "type": "count" + } + } + }, + "license_groups": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + } + } + }, + "licenses": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_license_group": { + "type": "list" + }, + "by_system_picture": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_license_group": { + "type": "count" + }, + "count_by_system_picture": { + "type": "count" + } + } + }, + "authors": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "scrolls": { + "type": "list", + "args": { + "list_name": "scrolls" + } + }, + "comics": { + "type": "list", + "args": { + "list_name": "comics" + } + }, + "stories": { + "type": "list", + "args": { + "list_name": "stories" + } + }, + "sheets": { + "type": "list", + "args": { + "list_name": "sheets" + } + }, + "panels": { + "type": "list", + "args": { + "list_name": "panels" + } + }, + "panel_pictures": { + "type": "list", + "args": { + "list_name": "panel_pictures" + } + }, + "speech_balloons": { + "type": "list", + "args": { + "list_name": "speech_balloons" + } + }, + "ground_pictures": { + "type": "list", + "args": { + "list_name": "ground_pictures" + } + }, + "ground_colors": { + "type": "list", + "args": { + "list_name": "ground_colors" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "artists": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "resource_pictures": { + "type": "list", + "args": { + "list_name": "resource_pictures" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "system_pictures": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + } + } + }, + "home": { + "actions": { + "scrolls": { + "type": "list", + "args": { + "item_name": "scroll", + "list_name": "private" + } + }, + "scroll_panels": { + "type": "list", + "args": { + "item_name": "scroll_panel", + "list_name": "private" + } + }, + "comics": { + "type": "list", + "args": { + "item_name": "comic", + "list_name": "private" + } + }, + "stories": { + "type": "list", + "args": { + "item_name": "story", + "list_name": "private" + } + }, + "story_sheets": { + "type": "list", + "args": { + "item_name": "story_sheet", + "list_name": "private" + } + }, + "sheets": { + "type": "list", + "args": { + "item_name": "sheet", + "list_name": "private" + } + }, + "sheet_panels": { + "type": "list", + "args": { + "item_name": "sheet_panel", + "list_name": "private" + } + }, + "panels": { + "type": "list", + "args": { + "item_name": "panel", + "list_name": "private" + } + }, + "panel_pictures": { + "type": "list", + "args": { + "item_name": "panel_picture", + "list_name": "private" + } + }, + "speech_balloons": { + "type": "list", + "args": { + "item_name": "speech_balloon", + "list_name": "private" + } + }, + "speeches": { + "type": "list", + "args": { + "item_name": "speech", + "list_name": "private" + } + }, + "balloons": { + "type": "list", + "args": { + "item_name": "balloon", + "list_name": "private" + } + }, + "ground_pictures": { + "type": "list", + "args": { + "item_name": "ground_picture", + "list_name": "private" + } + }, + "ground_colors": { + "type": "list", + "args": { + "item_name": "ground_color", + "list_name": "private" + } + }, + "original_pictures": { + "type": "list", + "args": { + "item_name": "original_picture", + "list_name": "private" + } + }, + "resource_pictures": { + "type": "list", + "args": { + "item_name": "resource_picture", + "list_name": "private" + } + } + } + } + }, + "models": { + "scroll": { + "associations": { + "belongs_to": { + "author": {} + }, + "has_many": { + "scroll_panels": {}, + "panels": { + "through": "scroll_panel" + } + } + }, + "attributes": { + "title": { + "type": "text", + "rules": { + "required": true + } + }, + "description": { + "type": "text", + "rules": {} + }, + "visible": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "scroll_visible_items" } + } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_author": { + "type": "filter", + "args": {} + }, + "by_panel": { + "type": "through_filter", + "args": { + "through": "scroll_panels" + } + }, + "play": { + "type": "play", + "args": { + "filter_item_name": "scroll", + "filter_model_name": "scroll_panel", + "filter_key": "scroll_id" + } + } + } + }, + "scroll_panel": { + "associations": { + "belongs_to": { + "panel": {}, + "scroll": {} + }, + "has_many": {} + }, + "attributes": { + "scroll_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "panel_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "tree": { + "owner": "scroll" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_scroll": { + "type": "filter" + }, + "by_panel": { + "type": "filter" + } + } + }, + "comic": { + "associations": { + "belongs_to": { + "author": {} + }, + "has_many": { + "stories": {} + } + }, + "attributes": { + "title": { + "type": "text", + "rules": { + "required": true + } + }, + "description": { + "type": "text", + "rules": {} + }, + "visible": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "comic_visible_items" + } + } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "tree": { + "comic_owner": "author" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_author": { + "type": "filter" + } + } + }, + "story": { + "associations": { + "belongs_to": { + "comic": {} + }, + "has_many": { + "story_sheets": {}, + "sheets": { + "through": "story_sheets" + } + } + }, + "attributes": { + "comic_id": { + "type": "number", + "rules": { + "number": true + } + }, + "title": { + "type": "text", + "rules": {} + }, + "description": { + "type": "text", + "rules": {} + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + }, + "visible": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "story_visible_items" + } + } + } + }, + "tree": { + "owner": "comic", + "comic_owner": "comic" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_comic": { + "type": "filter" + }, + "by_sheet": { + "type": "through_filter", + "args": { + "through": "story_sheets" + } + }, + "by_author": { + "type": "foreign_filter" + }, + "play": { + "type": "play" + } + } + }, + "story_sheet": { + "associations": { + "belongs_to": { + "story": {}, + "sheet": {} + }, + "has_many": {} + }, + "attributes": { + "story_id": { + "type": "number", + "rules": { + "number": true + } + }, + "sheet_id": { + "type": "number", + "rules": { + "number": true + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "tree": { + "owner": "story" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_story": { + "type": "filter" + }, + "by_sheet": { + "type": "filter" + } + } + }, + "sheet": { + "associations": { + "belongs_to": { + "author": {} + }, + "has_many": { + "story_sheets": {}, + "stories": { + "through": "story_sheets" + }, + "sheet_panels": {}, + "panels": { + "through": "sheet_panels" + } + } + }, + "attributes": { + "caption": { + "type": "text", + "rules": {} + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "visible": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "sheet_visible_items" + } + } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_story": { + "type": "through_filter", + "args": { + "through": "story_sheets" + } + }, + "by_panel": { + "type": "through_filter", + "args": { + "through": "sheet_panels" + } + }, + "by_author": { + "type": "filter" + }, + "play": { + "type": "play" + } + } + }, + "sheet_panel": { + "associations": { + "belongs_to": { + "sheet": {}, + "panel": {} + }, + "has_many": {} + }, + "attributes": { + "sheet_id": { + "type": "number", + "rules": { + "number": true + } + }, + "panel_id": { + "type": "number", + "rules": { + "number": true + } + }, + "x": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "y": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "z": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + }, + "author_id": { + "type": "number", + "rules": { + "number": true + } + } + }, + "tree": { + "owner": "sheet" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_sheet": { + "type": "filter" + }, + "by_panel": { + "type": "filter" + } + } + }, + "panel": { + "associations": { + "belongs_to": { + "author": {} + }, + "has_many": { + "scroll_panels": {}, + "scrolls": { + "through": "scroll_panels" + }, + "sheet_panels": {}, + "sheets": { + "through": "sheet_panels" + }, + "panel_pictures": {}, + "speech_balloons": {}, + "ground_pictures": {}, + "ground_colors": {} + } + }, + "attributes": { + "width": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "border": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + }, + "caption": { + "type": "text", + "rules": {} + }, + "publish": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "panel_visible_items" + } + } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "tree": { + "panel_owner": "author" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_scroll": { + "type": "through_filter", + "args": { + "through": "scroll_panels" + } + }, + "by_sheet": { + "type": "through_filter", + "args": { + "through": "sheet_panels" + } + }, + "by_author": { + "type": "filter" + }, + "by_speech_balloon_template": { + "type": "through_filter" + } + } + }, + "panel_picture": { + "associations": { + "belongs_to": { + "panel": {} + }, + "has_many": {} + }, + "attributes": { + "panel_id": { + "type": "number", + "rules": { + "number": true + } + }, + "picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "caption": { + "type": "text", + "rules": {} + }, + "x": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "y": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "link": { + "type": "text", + "rules": { + "url": true + } + }, + "z": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + } + }, + "tree": { + "owner": "panel", + "panel_owner": "panel", + "panel": "panel" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_panel": { + "type": "filter" + }, + "by_author": { + "type": "foreign_filter" + } + } + }, + "speech_balloon": { + "extend_column_name": "classname", + "associations": { + "belongs_to": { + "panel": {} + }, + "has_many": {}, + "has_one": { + "balloon": {}, + "speech": {} + } + }, + "attributes": { + "panel_id": { + "type": "number", + "rules": { + "number": true + } + }, + "speech_balloon_template_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "classname": { + "type": "text", + "rules": { + "required": true + } + }, + "z": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + }, + "settings": { + "type": "text", + "rules": {} + }, + "caption": { + "type": "text", + "rules": {} + } + }, + "tree": { + "owner": "panel", + "panel_owner": "panel", + "panel": "panel" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_panel": { + "type": "filter" + }, + "by_speech_balloon_template": { + "type": "filter" + }, + "by_author": { + "type": "foreign_filter" + } + } + }, + "balloon": { + "associations": { + "belongs_to": { + "speech_balloon": {}, + "system_picture": {} + }, + "has_many": {} + }, + "attributes": { + "speech_balloon_id": { + "type": "number", + "rules": { + "number": true + } + }, + "system_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "x": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "y": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "r": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "settings": { + "type": "text", + "rules": {} + } + }, + "tree": { + "owner": "speech_balloon", + "panel_owner": "speech_balloon", + "panel": "speech_balloon" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_panel": { + "type": "filter" + }, + "by_speech_balloon": { + "type": "filter" + }, + "by_author": { + "type": "foreign_filter" + } + } + }, + "speech": { + "associations": { + "belongs_to": { + "speech_balloon": {}, + "writing_format": {} + }, + "has_many": {} + }, + "attributes": { + "speech_balloon_id": { + "type": "number", + "rules": { + "number": true + } + }, + "writing_format_id": { + "type": "number", + "source": { + "type": "model" + }, + "rules": { + "required": true, + "number": true + } + }, + "content": { + "type": "text", + "rules": {} + }, + "font_size": { + "type": "float", + "rules": { + "required": true, + "number": true, + "min": 0 + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "speech_font_size_items" + } + } + }, + "text_align": { + "type": "number", + "rules": { + "required": true, + "number": true, + "range": [ + 0, + 3 + ] + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "speech_text_align_items" + } + } + }, + "fore_color": { + "type": "number", + "rules": { + "required": true, + "number": true, + "range": [ + 0, + 16777215 + ] + } + }, + "x": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "y": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "quotes": { + "type": "text", + "rules": {} + }, + "settings": { + "type": "text", + "rules": {} + } + }, + "tree": { + "owner": "speech_balloon", + "panel_owner": "speech_balloon", + "panel": "speech_balloon" + }, + "lists": { + "public": { + "type": "public" + }, + "by_speech_balloon": { + "type": "filter" + }, + "by_writing_format": { + "type": "filter" + } + } + }, + "ground_picture": { + "associations": { + "belongs_to": { + "panel": {} + }, + "has_many": {} + }, + "attributes": { + "panel_id": { + "type": "number", + "rules": { + "number": true + } + }, + "picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "caption": { + "type": "text", + "rules": {} + }, + "repeat": { + "type": "number", + "rules": { + "required": true, + "number": true, + "range": [ + 0, + 3 + ] + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "ground_picture_repeat_items" + } + } + }, + "x": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "y": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "z": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + } + }, + "tree": { + "owner": "panel", + "panel_owner": "panel", + "panel": "panel" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_panel": { + "type": "filter" + }, + "by_author": { + "type": "foreign_filter" + } + } + }, + "ground_color": { + "associations": { + "belongs_to": { + "panel": {} + }, + "has_many": {} + }, + "attributes": { + "panel_id": { + "type": "number", + "rules": { + "number": true + } + }, + "caption": { + "type": "text", + "rules": {} + }, + "code": { + "type": "number", + "rules": { + "required": true, + "number": true, + "range": [ + 0, + 16777215 + ] + } + }, + "orientation": { + "type": "number", + "rules": { + "required": true, + "number": true, + "range": [ + 0, + 1 + ] + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "ground_color_orientation_items" + } + } + }, + "xy": { + "type": "number", + "rules": { + "number": true + } + }, + "wh": { + "type": "number", + "rules": { + "number": true + } + }, + "z": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 1 + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + } + }, + "tree": { + "owner": "panel", + "panel_owner": "panel", + "panel": "panel" + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_panel": { + "type": "filter" + }, + "by_author": { + "type": "foreign_filter" + } + } + }, + "original_picture": { + "associations": { + "belongs_to": { + "artist": {} + }, + "has_many": { + "pictures": {} + }, + "has_one": { + "resource_picture": {} + } + }, + "attributes": { + "ext": { + "type": "text", + "rules": { + "required": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "filesize": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "artist_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "md5": { + "type": "text", + "rules": { + "required": true + } + }, + "uploaded_at": { + "type": "datetime" + }, + "published_at": { + "type": "datetime" + }, + "stopped_at": { + "type": "datetime" + } + }, + "lists": { + "private": { + "type": "private" + } + } + }, + "picture": { + "associations": { + "belongs_to": { + "license": {}, + "artist": {} + }, + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "revision": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "ext": { + "type": "text", + "rules": { + "required": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "filesize": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "artist_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "license_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "md5": { + "type": "text", + "rules": { + "required": true + } + }, + "artist_name": { + "type": "text", + "rules": { + "required": true + } + }, + "credit": { + "type": "text", + "rules": {} + }, + "settings": { + "type": "text", + "rules": {} + }, + "classname": { + "type": "text", + "rules": { + "required": true + } + } + } + }, + "resource_picture": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license": {}, + "artist": {} + }, + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "revision": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "ext": { + "type": "text", + "rules": { + "required": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "filesize": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "artist_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "license_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "md5": { + "type": "text", + "rules": { + "required": true + } + }, + "artist_name": { + "type": "text", + "rules": { + "required": true + } + }, + "credit": { + "type": "text", + "rules": {} + }, + "settings": { + "type": "text", + "rules": {} + }, + "picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "classname": { + "type": "text", + "rules": { + "required": true + } + } + }, + "lists": { + "public": { + "type": "public" + }, + "private": { + "type": "private" + }, + "by_original_picture": { + "type": "filter" + }, + "by_license": { + "type": "filter" + }, + "by_artist": { + "type": "filter" + } + } + }, + "speech_balloon_template": { + "extend_column_name": "classname", + "associations": { + "belongs_to": { + "system_picture": {} + }, + "has_many": { + "speech_balloons": {}, + "panels": { + "through": "speech_balloons" + } + }, + "has_one": {} + }, + "attributes": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "classname": { + "type": "text", + "rules": { + "required": true + } + }, + "caption": { + "type": "text", + "rules": { + "required": true + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + }, + "system_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "settings": { + "type": "text", + "rules": { + "required": true + } + } + }, + "lists": { + "public": { + "type": "public" + }, + "select_items": { + "type": "system_resource", + "args": { + "select_item_name": "panel_visible_items" + } + } + } + }, + "writing_format": { + "extend_column_name": "classname", + "associations": { + "belongs_to": { + "system_picture": {} + }, + "has_many": { + "speeches": {} + }, + "has_one": {} + }, + "attributes": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "classname": { + "type": "text", + "rules": { + "required": true + } + }, + "caption": { + "type": "text", + "rules": { + "required": true + } + }, + "system_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "settings": { + "type": "text", + "rules": { + "required": true + } + } + }, + "lists": { + "public": { + "type": "public" + }, + "select_items": { + "type": "system_resource" + }, + "by_system_picture": { + "type": "filter" + } + } + }, + "license_group": { + "extend_column_name": "classname", + "associations": { + "belongs_to": {}, + "has_many": { + "licenses": {} + }, + "has_one": {} + }, + "attributes": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "classname": { + "type": "text", + "rules": { + "required": true + } + }, + "caption": { + "type": "text", + "rules": { + "required": true + } + }, + "url": { + "type": "text", + "rules": { + "required": true + } + } + }, + "lists": { + "public": { + "type": "public" + }, + "select_items": { + "type": "system_resource" + } + } + }, + "license": { + "associations": { + "belongs_to": { + "license_group": {}, + "system_picture": {} }, - "Speech": "speech", - "speech": { - "class_name": "Speech", - "table_name": "speeches", - "associations": { - "belongs_to": { - "speech_balloon": { - "id_column": "speech_balloon_id" - }, - "writing_format": { - "id_column": "writing_format_id" - } - }, - "has_many": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "speech_balloon_id": { - "type": "number", - "rules": { - "number": true - } - }, - "writing_format_id": { - "type": "number", - "source": { - "type": "model", - "model": "writing_format", - "method": "enable_list", - "caption": "caption" - }, - "rules": { - "required": true, - "number": true - } - }, - "content": { - "type": "text", - "rules": {} - }, - "font_size": { - "type": "float", - "rules": { - "required": true, - "number": true, - "min": 0 - }, - "source": { - "type": "magic_number", - "key": "speech_font_size_items" - } - }, - "text_align": { - "type": "number", - "rules": { - "required": true, - "number": true, - "range": [ - 0, - 3 - ] - }, - "source": { - "type": "magic_number", - "key": "speech_text_align_items" - } - }, - "fore_color": { - "type": "number", - "rules": { - "required": true, - "number": true, - "range": [ - 0, - 16777215 - ] - } - }, - "x": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "y": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "quotes": { - "type": "text", - "rules": {} - }, - "settings": { - "type": "text", - "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - } + "has_many": { + "resource_pictures": {} }, - "GroundPicture": "ground_picture", - "ground_picture": { - "class_name": "GroundPicture", - "table_name": "ground_pictures", - "associations": { - "belongs_to": { - "panel": { - "id_column": "panel_id" - } - }, - "has_many": {} + "has_one": {} + }, + "attributes": { + "license_group_id": { + "type": "number", + "rules": { + "number": true + } + }, + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "caption": { + "type": "text", + "rules": { + "required": true + } + }, + "system_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "url": { + "type": "text", + "rules": { + "required": true + } + }, + "settings": { + "type": "text", + "rules": {} + }, + "credit_pictures": { + "type": "text", + "rules": {} + } + }, + "lists": { + "public": { + "type": "public" + }, + "by_license_group": { + "type": "filter" + }, + "by_system_picture": { + "type": "filter" + } + } + }, + "author": { + "associations": { + "belongs_to": {}, + "has_many": { + "scrolls": {}, + "comics": {}, + "stories": {}, + "sheets": {}, + "panels": {} + }, + "has_one": {} + }, + "attributes": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "user_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "lists": { + "public": { + "type": "public" + } + } + }, + "artist": { + "associations": { + "belongs_to": {}, + "has_many": { + "resource_pictures": {} + }, + "has_one": {} + }, + "attributes": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + }, + "lists": { + "public": { + "type": "public" + } + } + }, + "system_picture": { + "associations": { + "belongs_to": {}, + "has_many": { + "balloons": {}, + "speech_balloon_templates": {}, + "licenses": {} + }, + "has_one": {} + }, + "attributes": { + "ext": { + "type": "text", + "rules": { + "required": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "filesize": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "md5": { + "type": "text", + "rules": { + "required": true + } + } + }, + "lists": { + "public": { + "type": "public" + } + } + } + }, + "system_resources": { + "engine_resources": { + "license_groups": { + "resource_items": { + "PettanrCreativeCommonsV30Licenses": "pettanr_creative_commons_v30_licenses", + "PettanrPettanCommonsV01Licenses": "pettanr_pettan_commons_v01_licenses", + "PettanrPettanProtectedV01Licenses": "pettanr_pettan_protected_v01_licenses", + "PettanrPettanPublicV01Licenses": "pettanr_pettan_public_v01_licenses", + "PettanrPublicDomainV01Licenses": "pettanr_public_domain_v01_licenses", + "PettanrUnknownV01Licenses": "pettanr_unknown_v01_licenses" + } + }, + "speech_balloon_templates": { + "resource_items": { + "CircleSpeechBalloon": "circle_speech_balloon", + "PlainSpeechBalloon": "plain_speech_balloon", + "SquareSpeechBalloon": "square_speech_balloon" + } + }, + "speech_balloons": { + "resource_items": { + "CircleSpeechBalloon": "circle_speech_balloon", + "PlainSpeechBalloon": "plain_speech_balloon", + "SquareSpeechBalloon": "square_speech_balloon" + } + }, + "writing_formats": { + "has_route": 0, + "resource_items": { + "SimpleFormat": "pettanr_simple_format" + } + } + }, + "elements": { + "PanelPicture": "panel_pictures", + "SpeechBalloon": "speech_balloons", + "GroundPicture": "ground_pictures", + "GroundColor": "ground_colors" + }, + "select_items": { + "provider_status_status_items": [ + [ + "select_items.provider_status.status.waiting", + 0 + ], + [ + "select_items.provider_status.status.receiving", + 1 + ] + ], + "demander_status_status_items": [ + [ + "select_items.demander_status.status.waiting", + 0 + ], + [ + "select_items.demander_status.status.rejected", + 1 + ], + [ + "select_items.demander_status.status.requesting", + 2 + ], + [ + "select_items.demander_status.status.approved", + 3 + ] + ], + "scroll_visible_items": [ + [ + "select_items.scroll.visible.private", + 0 + ], + [ + "select_items.scroll.visible.public", + 1 + ] + ], + "comic_visible_items": [ + [ + "select_items.comic.visible.private", + 0 + ], + [ + "select_items.comic.visible.public", + 1 + ] + ], + "story_visible_items": [ + [ + "select_items.story.visible.private", + 0 + ], + [ + "select_items.story.visible.public", + 1 + ] + ], + "sheet_visible_items": [ + [ + "select_items.sheet.visible.private", + 0 + ], + [ + "select_items.sheet.visible.public", + 1 + ] + ], + "panel_visible_items": [ + [ + "select_items.panel.visible.private", + 0 + ], + [ + "select_items.panel.visible.public", + 1 + ] + ], + "ground_picture_repeat_items": [ + [ + "select_items.ground_pictures.repeat.repeat", + 0 + ], + [ + "select_items.ground_pictures.repeat.repeat-x", + 1 + ], + [ + "select_items.ground_pictures.repeat.repeat-y", + 2 + ], + [ + "select_items.ground_pictures.repeat.no-repeat", + 3 + ] + ], + "ground_color_orientation_items": [ + [ + "select_items.ground_color.orientation.horizontal", + 0 + ], + [ + "select_items.ground_color.orientation.vertical", + 1 + ] + ], + "speech_font_size_items": [ + [ + "select_items.speeches.font_size.ultra_small", + 0.2 + ], + [ + "select_items.speeches.font_size.very_small", + 0.4 + ], + [ + "select_items.speeches.font_size.small", + 0.6 + ], + [ + "select_items.speeches.font_size.semi_small", + 0.8 + ], + [ + "select_items.speeches.font_size.normal", + 1 + ], + [ + "select_items.speeches.font_size.semi_large", + 1.5 + ], + [ + "select_items.speeches.font_size.large", + 2 + ], + [ + "select_items.speeches.font_size.very_large", + 3.5 + ], + [ + "select_items.speeches.font_size.ultra_large", + 5 + ] + ], + "speech_text_align_items": [ + [ + "select_items.speeches.text_align.none", + 0 + ], + [ + "select_items.speeches.text_align.left", + 1 + ], + [ + "select_items.speeches.text_align.right", + 2 + ], + [ + "select_items.speeches.text_align.center", + 3 + ] + ] + } + }, + "magic_numbers": { + "run_mode": 1, + "thumbnail_width": 64, + "thumbnail_height": 64, + "profile": { + "users": { + "caption": "ペンギン王国", + "url": "http://localhost:3001/", + "description": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。" + }, + "admins": { + "caption": "site name for admin", + "url": "http://your.site.url/admins/", + "description": "admin register" + }, + "demand_users": { + "caption": "provider name", + "url": "http://your.site.url/demanders/", + "description": "provider description" + } + }, + "provider_sources": [ + "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json" + ] + }, + "locals": { + "profilers": { + "scroll": { + "column_names": [ + "title", + "description", + "visible", + "author_id" + ], + "associations": { + "belongs_to": [ + "author" + ], + "has_many": [ + "scroll_panels.by_scroll", + "panels.by_scroll" + ] + } + }, + "scroll_panel": { + "column_names": [ + "scroll_id", + "panel_id", + "t", + "author_id" + ], + "associations": { + "belongs_to": [ + "scroll", + "panel" + ] + } + }, + "comic": { + "column_names": [ + "title", + "description", + "visible", + "author_id" + ], + "associations": { + "belongs_to": [ + "author" + ], + "has_many": [ + "stories.by_comic" + ] + } + }, + "story": { + "column_names": [ + "comic_id", + "title", + "description", + "t", + "visible" + ], + "associations": { + "belongs_to": [ + "comic" + ], + "has_many": [ + "story_sheets.by_story", + "sheets.by_story" + ] + } + }, + "story_sheet": { + "column_names": [ + "story_id", + "sheet_id", + "t", + "author_id" + ], + "associations": { + "belongs_to": [ + "story", + "sheet" + ] + } + }, + "sheet": { + "column_names": [ + "caption", + "width", + "height", + "visible", + "author_id" + ], + "associations": { + "belongs_to": [ + "author" + ], + "has_many": [ + "story_sheets.by_sheet", + "stories.by_sheet", + "sheet_panels.by_sheet", + "panels.by_sheet" + ] + } + }, + "sheet_panel": { + "column_names": [ + "sheet_id", + "panel_id", + "x", + "y", + "z", + "t", + "author_id" + ], + "associations": { + "belongs_to": [ + "sheet", + "panel" + ] + } + }, + "panel": { + "column_names": [ + "width", + "height", + "border", + "caption", + "publish", + "author_id" + ], + "associations": { + "belongs_to": [ + "author" + ], + "has_many": [ + "scroll_panels.by_panel", + "scrolls.by_panel", + "sheet_panels.by_panel", + "sheets.by_panel", + "panel_pictures.by_panel", + "speech_balloons.by_panel", + "ground_pictures.by_panel", + "ground_colors.by_panel" + ] + } + }, + "panel_picture": { + "column_names": [ + "panel_id", + "picture_id", + "caption", + "x", + "y", + "width", + "height", + "link", + "z", + "t" + ], + "associations": { + "belongs_to": [ + "panel" + ] + } + }, + "speech_balloon": { + "column_names": [ + "panel_id", + "speech_balloon_template_id", + "classname", + "z", + "t", + "settings", + "caption" + ], + "associations": { + "belongs_to": [ + "panel" + ], + "has_one": [ + "balloon.by_speech_balloon", + "speech.by_speech_balloon" + ] + } + }, + "speech": { + "column_names": [ + "speech_balloon_id", + "writing_format_id", + "content", + "font_size", + "text_align", + "fore_color", + "x", + "y", + "width", + "height", + "quotes", + "settings" + ], + "associations": { + "belongs_to": [ + "speech_balloon", + "writing_format" + ] + } + }, + "balloon": { + "column_names": [ + "speech_balloon_id", + "system_picture_id", + "x", + "y", + "width", + "height", + "r", + "settings" + ], + "associations": { + "belongs_to": [ + "speech_balloon", + "system_picture" + ] + } + }, + "ground_picture": { + "column_names": [ + "panel_id", + "picture_id", + "caption", + "repeat", + "x", + "y", + "z", + "t" + ], + "associations": { + "belongs_to": [ + "panel" + ] + } + }, + "ground_color": { + "column_names": [ + "panel_id", + "caption", + "code", + "orientation", + "xy", + "wh", + "z", + "t" + ], + "associations": { + "belongs_to": [ + "panel" + ] + } + }, + "original_picture": { + "column_names": [ + "ext", + "width", + "height", + "filesize", + "artist_id", + "md5", + "uploaded_at", + "published_at", + "stopped_at" + ], + "associations": { + "belongs_to": [ + "artist" + ], + "has_one": [ + "resource_picture.by_original_picture" + ] + } + }, + "picture": { + "column_names": [ + "original_picture_id", + "revision", + "ext", + "width", + "height", + "filesize", + "artist_id", + "license_id", + "md5", + "artist_name", + "credit", + "settings", + "classname" + ], + "associations": { + "belongs_to": [ + "license", + "artist" + ] + } + }, + "resource_picture": { + "column_names": [ + "original_picture_id", + "revision", + "ext", + "width", + "height", + "filesize", + "artist_id", + "license_id", + "md5", + "artist_name", + "credit", + "settings", + "picture_id", + "classname" + ], + "associations": { + "belongs_to": [ + "original_picture", + "license", + "artist" + ] + } + }, + "speech_balloon_template": { + "column_names": [ + "name", + "classname", + "caption", + "t", + "system_picture_id", + "settings" + ], + "associations": { + "belongs_to": [ + "system_picture" + ] + } + }, + "writing_format": { + "column_names": [ + "name", + "classname", + "caption", + "system_picture_id", + "settings" + ], + "associations": { + "belongs_to": [ + "system_picture" + ], + "has_many": [ + "speeches.by_writing_format" + ] + } + }, + "license_group": { + "column_names": [ + "name", + "classname", + "caption", + "url" + ], + "associations": { + "has_many": [ + "licenses.by_license_group" + ] + } + }, + "license": { + "column_names": [ + "license_group_id", + "name", + "caption", + "system_picture_id", + "url", + "settings", + "credit_pictures" + ], + "associations": { + "belongs_to": [ + "license_group", + "system_picture" + ], + "has_many": [ + "resource_pictures.by_license" + ] + } + }, + "author": { + "column_names": [ + "name", + "user_id" + ], + "associations": { + "has_many": [ + "scrolls.by_author", + "comics.by_author", + "stories.by_author", + "sheets.by_author", + "panels.by_author", + "panel_pictures.by_author", + "speech_balloons.by_author", + "ground_pictures.by_author", + "ground_colors.by_author" + ] + } + }, + "artist": { + "column_names": [ + "name", + "author_id" + ], + "associations": { + "has_many": [ + "resource_pictures.by_artist" + ] + } + }, + "system_picture": { + "column_names": [ + "ext", + "width", + "height", + "filesize", + "md5" + ], + "associations": { + "has_many": [ + "licenses.by_system_picture" + ] + } + } + }, + "filers": { + "scroll": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "face": { + "type": "column", + "args": { + "column_name": "title" + } }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "panel_id": { - "type": "number", - "rules": { - "number": true - } - }, - "picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "caption": { - "type": "text", - "rules": {} - }, - "repeat": { - "type": "number", - "rules": { - "required": true, - "number": true, - "range": [ - 0, - 3 - ] - }, - "source": { - "type": "magic_number", - "key": "ground_picture_repeat_items" - } - }, - "x": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "y": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "z": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "link": { + "type": "action", + "args": { + "action_name": "play" + } } + } }, - "GroundColor": "ground_color", - "ground_color": { - "class_name": "GroundColor", - "table_name": "ground_colors", - "associations": { - "belongs_to": { - "panel": { - "id_column": "panel_id" - } - }, - "has_many": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "panel_id": { - "type": "number", - "rules": { - "number": true - } - }, - "caption": { - "type": "text", - "rules": {} - }, - "code": { - "type": "number", - "rules": { - "required": true, - "number": true, - "range": [ - 0, - 16777215 - ] - } - }, - "orientation": { - "type": "number", - "rules": { - "required": true, - "number": true, - "range": [ - 0, - 1 - ] - }, - "source": { - "type": "magic_number", - "key": "ground_color_orientation_items" - } - }, - "xy": { - "type": "number", - "rules": { - "number": true - } - }, - "wh": { - "type": "number", - "rules": { - "number": true - } - }, - "z": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 1 - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "summary": {}, + "edit": {} + }, + "scroll_panel": { + "symbol": { + "type": "default", + "args": { + "link": { + "type": "none" } + } }, - "OriginalPicture": "original_picture", - "original_picture": { - "class_name": "OriginalPicture", - "table_name": "original_pictures", - "associations": { - "belongs_to": { - "artist": { - "id_column": "artist_id" - } - }, - "has_many": { - "pictures": { - "foreign_key": "original_picture_id", - "list_method": "list_by_original_picture" - } - }, - "has_one": { - "resource_picture": { - "foreign_key": "original_picture_id", - "list_method": "list_by_original_picture" - } - } - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "ext": { - "type": "text", - "rules": { - "required": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "filesize": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "artist_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "md5": { - "type": "text", - "rules": { - "required": true - } - }, - "uploaded_at": { - "type": "datetime" - }, - "published_at": { - "type": "datetime" - }, - "stopped_at": { - "type": "datetime" - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "caption": { + "type": "none" + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "comic": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "face": { + "type": "column", + "args": { + "column_name": "title" + } } + } }, - "Picture": "picture", - "picture": { - "class_name": "Picture", - "table_name": "pictures", - "associations": { - "belongs_to": { - "license": { - "id_column": "license_id" - }, - "artist": { - "id_column": "artist_id" - } - }, - "has_many": {}, - "has_one": {} + "summary": {}, + "edit": {} + }, + "story": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "face": { + "type": "method", + "args": { + "method_name": "title_with_t" + } }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "original_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "revision": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "ext": { - "type": "text", - "rules": { - "required": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "filesize": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "artist_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "md5": { - "type": "text", - "rules": { - "required": true - } - }, - "artist_name": { - "type": "text", - "rules": { - "required": true - } - }, - "credit": { - "type": "text", - "rules": {} - }, - "settings": { - "type": "text", - "rules": {} - }, - "classname": { - "type": "text", - "rules": { - "required": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "link": { + "type": "action", + "args": { + "action_name": "play" + } + } + } + }, + "summary": {}, + "edit": {} + }, + "story_sheet": { + "symbol": { + "type": "default", + "args": { + "link": { + "type": "none" } + } }, - "ResourcePicture": "resource_picture", - "resource_picture": { - "class_name": "ResourcePicture", - "table_name": "resource_pictures", - "associations": { - "belongs_to": { - "license": { - "id_column": "license_id" - }, - "artist": { - "id_column": "artist_id" - } - }, - "has_many": {}, - "has_one": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "original_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "revision": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "ext": { - "type": "text", - "rules": { - "required": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "filesize": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "artist_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "md5": { - "type": "text", - "rules": { - "required": true - } - }, - "artist_name": { - "type": "text", - "rules": { - "required": true - } - }, - "credit": { - "type": "text", - "rules": {} - }, - "settings": { - "type": "text", - "rules": {} - }, - "picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "classname": { - "type": "text", - "rules": { - "required": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "caption": { + "type": "none" + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "sheet": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "face": {}, + "link": { + "type": "action", + "args": { + "action_name": "play" + } } + } }, - "SpeechBalloonTemplate": "speech_balloon_template", - "speech_balloon_template": { - "class_name": "SpeechBalloonTemplate", - "table_name": "speech_balloon_templates", - "associations": { - "belongs_to": { - "system_picture": { - "id_column": "system_picture_id" - } - }, - "has_many": { - "speech_balloons": { - "foreign_key": "speech_balloon_template_id", - "list_method": "list_by_speech_balloon_template" - }, - "panels": { - "through": "speech_balloons", - "foreign_key": "speech_balloon_template_id", - "list_method": "list_by_speech_balloon_template" - } - }, - "has_one": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "name": { - "type": "text", - "rules": { - "required": true - } - }, - "classname": { - "type": "text", - "rules": { - "required": true - } - }, - "caption": { - "type": "text", - "rules": { - "required": true - } - }, - "t": { - "type": "number", - "rules": { - "required": true, - "number": true, - "min": 0 - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "settings": { - "type": "text", - "rules": { - "required": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "enable_list", - "caption": { - "type": "column", - "name": "caption" - } + "summary": {}, + "edit": {} + }, + "sheet_panel": { + "symbol": { + "type": "default", + "args": { + "link": { + "type": "none" } + } }, - "WritingFormat": "writing_format", - "writing_format": { - "class_name": "WritingFormat", - "table_name": "writing_formats", - "associations": { - "belongs_to": { - "system_picture": { - "id_column": "system_picture_id" - } - }, - "has_many": { - "speeches": { - "foreign_key": "writing_format_id", - "list_method": "list_by_writing_format" - } - }, - "has_one": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "name": { - "type": "text", - "rules": { - "required": true - } - }, - "classname": { - "type": "text", - "rules": { - "required": true - } - }, - "caption": { - "type": "text", - "rules": { - "required": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "settings": { - "type": "text", - "rules": { - "required": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "enable_list", - "caption": { - "type": "column", - "name": "caption" - } + "caption": { + "type": "none" + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "panel": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "link": { + "type": "none" } + } }, - "LicenseGroup": "license_group", - "license_group": { - "class_name": "LicenseGroup", - "table_name": "license_groups", - "associations": { - "belongs_to": {}, - "has_many": { - "licenses": { - "foreign_key": "license_group_id", - "list_method": "list_by_license_group" - } - }, - "has_one": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "name": { - "type": "text", - "rules": { - "required": true - } - }, - "classname": { - "type": "text", - "rules": { - "required": true - } - }, - "caption": { - "type": "text", - "rules": { - "required": true - } - }, - "url": { - "type": "text", - "rules": { - "required": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "select": { - "method": "list", - "caption": { - "type": "column", - "name": "caption" - } + "summary": {}, + "edit": {} + }, + "panel_picture": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" } + } }, - "License": "license", - "license": { - "class_name": "License", - "table_name": "licenses", - "associations": { - "belongs_to": { - "license_group": { - "id_column": "license_group_id" - }, - "system_picture": { - "id_column": "system_picture_id" - } - }, - "has_many": { - "resource_pictures": { - "foreign_key": "license_id", - "list_method": "list_by_license" - } - }, - "has_one": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "license_group_id": { - "type": "number", - "rules": { - "number": true - } - }, - "name": { - "type": "text", - "rules": { - "required": true - } - }, - "caption": { - "type": "text", - "rules": { - "required": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "url": { - "type": "text", - "rules": { - "required": true - } - }, - "settings": { - "type": "text", - "rules": {} - }, - "credit_pictures": { - "type": "text", - "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "caption": { + "type": "default", + "args": { + "link": { + "type": "none" } + } }, - "Author": "author", - "author": { - "class_name": "Author", - "table_name": "authors", - "associations": { - "belongs_to": {}, - "has_many": { - "scrolls": { - "foreign_key": "author_id", - "list_method": "list_by_author" - }, - "comics": { - "foreign_key": "author_id", - "list_method": "list_by_author" - }, - "stories": { - "foreign_key": "author_id", - "list_method": "list_by_author" - }, - "sheets": { - "foreign_key": "author_id", - "list_method": "list_by_author" - }, - "panels": { - "foreign_key": "author_id", - "list_method": "list_by_author" - } - }, - "has_one": {} - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "name": { - "type": "text", - "rules": { - "required": true - } - }, - "user_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "summary": {}, + "edit": { + "type": "none" + } + }, + "speech_balloon": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "default", + "args": { + "face": { + "type": "method", + "args": { + "method_name": "plain_scenario" + } }, - "select": { - "method": "list", - "caption": { - "type": "column", - "name": "name" - } + "link": { + "type": "none" } + } }, - "Artist": "artist", - "artist": { - "class_name": "Artist", - "table_name": "artists", - "associations": { - "belongs_to": {}, - "has_many": { - "resource_pictures": { - "foreign_key": "artist_id", - "list_method": "list_by_artist" - } - }, - "has_one": {} + "summary": {}, + "edit": { + "type": "none" + } + }, + "speech": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "default", + "args": { + "face": { + "type": "column", + "args": { + "column_name": "content" + } }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "name": { - "type": "text", - "rules": { - "required": true - } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "link": { + "type": "none" + } + } + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "balloon": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "none" + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "ground_picture": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "default", + "args": { + "link": { + "type": "none" + } + } + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "ground_color": { + "symbol": { + "type": "template", + "args": { + "template_name": "symbol" + } + }, + "caption": { + "type": "default", + "args": { + "link": { + "type": "none" + } + } + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "original_picture": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "default", + "args": { + "face": { + "type": "method", + "args": { + "method_name": "revision" + } }, - "select": { - "method": "list", - "caption": { - "type": "column", - "name": "name" - } + "link": { + "type": "action", + "args": { + "action_name": "history" + } + } + } + }, + "summary": {}, + "edit": { + "type": "template", + "args": { + "template_name": "publish" + } + } + }, + "picture": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "default", + "args": { + "face": { + "type": "column", + "args": { + "column_name": "revision" + } + } + } + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "resource_picture": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "none" + }, + "summary": {}, + "edit": { + "type": "none" + } + }, + "speech_balloon_template": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": {}, + "summary": { + "type": "none" + }, + "edit": { + "type": "none" + } + }, + "writing_format": { + "symbol": {}, + "caption": {}, + "summary": { + "type": "none" + }, + "edit": { + "type": "none" + } + }, + "license_group": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "link": { + "type": "url_column", + "args": { + "column_name": "url" + } } + } + }, + "summary": { + "type": "none" }, - "SystemPicture": "system_picture", - "system_picture": { - "class_name": "SystemPicture", - "table_name": "system_pictures", - "associations": { - "belongs_to": {}, - "has_many": {}, - "has_one": {} + "edit": { + "type": "none" + } + }, + "license": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "face": { + "type": "method", + "args": { + "method_name": "caption_with_group" + } }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "ext": { - "type": "text", - "rules": { - "required": true - } - }, - "width": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "height": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "filesize": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "md5": { - "type": "text", - "rules": { - "required": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } + "link": { + "type": "url_column", + "args": { + "column_name": "url" + } } + } + }, + "summary": {}, + "edit": { + "type": "none" } - }, - "lists": { - "scroll": { - "default_page_size": 25, - "max_page_size": 100, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "scroll_panels": { - "type": "has_many", - "association_name": "scroll_panels" - }, - "panels": { - "type": "has_many", - "association_name": "panels" - }, - "by_panel": { - "type": "throughfilter", - "filter_key": "panel_id", - "list": { - "method": "filtered_list" - } - } + }, + "author": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "face": { + "type": "column", + "args": { + "column_name": "name" + } } + } }, - "scroll_panel": { - "default_page_size": 20, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_scroll": { - "type": "filter", - "from": "scroll", - "filter_key": "scroll_id", - "list": { - "method": "filtered_list" - } - }, - "by_panel": { - "type": "filter", - "filter_key": "panel_id", - "list": { - "method": "filtered_list" - } - } + "summary": {}, + "edit": { + "type": "account" + } + }, + "artist": { + "symbol": {}, + "caption": { + "type": "default", + "args": { + "face": { + "type": "column", + "args": { + "column_name": "name" + } } + } }, - "comic": { - "default_page_size": 20, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "stories": { - "type": "has_many", - "association_name": "stories" + "summary": {}, + "edit": { + "type": "account" + } + }, + "system_picture": { + "symbol": { + "type": "default", + "args": { + "face": { + "type": "picture" + } + } + }, + "caption": { + "type": "none" + }, + "summary": { + "type": "none" + }, + "edit": { + "type": "none" + } + } + }, + "list_groups": { + "scroll": { + "lists": { + "public": {}, + "private": {}, + "by_author": {}, + "by_panel": {}, + "play": {} + } + }, + "scroll_panel": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_scroll": {}, + "by_panel": {} + } + }, + "comic": { + "lists": { + "public": {}, + "private": {}, + "by_author": {} + } + }, + "story": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_comic": {}, + "by_sheet": {}, + "by_author": { + "tree_name": "comic_owner" + }, + "play": {} + } + }, + "story_sheet": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_story": {}, + "by_sheet": {} + } + }, + "sheet": { + "lists": { + "public": {}, + "private": {}, + "by_story": {}, + "by_panel": {}, + "by_author": {}, + "play": {} + } + }, + "sheet_panel": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_sheet": {}, + "by_panel": {} + } + }, + "panel": { + "lists": { + "public": {}, + "private": {}, + "by_scroll": {}, + "by_sheet": {}, + "by_author": {}, + "by_speech_balloon_template": {} + } + }, + "panel_picture": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_author": { + "tree_name": "panel_owner" + } + } + }, + "speech_balloon": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_speech_balloon_template": {}, + "by_author": { + "tree_name": "panel_owner" + } + } + }, + "speech": { + "tree_name": "owner", + "lists": { + "public": {}, + "by_speech_balloon": {}, + "by_writing_format": {} + } + }, + "balloon": { + "tree_name": "owner", + "lists": { + "public": {}, + "by_speech_balloon": {} + } + }, + "ground_picture": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_author": { + "tree_name": "panel_owner" + } + } + }, + "ground_color": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_author": { + "tree_name": "panel_owner" + } + } + }, + "original_picture": { + "lists": { + "private": {} + } + }, + "picture": {}, + "resource_picture": { + "lists": { + "public": {}, + "private": {}, + "by_original_picture": {}, + "by_license": {}, + "by_artist": {} + } + }, + "speech_balloon_template": { + "lists": { + "public": {}, + "select_items": {} + } + }, + "writing_format": { + "lists": { + "public": {}, + "select_items": {}, + "by_system_picture": {} + } + }, + "license_group": { + "lists": { + "public": {}, + "select_items": {} + } + }, + "license": { + "lists": { + "public": {}, + "by_license_group": {}, + "by_system_picture": {} + } + }, + "author": { + "lists": { + "public": {} + } + }, + "artist": { + "lists": { + "public": {} + } + }, + "system_picture": { + "lists": { + "public": {} + } + } + }, + "elements": [ + { + "name": "panel_picture", + "path_name": "panel_pictures", + "parts": [] + }, + { + "name": "speech_balloon", + "path_name": "circle_speech_balloon/speech_balloons", + "parts": [ + "balloon", + "speech" + ] + }, + { + "name": "ground_picture", + "path_name": "ground_pictures", + "parts": [] + }, + { + "name": "ground_color", + "path_name": "ground_colors", + "parts": [] + } + ], + "forms": { + "base": { + "scroll": { + "fields": { + "title": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + }, + "description": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text_area" } - } - }, - "story": { - "default_page_size": 20, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "story_sheets": { - "type": "has_many", - "association_name": "story_sheets" + } + }, + "visible": { + "args": { + "tag": { + "type": "select" }, - "sheets": { - "type": "has_many", - "association_name": "sheets" + "row_break": true + } + }, + "id": { + "args": { + "label": { + "type": "none" }, - "by_comic": { - "type": "filter", - "filter_key": "comic_id", - "list": { - "method": "filtered_list" - } + "tag": { + "type": "hidden" } - } - }, - "story_sheet": { - "default_page_size": 20, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_story": { - "type": "filter", - "filter_key": "story_id", - "list": { - "method": "filtered_list" - } + } + }, + "author_id": { + "args": { + "label": { + "type": "none" }, - "by_sheet": { - "type": "filter", - "filter_key": "sheet_id", - "list": { - "method": "filtered_list" - } + "tag": { + "type": "hidden" } + } } + }, + "field_names": [ + "title", + "description", + "visible", + "id", + "author_id" + ] }, - "sheet": { - "default_page_size": 20, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "story_sheets": { - "type": "has_many", - "association_name": "story_sheets" + "scroll_panel": { + "fields": { + "scroll_id": { + "args": { + "tag": { + "type": "number" + } + } + }, + "panel_id": { + "args": { + "tag": { + "type": "number" + } + } + }, + "t": { + "args": { + "tag": { + "type": "number" + } + } + }, + "id": { + "args": { + "label": { + "type": "none" }, - "sheet_panels": { - "type": "has_many", - "association_name": "sheet_panels" + "tag": { + "type": "hidden" } + } } + }, + "field_names": [ + "scroll_id", + "panel_id", + "t", + "id" + ] }, - "sheet_panel": { - "default_page_size": 20, - "lists": { - "public_list": { - "type": "public" + "comic": { + "fields": { + "title": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + }, + "description": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text_area" + } + } + }, + "visible": { + "args": { + "tag": { + "type": "select" }, - "private_list": { - "type": "private" + "row_break": true + } + }, + "id": { + "args": { + "label": { + "type": "none" }, - "by_sheet": { - "type": "filter", - "filter_key": "sheet_id", - "list": { - "method": "filtered_list" - } + "tag": { + "type": "hidden" + } + } + }, + "author_id": { + "args": { + "label": { + "type": "none" }, - "by_panel": { - "type": "filter", - "filter_key": "panel_id", - "list": { - "method": "filtered_list" - } + "tag": { + "type": "hidden" } + } } + }, + "field_names": [ + "title", + "description", + "visible", + "id", + "author_id" + ] }, - "panel": { - "default_page_size": 20, - "lists": { - "by_scroll": { - "type": "through_filter", - "from": "scroll", - "through": "scroll_panels", - "filter_key": "scroll_id", - "list": { - "method": "filtered_list" - } + "story": { + "fields": { + "comic_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } - } - }, - "panel_picture": {}, - "speech_balloon": {}, - "speech": {}, - "balloon": {}, - "ground_picture": {}, - "ground_color": {}, - "original_picture": {}, - "picture": {}, - "resource_picture": {}, - "speech_balloon_template": {}, - "writing_format": {}, - "license_group": {}, - "license": {}, - "author": {}, - "artist": {}, - "system_picture": {} - }, - "system_resources": { - "licenses": { - "pettanr_creative_commons_v30_licenses": "PettanrCreativeCommonsV30Licenses", - "pettanr_pettan_commons_v01_licenses": "PettanrPettanCommonsV01Licenses", - "pettanr_pettan_protected_v01_licenses": "PettanrPettanProtectedV01Licenses", - "pettanr_pettan_public_v01_licenses": "PettanrPettanPublicV01Licenses", - "pettanr_public_domain_v01_licenses": "PettanrPublicDomainV01Licenses", - "pettanr_unknown_v01_licenses": "PettanrUnknownV01Licenses" - }, - "elements": { - "PanelPicture": "panel_pictures", - "SpeechBalloon": "speech_balloons", - "GroundPicture": "ground_pictures", - "GroundColor": "ground_colors" - }, - "speech_balloon_templates": { - "CircleSpeechBalloon": "circle_speech_balloon", - "PlainSpeechBalloon": "plain_speech_balloon", - "SquareSpeechBalloon": "square_speech_balloon" - }, - "writing_formats": { - "SimpleFormat": "pettanr_simple_format" - } - }, - "magic_numbers": { - "run_mode": 1, - "thumbnail_width": 64, - "thumbnail_height": 64, - "profile": { - "users": { - "caption": "ペンギン王国", - "url": "http://localhost:3001/", - "description": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。" + } }, - "admins": { - "caption": "site name for admin", - "url": "http://your.site.url/admins/", - "description": "admin register" + "title": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } }, - "demand_users": { - "caption": "provider name", - "url": "http://your.site.url/demanders/", - "description": "provider description" - } - }, - "provider_sources": [ - "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json" - ] - }, - "select_items": { - "provider_status_status_items": [ - [ - "select_items.provider_status.status.waiting", - 0 - ], - [ - "select_items.provider_status.status.receiving", - 1 - ] - ], - "demander_status_status_items": [ - [ - "select_items.demander_status.status.waiting", - 0 - ], - [ - "select_items.demander_status.status.rejected", - 1 - ], - [ - "select_items.demander_status.status.requesting", - 2 - ], - [ - "select_items.demander_status.status.approved", - 3 - ] - ], - "scroll_visible_items": [ - [ - "select_items.scroll.visible.private", - 0 - ], - [ - "select_items.scroll.visible.public", - 1 - ] - ], - "comic_visible_items": [ - [ - "select_items.comic.visible.private", - 0 - ], - [ - "select_items.comic.visible.public", - 1 - ] - ], - "story_visible_items": [ - [ - "select_items.story.visible.private", - 0 - ], - [ - "select_items.story.visible.public", - 1 - ] - ], - "sheet_visible_items": [ - [ - "select_items.sheet.visible.private", - 0 - ], - [ - "select_items.sheet.visible.public", - 1 - ] - ], - "panel_visible_items": [ - [ - "select_items.panel.visible.private", - 0 - ], - [ - "select_items.panel.visible.public", - 1 - ] - ], - "ground_picture_repeat_items": [ - [ - "select_items.ground_pictures.repeat.repeat", - 0 - ], - [ - "select_items.ground_pictures.repeat.repeat-x", - 1 - ], - [ - "select_items.ground_pictures.repeat.repeat-y", - 2 - ], - [ - "select_items.ground_pictures.repeat.no-repeat", - 3 - ] - ], - "ground_color_orientation_items": [ - [ - "select_items.ground_color.orientation.horizontal", - 0 - ], - [ - "select_items.ground_color.orientation.vertical", - 1 - ] - ], - "speech_font_size_items": [ - [ - "select_items.speeches.font_size.ultra_small", - 0.2 - ], - [ - "select_items.speeches.font_size.very_small", - 0.4 - ], - [ - "select_items.speeches.font_size.small", - 0.6 - ], - [ - "select_items.speeches.font_size.semi_small", - 0.8 - ], - [ - "select_items.speeches.font_size.normal", - 1 - ], - [ - "select_items.speeches.font_size.semi_large", - 1.5 - ], - [ - "select_items.speeches.font_size.large", - 2 - ], - [ - "select_items.speeches.font_size.very_large", - 3.5 - ], - [ - "select_items.speeches.font_size.ultra_large", - 5 - ] - ], - "speech_text_align_items": [ - [ - "select_items.speeches.text_align.none", - 0 - ], - [ - "select_items.speeches.text_align.left", - 1 - ], - [ - "select_items.speeches.text_align.right", - 2 - ], - [ - "select_items.speeches.text_align.center", - 3 - ] - ] - }, - "locals": { - "profilers": { - "scroll": { - "lists": { - "scroll_panels.by_scroll": { - "model_name": "scroll_panel", - "list_name": "by_scroll" - }, - "panels.by_scroll": { - "model_name": "panel", - "list_name": "by_scroll" - } + "description": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text_area" + }, + "row_break": true + } + }, + "visible": { + "args": { + "tag": { + "type": "select" }, - "columns": [ - "id", - "title", - "description", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "scroll_panels.by_scroll", - "panels.by_scroll" - ] - } + "row_break": true + } }, - "scroll_panel": { - "columns": [ - "id", - "scroll_id", - "panel_id", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "scroll", - "panel" - ], - "has_many": [] + "t": { + "args": { + "tag": { + "type": "number" } + } }, - "comic": { - "columns": [ - "id", - "title", - "description", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "stories" - ] + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "story": { - "columns": [ - "id", - "comic_id", - "title", - "description", - "t", - "visible", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "comic" - ], - "has_many": [ - "story_sheets", - "sheets" - ] + "author_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } - }, - "story_sheet": { - "columns": [ - "id", - "story_id", - "sheet_id", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "story", - "sheet" - ], - "has_many": [] + } + } + }, + "field_names": [ + "comic_id", + "title", + "description", + "visible", + "t", + "id", + "author_id" + ] + }, + "story_sheet": { + "fields": { + "story_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "number" } + } }, - "sheet": { - "columns": [ - "id", - "caption", - "width", - "height", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "story_sheets", - "stories", - "sheet_panels", - "panels" - ] + "sheet_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "number" } + } }, - "sheet_panel": { - "columns": [ - "id", - "sheet_id", - "panel_id", - "x", - "y", - "z", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "sheet", - "panel" - ], - "has_many": [] + "t": { + "args": { + "tag": { + "type": "number" } + } }, - "panel": { - "columns": [ - "id", - "width", - "height", - "border", - "caption", - "publish", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "scroll_panels", - "scrolls", - "sheet_panels", - "sheets", - "panel_pictures", - "speech_balloons", - "ground_pictures", - "ground_colors" - ] + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } + } + }, + "field_names": [ + "story_id", + "sheet_id", + "t", + "id" + ] + }, + "sheet": { + "fields": { + "caption": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } }, - "panel_picture": { - "columns": [ - "id", - "panel_id", - "picture_id", - "caption", - "x", - "y", - "width", - "height", - "link", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] + "width": { + "args": { + "tag": { + "type": "number" } + } }, - "speech_balloon": { - "columns": [ - "id", - "panel_id", - "speech_balloon_template_id", - "classname", - "z", - "t", - "settings", - "caption", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [], - "has_one": [ - "balloon", - "speech" - ] - } + "height": { + "args": { + "tag": { + "type": "number" + }, + "row_break": true + } }, - "speech": { - "columns": [ - "id", - "speech_balloon_id", - "writing_format_id", - "content", - "font_size", - "text_align", - "fore_color", - "x", - "y", - "width", - "height", - "quotes", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "speech_balloon", - "writing_format" - ], - "has_many": [] - } + "visible": { + "args": { + "tag": { + "type": "select" + }, + "row_break": true + } }, - "balloon": { - "columns": [ - "id", - "speech_balloon_id", - "system_picture_id", - "x", - "y", - "width", - "height", - "r", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "speech_balloon", - "system_picture" - ], - "has_many": [] + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "ground_picture": { - "columns": [ - "id", - "panel_id", - "picture_id", - "caption", - "repeat", - "x", - "y", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] + "author_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } - }, - "ground_color": { - "columns": [ - "id", - "panel_id", - "caption", - "code", - "orientation", - "xy", - "wh", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] + } + } + }, + "field_names": [ + "caption", + "width", + "height", + "visible", + "id", + "author_id" + ] + }, + "sheet_panel": { + "fields": { + "sheet_id": { + "args": { + "tag": { + "type": "number" } + } }, - "original_picture": { - "columns": [ - "id", - "ext", - "width", - "height", - "filesize", - "artist_id", - "md5", - "uploaded_at", - "published_at", - "stopped_at", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "artist" - ], - "has_many": [ - "pictures" - ], - "has_one": [ - "resource_picture" - ] + "panel_id": { + "args": { + "tag": { + "type": "number" } + } }, - "picture": { - "columns": [ - "id", - "original_picture_id", - "revision", - "ext", - "width", - "height", - "filesize", - "artist_id", - "license_id", - "md5", - "artist_name", - "credit", - "settings", - "classname", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "license", - "artist" - ], - "has_many": [], - "has_one": [] + "x": { + "args": { + "tag": { + "type": "number" } + } }, - "resource_picture": { - "columns": [ - "id", - "original_picture_id", - "revision", - "ext", - "width", - "height", - "filesize", - "artist_id", - "license_id", - "md5", - "artist_name", - "credit", - "settings", - "picture_id", - "classname", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "license", - "artist" - ], - "has_many": [], - "has_one": [] - } + "y": { + "args": { + "tag": { + "type": "number" + }, + "row_break": true + } }, - "speech_balloon_template": { - "columns": [ - "id", - "name", - "classname", - "caption", - "t", - "system_picture_id", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "system_picture" - ], - "has_many": [ - "speech_balloons", - "panels" - ], - "has_one": [] + "z": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "writing_format": { - "columns": [ - "id", - "name", - "classname", - "caption", - "system_picture_id", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "system_picture" - ], - "has_many": [ - "speeches" - ], - "has_one": [] + "t": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "license_group": { - "columns": [ - "id", - "name", - "classname", - "caption", - "url", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "licenses" - ], - "has_one": [] + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } + } + }, + "field_names": [ + "sheet_id", + "panel_id", + "x", + "y", + "z", + "t", + "id" + ] + }, + "panel": { + "fields": { + "caption": { + "args": { + "tag": { + "type": "text" + }, + "row_break": true + } }, - "license": { - "columns": [ - "id", - "license_group_id", - "name", - "caption", - "system_picture_id", - "url", - "settings", - "credit_pictures", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "license_group", - "system_picture" - ], - "has_many": [ - "resource_pictures" - ], - "has_one": [] + "width": { + "args": { + "tag": { + "type": "number" } + } + }, + "height": { + "args": { + "tag": { + "type": "number" + }, + "row_break": true + } }, - "author": { - "columns": [ - "id", - "name", - "user_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "scrolls", - "comics", - "stories", - "sheets", - "panels" - ], - "has_one": [] + "border": { + "args": { + "tag": { + "type": "number" } + } + }, + "publish": { + "args": { + "tag": { + "type": "select" + }, + "row_break": true + } }, - "artist": { - "columns": [ - "id", - "name", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "resource_pictures" - ], - "has_one": [] + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "system_picture": { - "columns": [ - "id", - "ext", - "width", - "height", - "filesize", - "md5", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [], - "has_one": [] + "author_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } } + }, + "field_names": [ + "caption", + "width", + "height", + "border", + "publish", + "id", + "author_id" + ] }, - "filers": { - "scroll": { - "symbol": { - "type": "image", - "name": "/assets/item.png" + "panel_picture": { + "fields": { + "caption": { + "args": { + "tag": { + "type": "text" + }, + "row_break": true + } + }, + "x": { + "args": { + "tag": { + "type": "number" + } + } + }, + "y": { + "args": { + "tag": { + "type": "number" }, - "caption": { - "type": "column", - "name": "title", - "link": { - "type": "action", - "name": "play" - } + "row_break": true + } + }, + "width": { + "args": { + "tag": { + "type": "number" }, - "summary": { - "type": "template", - "name": "summary" + "helpers": { + "size": { + "type": "size", + "args": { + "dom_class": "panel_picture_width_tool" + } + } }, - "edit": { - "type": "default" - } + "row_break": true + } }, - "scroll_panel": { - "symbol": { - "type": "image", - "name": "/assets/item.png", - "link": { - "type": "none" + "height": { + "args": { + "tag": { + "type": "number" + }, + "helpers": { + "size": { + "type": "size", + "args": { + "dom_class": "panel_picture_height_tool" } + } }, - "caption": { - "type": "none" + "row_break": true + } + }, + "link": { + "args": { + "tag": { + "type": "text" }, - "summary": { - "type": "template", - "name": "summary" + "row_break": true + } + }, + "id": { + "args": { + "label": { + "type": "none" }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } }, - "comic": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "column", - "name": "title" - }, - "summary": { - "type": "template", - "name": "summary" + "panel_id": { + "args": { + "label": { + "type": "none" }, - "edit": { - "type": "default" + "tag": { + "type": "hidden" } + } }, - "story": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "method", - "name": "title_with_t", - "link": { - "type": "action", - "name": "play" - } - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "default" + "picture_id": { + "args": { + "tag": { + "type": "hidden" + }, + "helpers": { + "popup": { + "type": "popup", + "args": { + "source": "pictures" + } + } } + } }, - "story_sheet": { - "symbol": { - "type": "image", - "name": "/assets/item.png", - "link": { - "type": "none" - } - }, - "caption": { - "type": "none" + "z": { + "args": { + "label": { + "type": "none" }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } }, - "sheet": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "column", - "name": "caption", - "link": { - "type": "action", - "name": "play" - } - }, - "summary": { - "type": "template", - "name": "summary" + "t": { + "args": { + "label": { + "type": "none" }, - "edit": { - "type": "default" + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "caption", + "x", + "y", + "width", + "height", + "link", + "id", + "panel_id", + "picture_id", + "z", + "t" + ] + }, + "speech_balloon": { + "fields": { + "speech_balloon.id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "sheet_panel": { - "symbol": { - "type": "image", - "name": "/assets/item.png", - "link": { - "type": "none" - } - }, - "caption": { - "type": "none" + "speech_balloon.panel_id": { + "args": { + "label": { + "type": "none" }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } }, - "panel": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "method", - "name": "plain_scenario", - "link": { - "type": "none" - } - }, - "summary": { - "type": "template", - "name": "summary" + "speech_balloon.speech_balloon_template_id": { + "args": { + "label": { + "type": "none" }, - "edit": { - "type": "default" + "tag": { + "type": "hidden" } + } }, - "panel_picture": { - "symbol": { - "type": "picture", - "name": "symbol_option" + "speech_balloon.caption": { + "args": { + "tag": { + "type": "text" }, - "caption": { - "type": "column", - "name": "caption" - }, - "summary": { - "type": "template", - "name": "summary" + "row_break": true + } + }, + "speech_balloon.z": { + "args": { + "label": { + "type": "none" }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } }, - "speech_balloon": { - "symbol": { - "type": "picture", - "name": "symbol_option" - }, - "caption": { - "type": "method", - "name": "plain_scenario", - "link": { - "type": "none" - } + "speech_balloon.t": { + "args": { + "label": { + "type": "none" }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } }, - "speech": { - "symbol": { - "type": "picture", - "name": "symbol_option" - }, - "caption": { - "type": "column", - "name": "content", - "link": { - "type": "none" - } - }, - "summary": { - "type": "template", - "name": "summary" + "speech_balloon.classname": { + "args": { + "label": { + "type": "none" }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } }, - "balloon": { - "symbol": { - "type": "picture", - "name": "symbol_option" + "speech_balloon.settings": { + "args": { + "label": { + "type": "none" }, - "caption": { - "type": "none" - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } }, - "ground_picture": { - "symbol": { - "type": "picture", - "name": "symbol_option" - }, - "caption": { - "type": "column", - "name": "caption" - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "balloon.id": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "ground_color": { - "symbol": { - "type": "template", - "name": "symbol" - }, - "caption": { - "type": "column", - "name": "caption" - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "balloon.speech_balloon_id": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "original_picture": { - "symbol": { - "type": "picture", - "name": "symbol_option" - }, - "caption": { - "type": "method", - "name": "revision", - "link": { - "type": "action", - "name": "history" - } - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "template", - "name": "publish" + "balloon.system_picture_id": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "picture": { - "symbol": { - "type": "picture", - "name": "symbol_option" - }, - "caption": { - "type": "column", - "name": "revision" - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "balloon.r": { + "type": "part", + "args": { + "tag": { + "type": "number" + }, + "helpers": { + "tail_angle": { + "type": "size", + "args": {} + } + }, + "row_break": true + } + }, + "balloon.x": { + "type": "part", + "args": { + "tag": { + "type": "number" } + } }, - "resource_picture": { - "symbol": { - "type": "picture", - "name": "symbol_option" - }, - "caption": { - "type": "none" - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "balloon.y": { + "type": "part", + "args": { + "label": {}, + "tag": { + "type": "number" + }, + "row_break": true + } + }, + "balloon.width": { + "type": "part", + "args": { + "tag": { + "type": "number" } + } }, - "speech_balloon_template": { - "symbol": { - "type": "picture", - "name": "symbol_option" - }, - "caption": { - "type": "column", - "name": "caption" - }, - "summary": { - "type": "none" - }, - "edit": { - "type": "none" + "balloon.height": { + "type": "part", + "args": { + "tag": { + "type": "number" + }, + "row_break": true + } + }, + "balloon.settings": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "writing_format": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "column", - "name": "caption" - }, - "summary": { - "type": "none" - }, - "edit": { - "type": "none" + "speech.id": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "license_group": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "column", - "name": "caption", - "link": { - "type": "url_column", - "name": "url" - } - }, - "summary": { - "type": "none" - }, - "edit": { - "type": "none" + "speech.speech_balloon_id": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "license": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "method", - "name": "caption_with_group", - "link": { - "type": "url_column", - "name": "url" - } - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "none" + "speech.x": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "author": { - "symbol": { - "type": "image", - "name": "/assets/item.png" - }, - "caption": { - "type": "column", - "name": "name" - }, - "summary": { - "type": "template", - "name": "summary" - }, - "edit": { - "type": "account" + "speech.y": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "speech.width": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" } + } }, - "artist": { - "symbol": { - "type": "image", - "name": "/assets/item.png" + "speech.height": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "speech.writing_format_id": { + "type": "part", + "args": { + "tag": { + "type": "select" + } + } + }, + "speech.font_size": { + "type": "part", + "args": { + "tag": { + "type": "select" + }, + "row_break": true + } + }, + "speech.text_align": { + "type": "part", + "args": { + "tag": { + "type": "select" + } + } + }, + "speech.quotes": { + "type": "part", + "args": { + "tag": { + "type": "text" + } + } + }, + "speech.content": { + "type": "part", + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text_area", + "args": { + "options": { + "size": "45x5" + } + } + } + } + }, + "speech.fore_color": { + "type": "part", + "args": { + "label": { + "row_break": true + }, + "tag": { + "type": "hidden" + }, + "helpers": { + "color": { + "type": "color", + "args": { + "wrapper": "speech-fore_color-wrap" + } + } + } + } + }, + "speech.settings": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + } + }, + "ground_picture": { + "fields": { + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "panel_id": { + "args": { + "label": { + "type": "none" }, - "caption": { - "type": "column", - "name": "name" + "tag": { + "type": "hidden" + } + } + }, + "picture_id": { + "args": { + "label": { + "type": "none" }, - "summary": { - "type": "template", - "name": "summary" + "tag": { + "type": "hidden" + } + } + }, + "caption": { + "args": { + "tag": { + "type": "text" }, - "edit": { - "type": "account" + "row_break": true + } + }, + "repeat": { + "args": { + "tag": { + "type": "select", + "args": { + "source": "magic_number", + "key": "ground_picture_repeat_items" + } + }, + "row_break": true + } + }, + "x": { + "args": { + "tag": { + "type": "number" } + } }, - "system_picture": { - "symbol": { - "type": "picture", - "name": "symbol_option" + "y": { + "args": { + "tag": { + "type": "number" }, - "caption": { - "type": "none" + "row_break": true + } + }, + "z": { + "args": { + "label": { + "type": "none" }, - "summary": { - "type": "none" + "tag": { + "type": "hidden" + } + } + }, + "t": { + "args": { + "label": { + "type": "none" }, - "edit": { - "type": "none" + "tag": { + "type": "hidden" } + } } + }, + "field_names": [ + "caption", + "repeat", + "x", + "y", + "z", + "t", + "id", + "panel_id", + "picture_id" + ] }, - "elements": [ - { - "name": "panel_picture", - "path_name": "panel_pictures", - "parts": [] - }, - { - "name": "speech_balloon", - "path_name": "circle_speech_balloon/speech_balloons", - "parts": [ - "balloon", - "speech" - ] + "ground_color": { + "fields": { + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } }, - { - "name": "ground_picture", - "path_name": "ground_pictures", - "parts": [] + "panel_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } }, - { - "name": "ground_color", - "path_name": "ground_colors", - "parts": [] - } - ], - "forms": { - "Panel": "panel", - "panel": { - "attributes": { - "caption": { - "column": "caption", - "type": "text", - "label": {}, - "options": { - "row_break": true - } - }, - "width": { - "column": "width", - "type": "number", - "label": {}, - "options": { - "size": 5 - } - }, - "height": { - "column": "height", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - } - }, - "border": { - "column": "border", - "type": "number", - "label": {}, - "options": { - "size": 5 - } - }, - "publish": { - "column": "publish", - "type": "select", - "label": {}, - "options": { - "source": "magic_number", - "key": "comic_visible_items", - "size": 5, - "row_break": true - } - }, - "id": { - "column": "id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "author_id": { - "column": "author_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - } + "caption": { + "args": { + "tag": { + "type": "text" }, - "fields": [ - "caption", - "width", - "height", - "border", - "publish", - "id", - "author_id" - ] + "row_break": true + } }, - "PanelPicture": "panel_picture", - "panel_picture": { - "attributes": { - "caption": { - "column": "caption", - "type": "text", - "label": {}, - "options": { - "row_break": true - } - }, - "x": { - "column": "x", - "type": "number", - "label": {}, - "options": { - "size": 5 - } - }, - "y": { - "column": "y", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - } - }, - "width": { - "column": "width", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - }, - "helpers": { - "size": { - "path": "panels/size_helper", - "options": { - "class": "panel_picture_width_tool" - } - } - } - }, - "height": { - "column": "height", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - }, - "helpers": { - "size": { - "path": "panels/size_helper", - "options": { - "class": "panel_picture_height_tool" - } - } - } - }, - "link": { - "column": "link", - "type": "text", - "label": {}, - "options": { - "row_break": true - } - }, - "id": { - "column": "id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "panel_id": { - "column": "panel_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "picture_id": { - "column": "picture_id", - "type": "hidden", - "label": {}, - "helpers": { - "popup": { - "path": "panels/popup_helper", - "source": "pictures", - "options": {} - } - }, - "options": {} - }, - "z": { - "column": "z", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "t": { - "column": "t", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - } + "code": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "hidden" + }, + "helpers": { + "color": { + "type": "color", + "args": { + "wrapper": "ground_color-code-wrap" + } + } + }, + "row_break": true + } + }, + "orientation": { + "args": { + "tag": { + "type": "select" }, - "fields": [ - "caption", - "x", - "y", - "width", - "height", - "link", - "id", - "panel_id", - "picture_id", - "z", - "t" - ] + "row_break": true + } }, - "speech_balloon": { - "attributes": { - "speech_balloon.id": { - "column": "id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech_balloon.panel_id": { - "column": "panel_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech_balloon.speech_balloon_template_id": { - "column": "speech_balloon_template_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech_balloon.caption": { - "column": "caption", - "type": "text", - "label": {}, - "options": { - "row_break": true - } - }, - "speech_balloon.z": { - "column": "z", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech_balloon.t": { - "column": "t", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech_balloon.classname": { - "column": "classname", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech_balloon.settings": { - "column": "settings", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "balloon.id": { - "model": "balloon", - "part": "balloon", - "column": "id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "balloon.speech_balloon_id": { - "model": "balloon", - "part": "balloon", - "column": "speech_balloon_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "balloon.system_picture_id": { - "model": "balloon", - "part": "balloon", - "column": "system_picture_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "balloon.r": { - "model": "balloon", - "part": "balloon", - "column": "r", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - }, - "helpers": { - "tail_angle": { - "path": "panels/tail_angle_helper", - "options": {} - } - } - }, - "balloon.x": { - "model": "balloon", - "part": "balloon", - "column": "x", - "type": "number", - "label": {}, - "options": { - "size": 5 - } - }, - "balloon.y": { - "model": "balloon", - "part": "balloon", - "column": "y", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - } - }, - "balloon.width": { - "model": "balloon", - "part": "balloon", - "column": "width", - "type": "number", - "label": {}, - "options": { - "size": 5 - } - }, - "balloon.height": { - "model": "balloon", - "part": "balloon", - "column": "height", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - } - }, - "balloon.settings": { - "model": "balloon", - "part": "balloon", - "column": "settings", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech.id": { - "model": "speech", - "part": "speech", - "column": "id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech.speech_balloon_id": { - "model": "speech", - "part": "speech", - "column": "speech_balloon_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech.x": { - "model": "speech", - "part": "speech", - "column": "x", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech.y": { - "model": "speech", - "part": "speech", - "column": "y", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech.width": { - "model": "speech", - "part": "speech", - "column": "width", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech.height": { - "model": "speech", - "part": "speech", - "column": "height", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "speech.writing_format_id": { - "model": "speech", - "part": "speech", - "column": "writing_format_id", - "type": "select", - "label": {}, - "options": { - "source": "model", - "model": "writing_format", - "method": "enable_list", - "caption": "caption" - } - }, - "speech.font_size": { - "model": "speech", - "part": "speech", - "column": "font_size", - "type": "select", - "label": {}, - "options": { - "source": "magic_number", - "key": "speech_font_size_items", - "row_break": true - } - }, - "speech.text_align": { - "model": "speech", - "part": "speech", - "column": "text_align", - "type": "select", - "label": {}, - "options": { - "source": "magic_number", - "key": "speech_text_align_items" - } - }, - "speech.quotes": { - "model": "speech", - "part": "speech", - "column": "quotes", - "type": "text", - "label": {}, - "options": { - "size": 5 - } - }, - "speech.content": { - "model": "speech", - "part": "speech", - "column": "content", - "type": "text_area", - "label": { - "row_break": true - }, - "options": { - "size": "45x5" - } - }, - "speech.fore_color": { - "model": "speech", - "part": "speech", - "column": "fore_color", - "type": "hidden", - "label": { - "row_break": true - }, - "options": {}, - "helpers": { - "color": { - "path": "panels/color_helper", - "options": {}, - "wrapper": "speech-fore_color-wrap" - } - } - }, - "speech.settings": { - "model": "speech", - "part": "speech", - "column": "settings", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - } + "xy": { + "args": { + "tag": { + "type": "number" } + } }, - "CircleSpeechBalloon": "circle_speech_balloon", - "circle_speech_balloon": { - "base": "speech_balloon", - "attributes": {}, - "fields": [ - "speech_balloon.caption", - "balloon.r", - "balloon.x", - "balloon.y", - "balloon.width", - "balloon.height", - "balloon.id", - "balloon.speech_balloon_id", - "balloon.system_picture_id", - "balloon.settings", - "speech.writing_format_id", - "speech.font_size", - "speech.text_align", - "speech.quotes", - "speech.content", - "speech.fore_color", - "speech.id", - "speech.speech_balloon_id", - "speech.x", - "speech.y", - "speech.width", - "speech.height", - "speech.settings", - "speech_balloon.id", - "speech_balloon.panel_id", - "speech_balloon.speech_balloon_template_id", - "speech_balloon.classname", - "speech_balloon.z", - "speech_balloon.t", - "speech_balloon.settings" - ] - }, - "PlainSpeechBalloon": "plain_speech_balloon", - "plain_speech_balloon": { - "base": "speech_balloon", - "attributes": { - "balloon.r": { - "model": "balloon", - "part": "balloon", - "column": "r", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - } + "wh": { + "args": { + "tag": { + "type": "number" }, - "fields": [ - "speech_balloon.caption", - "balloon.r", - "balloon.x", - "balloon.y", - "balloon.width", - "balloon.height", - "balloon.id", - "balloon.speech_balloon_id", - "balloon.system_picture_id", - "balloon.settings", - "speech.writing_format_id", - "speech.font_size", - "speech.text_align", - "speech.quotes", - "speech.content", - "speech.fore_color", - "speech.id", - "speech.speech_balloon_id", - "speech.x", - "speech.y", - "speech.width", - "speech.height", - "speech.settings", - "speech_balloon.id", - "speech_balloon.panel_id", - "speech_balloon.speech_balloon_template_id", - "speech_balloon.classname", - "speech_balloon.z", - "speech_balloon.t", - "speech_balloon.settings" - ] + "row_break": true + } }, - "SquareSpeechBalloon": "square_speech_balloon", - "square_speech_balloon": { - "base": "speech_balloon", - "attributes": { - "balloon.r": { - "model": "balloon", - "part": "balloon", - "column": "r", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - } + "z": { + "args": { + "label": { + "type": "none" }, - "fields": [ - "speech_balloon.caption", - "balloon.r", - "balloon.x", - "balloon.y", - "balloon.width", - "balloon.height", - "balloon.id", - "balloon.speech_balloon_id", - "balloon.system_picture_id", - "balloon.settings", - "speech.writing_format_id", - "speech.font_size", - "speech.text_align", - "speech.quotes", - "speech.content", - "speech.fore_color", - "speech.id", - "speech.speech_balloon_id", - "speech.x", - "speech.y", - "speech.width", - "speech.height", - "speech.settings", - "speech_balloon.id", - "speech_balloon.panel_id", - "speech_balloon.speech_balloon_template_id", - "speech_balloon.classname", - "speech_balloon.z", - "speech_balloon.t", - "speech_balloon.settings" - ] + "tag": { + "type": "hidden" + } + } }, - "GroundPicture": "ground_picture", - "ground_picture": { - "attributes": { - "id": { - "column": "id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "panel_id": { - "column": "panel_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "picture_id": { - "column": "picture_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "caption": { - "column": "caption", - "type": "text", - "label": {}, - "options": { - "row_break": true - } - }, - "repeat": { - "column": "repeat", - "type": "select", - "label": {}, - "options": { - "source": "magic_number", - "key": "ground_picture_repeat_items", - "row_break": true - } - }, - "x": { - "column": "x", - "type": "number", - "label": {}, - "options": { - "size": 5 - } - }, - "y": { - "column": "y", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - } - }, - "z": { - "column": "z", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "t": { - "column": "t", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - } + "t": { + "args": { + "label": { + "type": "none" }, - "fields": [ - "caption", - "repeat", - "x", - "y", - "z", - "t", - "id", - "panel_id", - "picture_id" - ] + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "id", + "panel_id", + "caption", + "code", + "orientation", + "xy", + "wh", + "z", + "t" + ] + }, + "author": { + "fields": { + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } }, - "GroundColor": "ground_color", - "ground_color": { - "attributes": { - "id": { - "column": "id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "panel_id": { - "column": "panel_id", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "caption": { - "column": "caption", - "type": "text", - "label": {}, - "options": { - "row_break": true - } - }, - "code": { - "column": "code", - "type": "hidden", - "label": { - "row_break": true - }, - "options": { - "row_break": true - }, - "helpers": { - "color": { - "path": "panels/color_helper", - "options": {}, - "wrapper": "ground_color-code-wrap" - } - } - }, - "orientation": { - "column": "orientation", - "type": "select", - "label": {}, - "options": { - "source": "magic_number", - "key": "ground_color_orientation_items", - "row_break": true - } - }, - "xy": { - "column": "xy", - "type": "number", - "label": {}, - "options": { - "size": 5 - } - }, - "wh": { - "column": "wh", - "type": "number", - "label": {}, - "options": { - "size": 5, - "row_break": true - } - }, - "z": { - "column": "z", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - }, - "t": { - "column": "t", - "type": "hidden", - "label": { - "type": "hidden" - }, - "options": {} - } - }, - "fields": [ - "id", - "panel_id", - "caption", - "code", - "orientation", - "xy", - "wh", - "z", - "t" - ] + "name": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + } + }, + "field_names": [ + "id", + "name" + ] + }, + "artist": { + "fields": { + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "name": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } } + }, + "field_names": [ + "id", + "name" + ] } - }, - "locales": { - "ja": {} + }, + "extend": { + "CircleSpeechBalloon": { + "base": "speech_balloon", + "fields": {}, + "field_names": [ + "speech_balloon.caption", + "balloon.r", + "balloon.x", + "balloon.y", + "balloon.width", + "balloon.height", + "balloon.id", + "balloon.speech_balloon_id", + "balloon.system_picture_id", + "balloon.settings", + "speech.writing_format_id", + "speech.font_size", + "speech.text_align", + "speech.quotes", + "speech.content", + "speech.fore_color", + "speech.id", + "speech.speech_balloon_id", + "speech.x", + "speech.y", + "speech.width", + "speech.height", + "speech.settings", + "speech_balloon.id", + "speech_balloon.panel_id", + "speech_balloon.speech_balloon_template_id", + "speech_balloon.classname", + "speech_balloon.z", + "speech_balloon.t", + "speech_balloon.settings" + ] + }, + "PlainSpeechBalloon": { + "base": "speech_balloon", + "fields": { + "balloon.r": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "speech_balloon.caption", + "balloon.r", + "balloon.x", + "balloon.y", + "balloon.width", + "balloon.height", + "balloon.id", + "balloon.speech_balloon_id", + "balloon.system_picture_id", + "balloon.settings", + "speech.writing_format_id", + "speech.font_size", + "speech.text_align", + "speech.quotes", + "speech.content", + "speech.fore_color", + "speech.id", + "speech.speech_balloon_id", + "speech.x", + "speech.y", + "speech.width", + "speech.height", + "speech.settings", + "speech_balloon.id", + "speech_balloon.panel_id", + "speech_balloon.speech_balloon_template_id", + "speech_balloon.classname", + "speech_balloon.z", + "speech_balloon.t", + "speech_balloon.settings" + ] + }, + "SquareSpeechBalloon": { + "base": "speech_balloon", + "fields": { + "balloon.r": { + "type": "part", + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "speech_balloon.caption", + "balloon.r", + "balloon.x", + "balloon.y", + "balloon.width", + "balloon.height", + "balloon.id", + "balloon.speech_balloon_id", + "balloon.system_picture_id", + "balloon.settings", + "speech.writing_format_id", + "speech.font_size", + "speech.text_align", + "speech.quotes", + "speech.content", + "speech.fore_color", + "speech.id", + "speech.speech_balloon_id", + "speech.x", + "speech.y", + "speech.width", + "speech.height", + "speech.settings", + "speech_balloon.id", + "speech_balloon.panel_id", + "speech_balloon.speech_balloon_template_id", + "speech_balloon.classname", + "speech_balloon.z", + "speech_balloon.t", + "speech_balloon.settings" + ] + } + } } + } } \ No newline at end of file