X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=public%2Fmanifest.json;h=4e2505012e3cdc0bb293f685b5d897134e81926c;hp=5bce8b69b2663f52d57a0f3c87d30c22b079ef7c;hb=HEAD;hpb=86f28e7c3390194b98ce81b16ca400df83151586 diff --git a/public/manifest.json b/public/manifest.json index 5bce8b69..4e250501 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,45 +1,317 @@ { + "inflectors": { + "folder": "folders", + "scroll": "scrolls", + "scroll_panel": "scroll_panels", + "comic": "comics", + "comic_story": "comic_stories", + "story": "stories", + "story_sheet": "story_sheets", + "sheet": "sheets", + "sheet_panel": "sheet_panels", + "panel": "panels", + "panel_picture": "panel_pictures", + "speech_balloon": "speech_balloons", + "speech": "speeches", + "balloon": "balloons", + "ground_picture": "ground_pictures", + "ground_color": "ground_colors", + "original_picture": "original_pictures", + "picture": "pictures", + "resource_picture": "resource_pictures", + "resource_picture_picture": "resource_picture_pictures", + "original_picture_license_group": "original_picture_license_groups", + "original_picture_license": "original_picture_licenses", + "speech_balloon_template": "speech_balloon_templates", + "writing_format": "writing_formats", + "license_group": "license_groups", + "license": "licenses", + "author": "authors", + "artist": "artists", + "system_picture": "system_pictures", + "home": "home" + }, + "items": { + "folder": {}, + "scroll": { + "type": "binder", + "args": {} + }, + "scroll_panel": { + "type": "leaf", + "args": { + "parent_item_name": "scroll", + "destination_item_name": "panel" + } + }, + "comic": { + "type": "binder", + "args": {} + }, + "comic_story": { + "type": "leaf", + "args": { + "parent_item_name": "comic", + "destination_item_name": "story" + } + }, + "story": { + "type": "binder", + "args": {} + }, + "story_sheet": { + "type": "leaf", + "args": { + "parent_item_name": "story", + "destination_item_name": "sheet" + } + }, + "sheet": { + "type": "root", + "args": {} + }, + "sheet_panel": { + "type": "element", + "args": { + "parent_item_name": "sheet" + } + }, + "panel": { + "type": "root", + "args": {} + }, + "panel_picture": { + "type": "element", + "args": { + "parent_item_name": "panel" + } + }, + "speech_balloon": { + "type": "element", + "args": { + "parent_item_name": "panel", + "boost": { + "speech_balloon_template": { + "extend_model_class_name": "SpeechBalloon", + "item_name_for_extend_model": "speech_balloon" + } + } + } + }, + "balloon": { + "type": "element", + "args": { + "parent_item_name": "speech_balloon", + "boost": { + "speech_balloon_template": { + "extend_model_class_name": "Balloon", + "item_name_for_extend_model": "balloon" + } + } + } + }, + "speech": { + "type": "element", + "args": { + "parent_item_name": "speech_balloon", + "boost": { + "writing_format": { + "level": "read", + "item_name_for_extend_model": "renderer", + "extend_module_name": "RendererModule" + }, + "speech_balloon_template": { + "extend_model_class_name": "Speech", + "item_name_for_extend_model": "speech" + } + } + } + }, + "ground_picture": { + "type": "element", + "args": { + "parent_item_name": "panel" + } + }, + "ground_color": { + "type": "element", + "args": { + "parent_item_name": "panel" + } + }, + "original_picture": { + "type": "content" + }, + "picture": { + "type": "content", + "args": { + "boost": { + "license_group": { + "extend_model_class_name": "License", + "item_name_for_extend_model": "license" + }, + "license": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "Attribute", + "item_name_for_extend_model": "attribute" + }, + "credit_picture": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "CreditPicture", + "item_name_for_extend_model": "credit_picture" + } + } + } + }, + "resource_picture": { + "type": "content", + "args": { + "boost": { + "license_group": { + "extend_model_class_name": "License", + "item_name_for_extend_model": "license" + }, + "license": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "Attribute", + "item_name_for_extend_model": "attribute" + }, + "credit_picture": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "CreditPicture", + "item_name_for_extend_model": "credit_picture" + } + } + } + }, + "resource_picture_picture": {}, + "original_picture_license_group": {}, + "original_picture_license": { + "args": { + "boost": { + "license": { + "template_name": "license_group", + "extend_model_class_name": "Attribute", + "item_name_for_extend_model": "attribute" + } + } + } + }, + "speech_balloon_template": { + "type": "template" + }, + "writing_format": { + "type": "template" + }, + "license_group": { + "type": "template" + }, + "license": { + "type": "system_resource", + "args": { + "parent_item_name": "license_group", + "boost": { + "license_group": { + "extend_model_class_name": "License", + "item_name_for_extend_model": "license" + }, + "credit_picture": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "CreditPicture", + "item_name_for_extend_model": "credit_picture" + } + } + } + }, + "author": { + "type": "owner" + }, + "artist": { + "type": "owner" + }, + "system_picture": { + "type": "system_resource" + } + }, "controllers": { + "folders": { + "actions": { + "root": { + "type": "show" + }, + "index": { + "type": "list", + "args": { + "param_id": "none" + } + }, + "show": { + "type": "show" + }, + "watch": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "destroy": { + "type": "destroy" + } + } + }, "scrolls": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "list_name": "play" + "return_item_name": "scroll_panel", + "order": "t", + "direction": 1 } }, "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" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -48,35 +320,44 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_scroll": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_scroll": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -85,29 +366,93 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" + } + }, + "by_story": { + "type": "list", + "args": { + "param_id": "suffix" } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "play": { + "type": "list", + "args": { + "return_item_name": "comic_story", + "max_page_size": -1, + "order": "t", + "direction": 1 + } }, "show": { "type": "show" }, - "count": { - "type": "count", + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "comic_stories": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none" + } + }, + "by_comic": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_story": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_author": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -116,41 +461,53 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_comic": { - "type": "count" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "count" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "list_name": "play" + "return_item_name": "story_sheet", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_author": { - "type": "count" - }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -159,35 +516,44 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_story": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_story": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_sheet": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -196,47 +562,52 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_story": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "list_name": "play" + "return_item_name": "sheet_panel", + "order": "t", + "direction": 1 } }, "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" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -245,35 +616,44 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_panel": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_sheet": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_panel": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -282,47 +662,50 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_scroll": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_speech_balloon_template": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_scroll": { - "type": "count" - }, - "count_by_sheet": { - "type": "count" - }, - "count_by_author": { - "type": "count" - }, - "count_by_speech_balloon_template": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -331,29 +714,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_panel": { - "type": "count" + "new": { + "type": "new" }, - "count_by_author": { - "type": "count" + "edit": { + "type": "edit" } } }, @@ -362,29 +745,35 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "show": { - "type": "show" + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_speech_balloon_template": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" + "show": { + "type": "show" + }, + "new": { + "type": "new" }, - "count_by_author": { - "type": "count" + "edit": { + "type": "edit" } } }, @@ -393,23 +782,41 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" + } + }, + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_speech_balloon": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_speech_balloon_template": { + "type": "list", + "args": { + "param_id": "suffix" } }, "by_writing_format": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } + "new": { + "type": "new" }, - "count_by_writing_format": { - "type": "count" + "edit": { + "type": "edit" } } }, @@ -418,17 +825,41 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, - "show": { - "type": "show" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_speech_balloon": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_speech_balloon_template": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_system_picture": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -437,29 +868,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_panel": { - "type": "count" + "new": { + "type": "new" }, - "count_by_author": { - "type": "count" + "edit": { + "type": "edit" } } }, @@ -468,29 +899,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_panel": { - "type": "count" + "new": { + "type": "new" }, - "count_by_author": { - "type": "count" + "edit": { + "type": "edit" } } }, @@ -499,281 +930,376 @@ "index": { "type": "list", "args": { - "list_name": "private" + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", + "history": { + "type": "list", "args": { - "list_name": "public" + "return_item_name": "picture", + "max_page_size": -1, + "order": "revision", + "direction": 1 } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, "pictures": { "actions": { - "show": { - "type": "show" - } - } - }, - "resource_pictures": { - "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, - "by_original_picture": { - "type": "list" - }, - "by_license": { - "type": "list" - }, "by_artist": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_license": { - "type": "count" - }, - "count_by_artist": { - "type": "count" + "show": { + "type": "show" } } }, - "speech_balloon_templates": { + "resource_pictures": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "by_original_picture": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } - } - } - }, - "writing_formats": { - "actions": { - "index": { + }, + "by_license_group": { "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "by_system_picture": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "by_license": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_system_picture": { - "type": "count" - } - } - }, - "license_groups": { - "actions": { - "index": { + "by_artist": { "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } + "destroy": { + "type": "destroy" } } }, - "licenses": { + "original_picture_license_groups": { "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" - } + "new": { + "type": "new" }, - "count_by_license_group": { - "type": "count" + "create": { + "type": "create" + } + } + }, + "original_picture_licenses": { + "actions": { + "new": { + "type": "new" }, - "count_by_system_picture": { - "type": "count" + "create": { + "type": "create" } } }, - "authors": { + "resource_picture_pictures": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" - } - }, - "scrolls": { - "type": "list", - "args": { - "list_name": "scrolls" - } - }, - "comics": { - "type": "list", - "args": { - "list_name": "comics" + "param_id": "none" } }, - "stories": { - "type": "list", - "args": { - "list_name": "stories" - } - }, - "sheets": { + "by_original_picture": { "type": "list", "args": { - "list_name": "sheets" + "param_id": "suffix" } }, - "panels": { + "by_resource_picture": { "type": "list", "args": { - "list_name": "panels" + "param_id": "suffix" } }, - "panel_pictures": { + "by_picture": { "type": "list", "args": { - "list_name": "panel_pictures" + "param_id": "suffix" } }, - "speech_balloons": { + "show": { + "type": "show" + } + } + }, + "speech_balloon_templates": { + "actions": { + "index": { "type": "list", "args": { - "list_name": "speech_balloons" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "ground_pictures": { + "by_panel": { "type": "list", "args": { - "list_name": "ground_pictures" + "param_id": "suffix" } }, - "ground_colors": { + "by_system_picture": { "type": "list", "args": { - "list_name": "ground_colors" + "param_id": "suffix" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "artists": { + "writing_formats": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "resource_pictures": { + "by_system_picture": { "type": "list", "args": { - "list_name": "resource_pictures" + "param_id": "suffix" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "system_pictures": { + "license_groups": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 + } + }, + "by_resource_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "licenses": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none", + "max_page_size": -1, + "order": "name", + "direction": 1 + } + }, + "by_license_group": { + "type": "list", + "args": { + "param_id": "suffix", + "order": "name", + "direction": 1 + } + }, + "by_system_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "authors": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none" + } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "artists": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "system_pictures": { + "actions": { + "index": { + "type": "list", "args": { - "list_name": "public" + "param_id": "none" } + }, + "show": { + "type": "show" } } }, @@ -782,119 +1308,169 @@ "scrolls": { "type": "list", "args": { - "item_name": "scroll", - "list_name": "private" + "item_name": "scroll" } }, "scroll_panels": { "type": "list", "args": { - "item_name": "scroll_panel", - "list_name": "private" + "item_name": "scroll_panel" } }, "comics": { "type": "list", "args": { - "item_name": "comic", - "list_name": "private" + "item_name": "comic" + } + }, + "comic_stories": { + "type": "list", + "args": { + "item_name": "comic_story" } }, "stories": { "type": "list", "args": { - "item_name": "story", - "list_name": "private" + "item_name": "story" } }, "story_sheets": { "type": "list", "args": { - "item_name": "story_sheet", - "list_name": "private" + "item_name": "story_sheet" } }, "sheets": { "type": "list", "args": { - "item_name": "sheet", - "list_name": "private" + "item_name": "sheet" } }, "sheet_panels": { "type": "list", "args": { - "item_name": "sheet_panel", - "list_name": "private" + "item_name": "sheet_panel" } }, "panels": { "type": "list", "args": { - "item_name": "panel", - "list_name": "private" + "item_name": "panel" } }, "panel_pictures": { "type": "list", "args": { - "item_name": "panel_picture", - "list_name": "private" + "item_name": "panel_picture" } }, "speech_balloons": { "type": "list", "args": { - "item_name": "speech_balloon", - "list_name": "private" + "item_name": "speech_balloon" } }, "speeches": { "type": "list", "args": { - "item_name": "speech", - "list_name": "private" + "item_name": "speech" } }, "balloons": { "type": "list", "args": { - "item_name": "balloon", - "list_name": "private" + "item_name": "balloon" } }, "ground_pictures": { "type": "list", "args": { - "item_name": "ground_picture", - "list_name": "private" + "item_name": "ground_picture" } }, "ground_colors": { "type": "list", "args": { - "item_name": "ground_color", - "list_name": "private" + "item_name": "ground_color" } }, "original_pictures": { "type": "list", "args": { - "item_name": "original_picture", - "list_name": "private" + "item_name": "original_picture" } }, "resource_pictures": { "type": "list", "args": { - "item_name": "resource_picture", - "list_name": "private" + "item_name": "resource_picture" } } } } }, "models": { + "folder": { + "associations": { + "belongs_to": {}, + "has_many": {} + }, + "attributes": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "controller_name": { + "type": "text", + "rules": {} + }, + "action_name": { + "type": "text", + "rules": {} + }, + "category_id": { + "type": "number" + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "parent_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "lft": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "rgt": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "depth": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, "scroll": { "associations": { "belongs_to": { @@ -903,7 +1479,7 @@ "has_many": { "scroll_panels": {}, "panels": { - "through": "scroll_panel" + "through": "scroll_panels" } } }, @@ -938,9 +1514,6 @@ "number": true } } - }, - "tree": { - "scroll_owner": "author" } }, "scroll_panel": { @@ -973,18 +1546,7 @@ "number": true, "min": 0 } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } } - }, - "tree": { - "owner": "scroll", - "scroll_owner": "scroll" } }, "comic": { @@ -993,7 +1555,10 @@ "author": {} }, "has_many": { - "stories": {} + "comic_stories": {}, + "stories": { + "through": "comic_stories" + } } }, "attributes": { @@ -1027,17 +1592,51 @@ "number": true } } + } + }, + "comic_story": { + "associations": { + "belongs_to": { + "comic": {}, + "story": {} + }, + "has_many": {} }, - "tree": { - "comic_owner": "author" + "attributes": { + "comic_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "story_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + } } }, "story": { "associations": { "belongs_to": { - "comic": {} + "author": {} }, "has_many": { + "comic_stories": {}, + "comics": { + "through": "comic_stories" + }, "story_sheets": {}, "sheets": { "through": "story_sheets" @@ -1045,12 +1644,6 @@ } }, "attributes": { - "comic_id": { - "type": "number", - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": {} @@ -1079,11 +1672,14 @@ "select_item_name": "story_visible_items" } } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "tree": { - "owner": "comic", - "comic_owner": "comic" } }, "story_sheet": { @@ -1114,18 +1710,7 @@ "number": true, "min": 0 } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } } - }, - "tree": { - "owner": "story", - "comic_owner": "story" } }, "sheet": { @@ -1183,9 +1768,6 @@ "number": true } } - }, - "tree": { - "sheet_owner": "author" } }, "sheet_panel": { @@ -1245,19 +1827,9 @@ "number": true } } - }, - "tree": { - "owner": "sheet", - "sheet_owner": "sheet" } }, "panel": { - "peta": { - "type": "root", - "args": { - "element_tree_name": "panel" - } - }, "associations": { "belongs_to": { "author": {} @@ -1315,7 +1887,7 @@ "source": { "type": "magic_number", "args": { - "select_item_name": "panel_visible_items" + "select_item_name": "panel_publish_items" } } }, @@ -1326,15 +1898,13 @@ "number": true } } - }, - "tree": { - "panel_owner": "author" } }, "panel_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -1406,18 +1976,13 @@ "min": 0 } } - }, - "tree": { - "owner": "panel", - "panel_owner": "panel", - "panel": "panel" } }, "speech_balloon": { - "extend_column_name": "classname", "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "speech_balloon_template": {} }, "has_many": {}, "has_one": { @@ -1439,7 +2004,7 @@ "number": true } }, - "classname": { + "speech_balloon_template_module_name": { "type": "text", "rules": { "required": true @@ -1461,7 +2026,7 @@ "min": 0 } }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} }, @@ -1469,18 +2034,14 @@ "type": "text", "rules": {} } - }, - "tree": { - "owner": "panel", - "panel_owner": "panel", - "panel": "panel" } }, "balloon": { "associations": { "belongs_to": { "speech_balloon": {}, - "system_picture": {} + "system_picture": {}, + "speech_balloon_template": {} }, "has_many": {} }, @@ -1491,6 +2052,19 @@ "number": true } }, + "speech_balloon_template_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "speech_balloon_template_module_name": { + "type": "text", + "rules": { + "required": true + } + }, "system_picture_id": { "type": "number", "rules": { @@ -1535,22 +2109,18 @@ "number": true } }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} } - }, - "tree": { - "owner": "speech_balloon", - "panel_owner": "speech_balloon", - "panel": "speech_balloon" } }, "speech": { "associations": { "belongs_to": { "speech_balloon": {}, - "writing_format": {} + "writing_format": {}, + "speech_balloon_template": {} }, "has_many": {} }, @@ -1561,6 +2131,19 @@ "number": true } }, + "speech_balloon_template_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "speech_balloon_template_module_name": { + "type": "text", + "rules": { + "required": true + } + }, "writing_format_id": { "type": "number", "source": { @@ -1571,9 +2154,15 @@ "number": true } }, - "content": { + "writing_format_module_name": { "type": "text", - "rules": {} + "rules": { + "required": true + } + }, + "content": { + "type": "text", + "rules": {} }, "font_size": { "type": "float", @@ -1651,21 +2240,21 @@ "type": "text", "rules": {} }, - "settings": { + "speech_balloon_template_settings": { + "type": "text", + "rules": {} + }, + "writing_format_settings": { "type": "text", "rules": {} } - }, - "tree": { - "owner": "speech_balloon", - "panel_owner": "speech_balloon", - "panel": "speech_balloon" } }, "ground_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -1734,11 +2323,6 @@ "min": 0 } } - }, - "tree": { - "owner": "panel", - "panel_owner": "panel", - "panel": "panel" } }, "ground_color": { @@ -1815,11 +2399,6 @@ "min": 0 } } - }, - "tree": { - "owner": "panel", - "panel_owner": "panel", - "panel": "panel" } }, "original_picture": { @@ -1828,7 +2407,8 @@ "artist": {} }, "has_many": { - "pictures": {} + "pictures": {}, + "resource_picture_pictures": {} }, "has_one": { "resource_picture": {} @@ -1890,10 +2470,17 @@ "associations": { "belongs_to": { "license": {}, - "artist": {} + "artist": {}, + "original_picture": {}, + "system_picture": {} }, - "has_many": {}, - "has_one": {} + "has_many": { + "panel_pictures": {}, + "ground_pictures": {} + }, + "has_one": { + "resource_picture_picture": {} + } }, "attributes": { "original_picture_id": { @@ -1957,21 +2544,26 @@ "required": true } }, - "artist_name": { - "type": "text", + "system_picture_id": { + "type": "number", "rules": { - "required": true + "required": true, + "number": true } }, - "credit": { + "license_group_settings": { "type": "text", "rules": {} }, - "settings": { + "credit_picture_settings": { + "type": "text", + "rules": {} + }, + "license_settings": { "type": "text", "rules": {} }, - "classname": { + "license_group_module_name": { "type": "text", "rules": { "required": true @@ -1983,10 +2575,15 @@ "associations": { "belongs_to": { "original_picture": {}, + "picture": {}, + "license_group": {}, "license": {}, - "artist": {} + "artist": {}, + "system_picture": {} + }, + "has_many": { + "resource_picture_pictures": {} }, - "has_many": {}, "has_one": {} }, "attributes": { @@ -1997,13 +2594,6 @@ "number": true } }, - "revision": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2038,6 +2628,13 @@ "number": true } }, + "license_group_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, "license_id": { "type": "number", "rules": { @@ -2051,17 +2648,22 @@ "required": true } }, - "artist_name": { - "type": "text", + "system_picture_id": { + "type": "number", "rules": { - "required": true + "required": true, + "number": true } }, - "credit": { + "license_group_settings": { "type": "text", "rules": {} }, - "settings": { + "credit_picture_settings": { + "type": "text", + "rules": {} + }, + "license_settings": { "type": "text", "rules": {} }, @@ -2072,7 +2674,124 @@ "number": true } }, - "classname": { + "license_group_module_name": { + "type": "text", + "rules": { + "required": true + } + } + } + }, + "resource_picture_picture": { + "associations": { + "belongs_to": { + "original_picture": {}, + "resource_picture": {}, + "picture": {} + }, + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "resource_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "original_picture_license_group": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license_group": {} + }, + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "license_group_id": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "model" + } + } + } + }, + "original_picture_license": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license": {}, + "system_picture": {} + }, + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "license_group_id": { + "type": "number", + "source": { + "type": "model" + }, + "rules": { + "required": true, + "number": true + } + }, + "license_id": { + "type": "number", + "source": { + "type": "filter", + "args": { + "resource_action_name": "by_license_group", + "filter_column_name": "license_group_id" + } + }, + "rules": { + "required": true, + "number": true + } + }, + "license_settings": { + "type": "text", + "rules": {} + }, + "license_group_module_name": { "type": "text", "rules": { "required": true @@ -2081,7 +2800,6 @@ } }, "speech_balloon_template": { - "extend_column_name": "classname", "associations": { "belongs_to": { "system_picture": {} @@ -2101,7 +2819,7 @@ "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2137,7 +2855,6 @@ } }, "writing_format": { - "extend_column_name": "classname", "associations": { "belongs_to": { "system_picture": {} @@ -2154,7 +2871,7 @@ "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2182,10 +2899,10 @@ } }, "license_group": { - "extend_column_name": "classname", "associations": { "belongs_to": {}, "has_many": { + "resource_pictures": {}, "licenses": {} }, "has_one": {} @@ -2197,7 +2914,7 @@ "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2235,6 +2952,12 @@ "number": true } }, + "license_group_module_name": { + "type": "text", + "rules": { + "required": true + } + }, "name": { "type": "text", "rules": { @@ -2260,11 +2983,11 @@ "required": true } }, - "settings": { + "license_group_settings": { "type": "text", "rules": {} }, - "credit_pictures": { + "credit_picture_settings": { "type": "text", "rules": {} } @@ -2313,7 +3036,7 @@ "required": true } }, - "author_id": { + "user_id": { "type": "number", "rules": { "required": true, @@ -2328,7 +3051,8 @@ "has_many": { "balloons": {}, "speech_balloon_templates": {}, - "licenses": {} + "licenses": {}, + "writing_formats": {} }, "has_one": {} }, @@ -2367,2951 +3091,985 @@ } } } - } - }, - "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" + }, + "circle_speech_balloon_speech_balloon": { + "attributes": {} + }, + "circle_speech_balloon_balloon": { + "attributes": {} + }, + "circle_speech_balloon_speech": { + "attributes": {} + }, + "plain_speech_balloon_speech_balloon": { + "attributes": {} + }, + "plain_speech_balloon_balloon": { + "attributes": {} + }, + "plain_speech_balloon_speech": { + "attributes": {} + }, + "square_speech_balloon_speech_balloon": { + "attributes": {} + }, + "square_speech_balloon_balloon": { + "attributes": {} + }, + "square_speech_balloon_speech": { + "attributes": {} + }, + "test_speech_balloon_speech_balloon": { + "attributes": { + "a": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "writing_formats": { - "has_route": 0, - "resource_items": { - "SimpleFormat": "pettanr_simple_format" + } + }, + "test_speech_balloon_balloon": { + "attributes": { + "b": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, - "elements": { - "PanelPicture": "panel_pictures", - "SpeechBalloon": "speech_balloons", - "GroundPicture": "ground_pictures", - "GroundColor": "ground_colors" + "test_speech_balloon_speech": { + "attributes": { + "c": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } }, - "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" + "pettanr_creative_commons_v30_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "official": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } } }, - "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": [ - ] - } - }, - "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", - "scroll_panels.by_author", - "comics.by_author", - "stories.by_author", - "sheets.by_author", - "sheet_panels.by_author", - "panels.by_author", - "panel_pictures.by_author", - "speech_balloons.by_author", - "balloons.by_author", - "speeches.by_author", - "ground_pictures.by_author", - "ground_colors.by_author" - ] + "pettanr_creative_commons_v30_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "artist": { - "column_names": [ - "name", - "author_id" - ], - "associations": { - "has_many": [ - "resource_pictures.by_artist" - ] + } + }, + "pettanr_creative_commons_v30_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true + } + }, + "caption": { + "type": "text", + "rules": {} + }, + "artist_url": { + "type": "text", + "rules": {} + }, + "source_url": { + "type": "text", + "rules": {} + }, + "more_permission_url": { + "type": "text", + "rules": {} } - }, - "system_picture": { - "column_names": [ - "ext", - "width", - "height", - "filesize", - "md5" - ], - "associations": { - "has_many": [ - "licenses.by_system_picture" - ] + } + }, + "pettanr_pettan_commons_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "official": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, - "filers": { - "scroll": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "title" - } - }, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + "pettanr_pettan_commons_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "scroll_panel": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "pettanr_pettan_commons_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, "caption": { - "type": "none" + "type": "text", + "rules": { + "required": true + } }, - "summary": {}, - "edit": { - "type": "none" + "sources": { + "type": "text", + "rules": { + "required": true + } } - }, - "comic": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "title" - } - } + } + }, + "pettanr_pettan_protected_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "story": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "title_with_t" - } - }, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "story_sheet": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "official": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "sheet": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": {}, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "sheet_panel": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "panel": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "panel_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "speech_balloon": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_protected_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "plain_scenario" - } - }, - "link": { - "type": "none" - } + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } - }, - "summary": {}, - "edit": { - "type": "none" } - }, - "speech": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_protected_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "content" - } - }, - "link": { - "type": "none" - } + "type": "text", + "rules": { + "required": true } }, - "summary": {}, - "edit": { - "type": "none" + "sources": { + "type": "text", + "rules": { + "required": true + } } - }, - "balloon": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_public_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" - }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "ground_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "official": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "ground_color": { - "symbol": { - "type": "template", - "args": { - "template_name": "symbol" + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "original_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "revision" - } - }, - "link": { - "type": "action", - "args": { - "action_name": "history" - } - } + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "template", - "args": { - "template_name": "publish" + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + }, + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "revision" - } - } + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "resource_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_public_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "pettanr_pettan_public_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, "caption": { - "type": "none" + "type": "text", + "rules": { + "required": true + } }, - "summary": {}, - "edit": { - "type": "none" + "sources": { + "type": "text", + "rules": { + "required": true + } } - }, - "speech_balloon_template": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_public_domain_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": {}, - "summary": { - "type": "none" - }, - "edit": { - "type": "none" - } - }, - "writing_format": { - "symbol": {}, - "caption": {}, - "summary": { - "type": "none" + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "edit": { - "type": "none" - } - }, - "license_group": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "link": { - "type": "url_column", - "args": { - "column_name": "url" - } - } + "official": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": { - "type": "none" + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "edit": { - "type": "none" - } - }, - "license": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "caption_with_group" - } - }, - "link": { - "type": "url_column", - "args": { - "column_name": "url" - } - } + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "author": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "name" - } - } + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "account" - } - }, - "artist": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "name" - } - } + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "account" - } - }, - "system_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": { - "type": "none" + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "edit": { - "type": "none" + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, - "list_groups": { - "scroll": { - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_author": { - "type": "filter" - }, - "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": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_scroll": { - "type": "filter" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "filter", - "args": { - "tree_name": "scroll_owner" - } + "pettanr_public_domain_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "comic": { - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "comic_owner" - } + }, + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } } - }, - "story": { - "tree_name": "owner", - "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", - "args": { - "tree_name": "comic_owner" - } - }, - "play": { - "type": "play" + } + }, + "pettanr_public_domain_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } - } - }, - "story_sheet": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_story": { - "type": "filter" - }, - "by_sheet": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "comic_owner" - } + }, + "source_url": { + "type": "text", + "rules": { + "required": true } - } - }, - "sheet": { - "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" + }, + "note": { + "type": "text", + "rules": { + "required": true } } - }, - "sheet_panel": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_sheet": { - "type": "filter" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "sheet_owner" - } + } + }, + "pettanr_unknown_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "panel": { - "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" + }, + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "panel_picture": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "panel_owner" - } + }, + "official": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "speech_balloon": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_speech_balloon_template": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "panel_owner" - } + }, + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "speech": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_speech_balloon": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "panel_owner" - } + }, + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "balloon": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "by_speech_balloon": { - "type": "filter" - }, - "by_writing_format": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "panel_owner" - } + }, + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "ground_picture": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "panel_owner" - } + }, + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "ground_color": { - "tree_name": "owner", - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "panel_owner" - } + }, + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "original_picture": { - "lists": { - "private": { - "type": "private" + }, + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "picture": {}, - "resource_picture": { - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_original_picture": { - "type": "filter" - }, - "by_license": { - "type": "filter" - }, - "by_artist": { - "type": "filter" + }, + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "speech_balloon_template": { - "lists": { - "public": { - "type": "public" - }, - "select_items": { - "type": "system_resource" + }, + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true } } - }, - "writing_format": { - "lists": { - "public": { - "type": "public" - }, - "select_items": { - "type": "system_resource" - }, - "by_system_picture": { - "type": "filter" + } + }, + "pettanr_unknown_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "license_group": { - "lists": { - "public": { - "type": "public" - }, - "select_items": { - "type": "system_resource" + }, + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } } - }, - "license": { - "lists": { - "public": { - "type": "public" - }, - "by_license_group": { - "type": "filter" - }, - "by_system_picture": { - "type": "filter" + } + }, + "pettanr_unknown_v01_licenses_attribute": { + "attributes": { + "source_url": { + "type": "text", + "rules": { + "required": true } - } - }, - "author": { - "lists": { - "public": { - "type": "public" + }, + "note": { + "type": "text", + "rules": { + "required": true } } + } + } + }, + "system_resources": { + "templates": { + "license_group": { + "template_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" + } }, - "artist": { - "lists": { - "public": { - "type": "public" - } + "speech_balloon_template": { + "template_items": { + "CircleSpeechBalloon": "circle_speech_balloon", + "PlainSpeechBalloon": "plain_speech_balloon", + "SquareSpeechBalloon": "square_speech_balloon" } }, - "system_picture": { - "lists": { - "public": { - "type": "public" - } + "writing_format": { + "has_route": 0, + "template_items": { + "PettanrSimpleFormat": "pettanr_simple_format" } } }, - "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" - } - } - }, - "visible": { - "args": { - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "title", - "description", - "visible", - "id", - "author_id" - ] - }, - "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" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "scroll_id", - "panel_id", - "t", - "id" - ] - }, - "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" - }, - "row_break": true - } - }, - "id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "title", - "description", - "visible", - "id", - "author_id" - ] - }, - "story": { - "fields": { - "comic_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "title": { - "args": { - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "description": { - "args": { - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text_area" - }, - "row_break": true - } - }, - "visible": { - "args": { - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "t": { - "args": { - "tag": { - "type": "number" - } - } - }, - "id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "comic_id", - "title", - "description", - "visible", - "t", - "id", - "author_id" - ] - }, - "story_sheet": { - "fields": { - "story_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "number" - } - } - }, - "sheet_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "number" - } - } - }, - "t": { - "args": { - "tag": { - "type": "number" - } - } - }, - "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 - } - }, - "width": { - "args": { - "tag": { - "type": "number" - } - } - }, - "height": { - "args": { - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "visible": { - "args": { - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "width", - "height", - "visible", - "id", - "author_id" - ] - }, - "sheet_panel": { - "fields": { - "sheet_id": { - "args": { - "tag": { - "type": "number" - } - } - }, - "panel_id": { - "args": { - "tag": { - "type": "number" - } - } - }, - "x": { - "args": { - "tag": { - "type": "number" - } - } - }, - "y": { - "args": { - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "z": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "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 - } - }, - "width": { - "args": { - "tag": { - "type": "number" - } - } - }, - "height": { - "args": { - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "border": { - "args": { - "tag": { - "type": "number" - } - } - }, - "publish": { - "args": { - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "width", - "height", - "border", - "publish", - "id", - "author_id" - ] - }, - "panel_picture": { - "fields": { - "caption": { - "args": { - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "x": { - "args": { - "tag": { - "type": "number" - } - } - }, - "y": { - "args": { - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "width": { - "args": { - "tag": { - "type": "number" - }, - "helpers": { - "size": { - "type": "size", - "args": { - "dom_class": "panel_picture_width_tool" - } - } - }, - "row_break": true - } - }, - "height": { - "args": { - "tag": { - "type": "number" - }, - "helpers": { - "size": { - "type": "size", - "args": { - "dom_class": "panel_picture_height_tool" - } - } - }, - "row_break": true - } - }, - "link": { - "args": { - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "picture_id": { - "args": { - "tag": { - "type": "hidden" - }, - "helpers": { - "popup": { - "type": "popup", - "args": { - "source": "pictures" - } - } - } - } - }, - "z": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "label": { - "type": "none" - }, - "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" - } - } - }, - "speech_balloon.panel_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.speech_balloon_template_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.caption": { - "args": { - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "speech_balloon.z": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.t": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.classname": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.settings": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.id": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.speech_balloon_id": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.system_picture_id": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "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" - } - } - }, - "balloon.y": { - "type": "part", - "args": { - "label": {}, - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "balloon.width": { - "type": "part", - "args": { - "tag": { - "type": "number" - } - } - }, - "balloon.height": { - "type": "part", - "args": { - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "balloon.settings": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.id": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.speech_balloon_id": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.x": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.y": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.width": { - "type": "part", - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "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" - }, - "tag": { - "type": "hidden" - } - } - }, - "picture_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "caption": { - "args": { - "tag": { - "type": "text" - }, - "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" - } - } - }, - "y": { - "args": { - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "z": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "repeat", - "x", - "y", - "z", - "t", - "id", - "panel_id", - "picture_id" - ] - }, - "ground_color": { - "fields": { - "id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "caption": { - "args": { - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "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" - }, - "row_break": true - } - }, - "xy": { - "args": { - "tag": { - "type": "number" - } - } - }, - "wh": { - "args": { - "tag": { - "type": "number" - }, - "row_break": true - } - }, - "z": { - "args": { - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "label": { - "type": "none" - }, - "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" - } - } - }, - "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" - ] - } + "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_publish_items": [ + [ + "select_items.panel.publish.private", + 0 + ], + [ + "select_items.panel.publish.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": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。" }, - "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" - ] - } + "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" + ] } } \ No newline at end of file