X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=public%2Fmanifest.json;h=555e8dd8dcf4eb392e6a2c5fc7080224d999774a;hb=164417415e699a755f774e5a0308a7d0fb67d1e9;hp=a3505c500a9f1369551aaa7d77ce1a4da8aa0531;hpb=023a6d25b8380fa6ecd7f0f2d0a5a426091007b7;p=pettanr%2Fpettanr.git diff --git a/public/manifest.json b/public/manifest.json index a3505c50..555e8dd8 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,5 +1,245 @@ { + "items": { + "folder": {}, + "scroll": { + "type": "binder", + "args": {} + }, + "scroll_panel": { + "type": "leaf", + "args": { + "parent_model_name": "scroll", + "destination_model_name": "panel" + } + }, + "comic": { + "type": "binder", + "args": {} + }, + "comic_story": { + "type": "leaf", + "args": { + "parent_model_name": "comic", + "destination_model_name": "story" + } + }, + "story": { + "type": "binder", + "args": {} + }, + "story_sheet": { + "type": "leaf", + "args": { + "parent_model_name": "story", + "destination_model_name": "sheet" + } + }, + "sheet": { + "type": "root", + "args": {} + }, + "sheet_panel": { + "type": "element", + "args": { + "parent_model_name": "sheet" + } + }, + "panel": { + "type": "root", + "args": {} + }, + "panel_picture": { + "type": "element", + "args": { + "parent_model_name": "panel" + } + }, + "speech_balloon": { + "type": "element", + "args": { + "parent_model_name": "panel", + "boost": { + "speech_balloon_template": { + "extend_model_class_name": "SpeechBalloon", + "item_name_for_extend_model": "speech_balloon" + } + } + } + }, + "balloon": { + "type": "element", + "args": { + "parent_model_name": "speech_balloon", + "boost": { + "speech_balloon_template": { + "extend_model_class_name": "Balloon", + "item_name_for_extend_model": "balloon" + } + } + } + }, + "speech": { + "type": "element", + "args": { + "parent_model_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_model_name": "panel" + } + }, + "ground_color": { + "type": "element", + "args": { + "parent_model_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" + } + } + } + }, + "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_model_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": { + "list_name": "public" + } + }, + "show": { + "type": "show" + }, + "watch": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "destroy": { + "type": "destroy" + } + } + }, "scrolls": { "actions": { "index": { @@ -17,6 +257,7 @@ "play": { "type": "list", "args": { + "item_name": "scroll_panel", "list_name": "play" } }, @@ -40,6 +281,15 @@ }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -57,6 +307,9 @@ "by_scroll": { "type": "list" }, + "by_author": { + "type": "list" + }, "show": { "type": "show" }, @@ -72,11 +325,23 @@ "count_by_scroll": { "type": "count" }, + "count_by_author": { + "type": "count" + }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -88,9 +353,19 @@ "list_name": "public" } }, + "by_story": { + "type": "list" + }, "by_author": { "type": "list" }, + "play": { + "type": "list", + "args": { + "item_name": "comic_story", + "list_name": "play" + } + }, "show": { "type": "show" }, @@ -100,6 +375,9 @@ "list_name": "public" } }, + "count_by_story": { + "type": "count" + }, "count_by_author": { "type": "count" }, @@ -108,10 +386,19 @@ }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "stories": { + "comic_stories": { "actions": { "index": { "type": "list", @@ -120,17 +407,64 @@ } }, "by_comic": { + "type": "list" + }, + "by_story": { + "type": "list" + }, + "show": { + "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_comic": { "type": "count" }, - "by_sheet": { + "count_by_story": { "type": "count" }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "stories": { + "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_comic": { + "type": "list" + }, + "by_sheet": { + "type": "list" + }, "by_author": { "type": "list" }, "play": { "type": "list", "args": { + "item_name": "story_sheet", "list_name": "play" } }, @@ -143,6 +477,12 @@ "list_name": "public" } }, + "count_by_comic": { + "type": "count" + }, + "count_by_sheet": { + "type": "count" + }, "count_by_author": { "type": "count" }, @@ -151,6 +491,15 @@ }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -168,6 +517,9 @@ "by_sheet": { "type": "list" }, + "by_author": { + "type": "list" + }, "show": { "type": "show" }, @@ -183,11 +535,23 @@ "count_by_sheet": { "type": "count" }, + "count_by_author": { + "type": "count" + }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -211,6 +575,7 @@ "play": { "type": "list", "args": { + "item_name": "sheet_panel", "list_name": "play" } }, @@ -237,6 +602,15 @@ }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -254,6 +628,9 @@ "by_panel": { "type": "list" }, + "by_author": { + "type": "list" + }, "show": { "type": "show" }, @@ -269,11 +646,23 @@ "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" } } }, @@ -323,6 +712,15 @@ }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -354,6 +752,12 @@ }, "count_by_author": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -371,6 +775,9 @@ "by_author": { "type": "list" }, + "by_speech_balloon_template": { + "type": "list" + }, "show": { "type": "show" }, @@ -385,6 +792,15 @@ }, "count_by_author": { "type": "count" + }, + "count_by_speech_balloon_template": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -396,7 +812,7 @@ "list_name": "public" } }, - "by_writing_format": { + "by_author": { "type": "list" }, "show": { @@ -408,8 +824,14 @@ "list_name": "public" } }, - "count_by_writing_format": { + "count_by_author": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -421,6 +843,9 @@ "list_name": "public" } }, + "by_author": { + "type": "list" + }, "show": { "type": "show" }, @@ -429,6 +854,15 @@ "args": { "list_name": "public" } + }, + "count_by_author": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -460,6 +894,12 @@ }, "count_by_author": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -491,6 +931,12 @@ }, "count_by_author": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -505,18 +951,54 @@ "show": { "type": "show" }, + "history": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public" + "list_name": "private" } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, "pictures": { "actions": { + "index": { + "type": "list", + "args": { + "list_name": "public" + } + }, + "by_artist": { + "type": "list" + }, "show": { "type": "show" + }, + "count": { + "type": "count", + "args": { + "list_name": "public" + } + }, + "count_by_artist": { + "type": "count" } } }, @@ -528,6 +1010,9 @@ "list_name": "public" } }, + "by_license_group": { + "type": "list" + }, "by_license": { "type": "list" }, @@ -543,6 +1028,9 @@ "list_name": "public" } }, + "count_by_license_group": { + "type": "count" + }, "count_by_license": { "type": "count" }, @@ -559,6 +1047,9 @@ "list_name": "public" } }, + "by_panel": { + "type": "list" + }, "show": { "type": "show" }, @@ -567,6 +1058,24 @@ "args": { "list_name": "public" } + }, + "count_by_panel": { + "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -592,6 +1101,21 @@ }, "count_by_system_picture": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -611,6 +1135,21 @@ "args": { "list_name": "public" } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -642,6 +1181,21 @@ }, "count_by_system_picture": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -653,60 +1207,6 @@ "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" }, @@ -721,6 +1221,15 @@ }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -732,12 +1241,6 @@ "list_name": "public" } }, - "resource_pictures": { - "type": "list", - "args": { - "list_name": "resource_pictures" - } - }, "show": { "type": "show" }, @@ -752,6 +1255,15 @@ }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -892,6 +1404,66 @@ } }, "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": { @@ -900,18 +1472,11 @@ "has_many": { "scroll_panels": {}, "panels": { - "through": "scroll_panel" + "through": "scroll_panels" } } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": { @@ -941,38 +1506,6 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "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" - } } } }, @@ -985,13 +1518,6 @@ "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "scroll_id": { "type": "number", "rules": { @@ -1013,36 +1539,6 @@ "number": true, "min": 0 } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "scroll" - }, - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_scroll": { - "type": "filter" - }, - "by_panel": { - "type": "filter" } } }, @@ -1052,17 +1548,13 @@ "author": {} }, "has_many": { - "stories": {} + "comic_stories": {}, + "stories": { + "through": "comic_stories" + } } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": { @@ -1092,32 +1584,52 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } + } + }, + "comic_story": { + "associations": { + "belongs_to": { + "comic": {}, + "story": {} + }, + "has_many": {} }, - "lists": { - "public": { - "type": "public" + "attributes": { + "comic_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "private": { - "type": "private" + "story_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "by_author": { - "type": "filter" + "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" @@ -1125,19 +1637,6 @@ } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, - "comic_id": { - "type": "number", - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": {} @@ -1167,37 +1666,12 @@ } } }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "comic" - }, - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_comic": { - "type": "filter" - }, - "by_sheet": { - "type": "through_filter", - "args": { - "through": "story_sheets" + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true } - }, - "by_author": { - "type": "foreign_filter" - }, - "play": { - "type": "play" } } }, @@ -1210,13 +1684,6 @@ "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "story_id": { "type": "number", "rules": { @@ -1236,36 +1703,6 @@ "number": true, "min": 0 } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "story" - }, - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_story": { - "type": "filter" - }, - "by_sheet": { - "type": "filter" } } }, @@ -1286,13 +1723,6 @@ } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "caption": { "type": "text", "rules": {} @@ -1330,38 +1760,6 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "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" } } }, @@ -1374,13 +1772,6 @@ "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "sheet_id": { "type": "number", "rules": { @@ -1428,29 +1819,6 @@ "rules": { "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "sheet" - }, - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_sheet": { - "type": "filter" - }, - "by_panel": { - "type": "filter" } } }, @@ -1475,13 +1843,6 @@ } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "width": { "type": "number", "rules": { @@ -1519,7 +1880,7 @@ "source": { "type": "magic_number", "args": { - "select_item_name": "panel_visible_items" + "select_item_name": "panel_publish_items" } } }, @@ -1529,38 +1890,6 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "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" } } }, @@ -1572,13 +1901,6 @@ "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -1645,44 +1967,14 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "panel", - "panel": "panel" - }, - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter", - "args": { - "where_name": "public_list_where" - } - }, - "by_author": { - "type": "foreign_filter", - "args": { - "tree_name": "owner" - } } } }, "speech_balloon": { - "extend": "classname", "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "speech_balloon_template": {} }, "has_many": {}, "has_one": { @@ -1691,13 +1983,6 @@ } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -1711,7 +1996,7 @@ "number": true } }, - "classname": { + "speech_balloon_template_module_name": { "type": "text", "rules": { "required": true @@ -1733,40 +2018,13 @@ "min": 0 } }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} }, "caption": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "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" } } }, @@ -1774,24 +2032,31 @@ "associations": { "belongs_to": { "speech_balloon": {}, - "system_picture": {} + "system_picture": {}, + "speech_balloon_template": {} }, "has_many": {} }, "attributes": { - "id": { + "speech_balloon_id": { "type": "number", - "primary_key": 1, "rules": { "number": true } }, - "speech_balloon_id": { + "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": { @@ -1836,36 +2101,9 @@ "number": true } }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "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" } } }, @@ -1873,24 +2111,31 @@ "associations": { "belongs_to": { "speech_balloon": {}, - "writing_format": {} + "writing_format": {}, + "speech_balloon_template": {} }, "has_many": {} }, "attributes": { - "id": { + "speech_balloon_id": { "type": "number", - "primary_key": 1, "rules": { "number": true } }, - "speech_balloon_id": { + "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": { @@ -1901,6 +2146,12 @@ "number": true } }, + "writing_format_module_name": { + "type": "text", + "rules": { + "required": true + } + }, "content": { "type": "text", "rules": {} @@ -1981,30 +2232,13 @@ "type": "text", "rules": {} }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "speech_balloon", - "panel": "speech_balloon" - }, - "lists": { - "public": { - "type": "public" - }, - "by_speech_balloon": { - "type": "filter" - }, - "by_writing_format": { - "type": "filter" + "writing_format_settings": { + "type": "text", + "rules": {} } } }, @@ -2016,13 +2250,6 @@ "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -2086,30 +2313,6 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "panel", - "panel": "panel" - }, - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter" } } }, @@ -2121,13 +2324,6 @@ "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -2193,30 +2389,6 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "tree": { - "owner": "panel", - "panel": "panel" - }, - "lists": { - "public": { - "type": "public" - }, - "private": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "foreign_filter" } } }, @@ -2233,13 +2405,6 @@ } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2288,17 +2453,6 @@ }, "stopped_at": { "type": "datetime" - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "private": { - "type": "private" } } }, @@ -2306,19 +2460,13 @@ "associations": { "belongs_to": { "license": {}, - "artist": {} + "artist": {}, + "system_picture": {} }, "has_many": {}, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "original_picture_id": { "type": "number", "rules": { @@ -2380,31 +2528,30 @@ "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": {} }, - "classname": { + "license_settings": { + "type": "text", + "rules": {} + }, + "license_group_module_name": { "type": "text", "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } } }, @@ -2412,20 +2559,15 @@ "associations": { "belongs_to": { "original_picture": {}, + "license_group": {}, "license": {}, - "artist": {} + "artist": {}, + "system_picture": {} }, "has_many": {}, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "original_picture_id": { "type": "number", "rules": { @@ -2433,13 +2575,6 @@ "number": true } }, - "revision": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2474,6 +2609,13 @@ "number": true } }, + "license_group_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, "license_id": { "type": "number", "rules": { @@ -2487,17 +2629,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": {} }, @@ -2508,31 +2655,94 @@ "number": true } }, - "classname": { + "license_group_module_name": { "type": "text", "rules": { "required": true } + } + } + }, + "original_picture_license_group": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license_group": {} }, - "created_at": { - "type": "datetime" + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "updated_at": { - "type": "datetime" + "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": {} }, - "lists": { - "public": { - "type": "public" + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "license_group_id": { + "type": "number", + "source": { + "type": "model" + }, + "rules": { + "required": true, + "number": true + } }, - "private": { - "type": "private" + "license_id": { + "type": "number", + "source": { + "type": "filter", + "args": { + "resource_list_name": "by_license_group", + "filter_column_name": "license_group_id" + } + }, + "rules": { + "required": true, + "number": true + } }, - "by_license": { - "type": "filter" + "license_settings": { + "type": "text", + "rules": {} }, - "by_artist": { - "type": "filter" + "license_group_module_name": { + "type": "text", + "rules": { + "required": true + } } } }, @@ -2550,20 +2760,13 @@ "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2595,23 +2798,6 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public": { - "type": "public" - }, - "select_items": { - "type": "system_resource", - "args": { - "select_item_name": "panel_visible_items" - } } } }, @@ -2626,20 +2812,13 @@ "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2663,23 +2842,6 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public": { - "type": "public" - }, - "select_items": { - "type": "system_resource" - }, - "by_system_picture": { - "type": "filter" } } }, @@ -2687,25 +2849,19 @@ "associations": { "belongs_to": {}, "has_many": { + "resource_pictures": {}, "licenses": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2722,20 +2878,6 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public": { - "type": "public" - }, - "select_items": { - "type": "system_resource" } } }, @@ -2751,17 +2893,16 @@ "has_one": {} }, "attributes": { - "id": { + "license_group_id": { "type": "number", - "primary_key": 1, "rules": { "number": true } }, - "license_group_id": { - "type": "number", + "license_group_module_name": { + "type": "text", "rules": { - "number": true + "required": true } }, "name": { @@ -2789,30 +2930,13 @@ "required": true } }, - "settings": { + "license_group_settings": { "type": "text", "rules": {} }, - "credit_pictures": { + "credit_picture_settings": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public": { - "type": "public" - }, - "by_license_group": { - "type": "filter" - }, - "by_system_picture": { - "type": "filter" } } }, @@ -2829,13 +2953,6 @@ "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { @@ -2848,17 +2965,6 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public": { - "type": "public" } } }, @@ -2871,36 +2977,18 @@ "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "author_id": { + "user_id": { "type": "number", "rules": { "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public": { - "type": "public" } } }, @@ -2910,18 +2998,12 @@ "has_many": { "balloons": {}, "speech_balloon_templates": {}, - "licenses": {} + "licenses": {}, + "writing_formats": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2954,3325 +3036,987 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "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" - } - }, - "writing_formats": { - "has_route": 0, - "resource_items": { - "SimpleFormat": "pettanr_simple_format" } } }, - "elements": { - "PanelPicture": "panel_pictures", - "SpeechBalloon": "speech_balloons", - "GroundPicture": "ground_pictures", - "GroundColor": "ground_colors" + "circle_speech_balloon_speech_balloon": { + "attributes": {} }, - "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" - } + "circle_speech_balloon_balloon": { + "attributes": {} }, - "provider_sources": [ - "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json" - ] - }, - "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" - } - }, - "column_names": [ - "id", - "title", - "description", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "scroll_panels.by_scroll", - "panels.by_scroll" - ] - } - }, - "scroll_panel": { - "lists": {}, - "columns": [ - "id", - "scroll_id", - "panel_id", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "scroll", - "panel" - ], - "has_many": [] - } - }, - "comic": { - "lists": { - "stories.by_comic": { - "model_name": "story", - "list_name": "by_comic" - } - }, - "columns": [ - "id", - "title", - "description", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "stories.by_comic" - ] - } - }, - "story": { - "lists": { - "story_sheets.by_story": { - "model_name": "story_sheet", - "list_name": "by_story" - }, - "sheets.by_story": { - "model_name": "sheet", - "list_name": "by_story" - } - }, - "columns": [ - "id", - "comic_id", - "title", - "description", - "t", - "visible", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "comic" - ], - "has_many": [ - "story_sheets.by_story", - "sheets.by_story" - ] - } - }, - "story_sheet": { - "lists": {}, - "columns": [ - "id", - "story_id", - "sheet_id", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "story", - "sheet" - ], - "has_many": [] - } - }, - "sheet": { - "lists": { - "story_sheets.by_sheet": { - "model_name": "story_sheet", - "list_name": "by_sheet" - }, - "stories.by_sheet": { - "model_name": "story", - "list_name": "by_sheet" - }, - "sheet_panels.by_sheet": { - "model_name": "sheet_panel", - "list_name": "by_sheet" - }, - "panels.by_sheet": { - "model_name": "panel", - "list_name": "by_sheet" - } - }, - "columns": [ - "id", - "caption", - "width", - "height", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "story_sheets.by_sheet", - "stories.by_sheet", - "sheet_panels.by_sheet", - "panels.by_sheet" - ] - } - }, - "sheet_panel": { - "lists": {}, - "columns": [ - "id", - "sheet_id", - "panel_id", - "x", - "y", - "z", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "sheet", - "panel" - ], - "has_many": [] - } - }, - "panel": { - "lists": { - "scroll_panels.by_panel": { - "model_name": "scroll_panel", - "list_name": "by_panel" - }, - "scrolls.by_panel": { - "model_name": "scroll", - "list_name": "by_panel" - }, - "sheet_panels.by_panel": { - "model_name": "sheet_panel", - "list_name": "by_panel" - }, - "sheets.by_panel": { - "model_name": "sheet", - "list_name": "by_panel" - }, - "panel_pictures.by_panel": { - "model_name": "panel_picture", - "list_name": "by_panel" - }, - "speech_balloons.by_panel": { - "model_name": "speech_balloon", - "list_name": "by_panel" - }, - "ground_pictures.by_panel": { - "model_name": "ground_picture", - "list_name": "by_panel" - }, - "ground_colors.by_panel": { - "model_name": "ground_color", - "list_name": "by_panel" - } - }, - "columns": [ - "id", - "width", - "height", - "border", - "caption", - "publish", - "author_id", - "created_at", - "updated_at" - ], - "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": { - "lists": {}, - "columns": [ - "id", - "panel_id", - "picture_id", - "caption", - "x", - "y", - "width", - "height", - "link", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] - } - }, - "speech_balloon": { - "lists": { - "balloon.by_speech_balloon": { - "model_name": "balloon", - "list_name": "by_speech_balloon" - }, - "speech.by_speech_balloon": { - "model_name": "speech", - "list_name": "by_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.by_speech_balloon", - "speech.by_speech_balloon" - ] - } - }, - "speech": { - "lists": {}, - "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": [] - } - }, - "balloon": { - "lists": {}, - "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": [] - } - }, - "ground_picture": { - "lists": {}, - "columns": [ - "id", - "panel_id", - "picture_id", - "caption", - "repeat", - "x", - "y", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] - } - }, - "ground_color": { - "lists": {}, - "columns": [ - "id", - "panel_id", - "caption", - "code", - "orientation", - "xy", - "wh", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] - } - }, - "original_picture": { - "lists": {}, - "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": [], - "has_one": [ - "resource_picture" - ] + "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 + } } - }, - "picture": { - "lists": {}, - "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": [] + } + }, + "test_speech_balloon_balloon": { + "attributes": { + "b": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "resource_picture": { - "lists": {}, - "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": [ - "original_picture", - "license", - "artist" - ], - "has_many": [], - "has_one": [] + } + }, + "test_speech_balloon_speech": { + "attributes": { + "c": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "speech_balloon_template": { - "lists": {}, - "columns": [ - "id", - "name", - "classname", - "caption", - "t", - "system_picture_id", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "system_picture" - ], - "has_many": [], - "has_one": [] + } + }, + "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 + } } - }, - "writing_format": { - "lists": { - "speeches.by_writing_format": { - "model_name": "speech", - "list_name": "by_writing_format" - } - }, - "columns": [ - "id", - "name", - "classname", - "caption", - "system_picture_id", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "system_picture" - ], - "has_many": [ - "speeches.by_writing_format" - ], - "has_one": [] + } + }, + "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 + } } - }, - "license_group": { - "lists": { - "licenses.by_license_group": { - "model_name": "license", - "list_name": "by_license_group" - } - }, - "columns": [ - "id", - "name", - "classname", - "caption", - "url", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "licenses.by_license_group" - ], - "has_one": [] + } + }, + "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": {} } - }, - "license": { - "lists": { - "resource_pictures.by_license": { - "model_name": "resource_picture", - "list_name": "by_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.by_license" - ], - "has_one": [] + } + }, + "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 + } } - }, - "author": { - "lists": { - "scrolls.by_author": { - "model_name": "scroll", - "list_name": "by_author" - }, - "comics.by_author": { - "model_name": "comic", - "list_name": "by_author" - }, - "stories.by_author": { - "model_name": "story", - "list_name": "by_author" - }, - "panels.by_author": { - "model_name": "panel", - "list_name": "by_author" - }, - "panel_pictures.by_author": { - "model_name": "panel_picture", - "list_name": "by_author" - }, - "speech_balloons.by_author": { - "model_name": "speech_balloon", - "list_name": "by_author" - }, - "ground_pictures.by_author": { - "model_name": "ground_picture", - "list_name": "by_author" - }, - "ground_colors.by_author": { - "model_name": "ground_color", - "list_name": "by_author" + } + }, + "pettanr_pettan_commons_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "columns": [ - "id", - "name", - "user_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "scrolls.by_author", - "comics.by_author", - "scrolls.by_author", - "stories.by_author", - "panels.by_author", - "panel_pictures.by_author", - "speech_balloons.by_author", - "ground_pictures.by_author", - "ground_colors.by_author" - ], - "has_one": [] - } - }, - "artist": { - "lists": { - "resource_pictures.by_artist": { - "model_name": "resource_picture", - "list_name": "by_artist" - } - }, - "columns": [ - "id", - "name", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "resource_pictures.by_artist" - ], - "has_one": [] - } - }, - "system_picture": { - "lists": { - "licenses.by_system_picture": { - "model_name": "license", - "list_name": "by_system_picture" - } - }, - "columns": [ - "id", - "ext", - "width", - "height", - "filesize", - "md5", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "licenses.by_system_picture" - ], - "has_one": [] + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, - "filers": { - "scroll": { - "symbol": {}, + "pettanr_pettan_commons_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true + } + }, "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "title" - } - }, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + "type": "text", + "rules": { + "required": true } }, - "summary": {}, - "edit": {} - }, - "scroll_panel": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "sources": { + "type": "text", + "rules": { + "required": true + } + } + } + }, + "pettanr_pettan_protected_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "comic": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "title" - } - } + "official": { + "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" - } - } + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "story_sheet": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" + "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 + } + }, + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "sheet": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": {}, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + } + }, + "pettanr_pettan_protected_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "sheet_panel": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "pettanr_pettan_protected_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 + } } - }, - "panel": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + } + }, + "pettanr_pettan_public_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "panel_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" + "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 + } + }, + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "speech_balloon": { - "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": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "plain_scenario" - } - }, - "link": { - "type": "none" - } + "type": "text", + "rules": { + "required": true } }, - "summary": {}, - "edit": { - "type": "none" + "sources": { + "type": "text", + "rules": { + "required": true + } } - }, - "speech": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_public_domain_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "content" - } - }, - "link": { - "type": "none" - } + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "balloon": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "official": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "ground_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "ground_color": { - "symbol": { - "type": "template", - "args": { - "template_name": "symbol" + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "original_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "sync_vh": { + "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" - } - } + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "template", - "args": { - "template_name": "publish" + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true } } - }, - "picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_public_domain_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "revision" - } - } + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } - }, - "summary": {}, - "edit": { - "type": "none" } - }, - "resource_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_public_domain_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, - "caption": { - "type": "none" + "source_url": { + "type": "text", + "rules": { + "required": true + } }, - "summary": {}, - "edit": { - "type": "none" + "note": { + "type": "text", + "rules": { + "required": true + } } - }, - "speech_balloon_template": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_unknown_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": {}, - "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": { - "lists": { - "public": {}, - "private": {}, - "by_comic": {}, - "by_sheet": {}, - "by_author": {}, - "play": {} - } - }, - "story_sheet": { - "lists": { - "public": {}, - "private": {}, - "by_story": {}, - "by_sheet": {} - } - }, - "sheet": { - "lists": { - "public": {}, - "private": {}, - "by_story": {}, - "by_panel": {}, - "by_author": {}, - "play": {} - } - }, - "sheet_panel": { - "lists": { - "public": {}, - "private": {}, - "by_sheet": {}, - "by_panel": {} - } - }, - "panel": { - "lists": { - "public": {}, - "private": {}, - "by_scroll": {}, - "by_sheet": {}, - "by_author": {}, - "by_speech_balloon_template": {} - } - }, - "panel_picture": { - "lists": { - "public": {}, - "private": {}, - "by_panel": {}, - "by_author": {} - } - }, - "speech_balloon": { - "lists": { - "public": {}, - "private": {}, - "by_panel": {}, - "by_speech_balloon_template": {}, - "by_author": {} - } - }, - "speech": { - "lists": { - "public": {}, - "by_speech_balloon": {}, - "by_writing_format": {} - } - }, - "balloon": { - "lists": { - "public": {}, - "by_speech_balloon": {} - } - }, - "ground_picture": { - "lists": { - "public": {}, - "private": {}, - "by_panel": {}, - "by_author": {} - } - }, - "ground_color": { - "lists": { - "public": {}, - "private": {}, - "by_panel": {}, - "by_author": {} - } - }, - "original_picture": { - "lists": { - "private": {} - } - }, - "picture": {}, - "resource_picture": { - "lists": { - "public": {}, - "private": {}, - "by_license": {}, - "by_artist": {} - } - }, - "speech_balloon_template": { - "lists": { - "public": {}, - "select_items": {} + "pettanr_unknown_v01_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 + } } - }, - "writing_format": { - "lists": { - "public": {}, - "select_items": {}, - "by_system_picture": {} + } + }, + "pettanr_unknown_v01_licenses_attribute": { + "attributes": { + "source_url": { + "type": "text", + "rules": { + "required": true + } + }, + "note": { + "type": "text", + "rules": { + "required": true + } } - }, + } + } + }, + "system_resources": { + "templates": { "license_group": { - "lists": { - "public": {}, - "select_items": {} - } - }, - "license": { - "lists": { - "public": {}, - "by_license_group": {}, - "by_system_picture": {} - } - }, - "author": { - "lists": { - "public": {} + "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": {} + "speech_balloon_template": { + "template_items": { + "CircleSpeechBalloon": "circle_speech_balloon", + "PlainSpeechBalloon": "plain_speech_balloon", + "SquareSpeechBalloon": "square_speech_balloon" } }, - "system_picture": { - "lists": { - "public": {} + "writing_format": { + "has_route": 0, + "template_items": { + "PettanrSimpleFormat": "pettanr_simple_format" } } }, - "elements": [ - { - "name": "panel_picture", - "path_name": "panel_pictures", - "parts": [] - }, - { - "name": "speech_balloon", - "path_name": "circle_speech_balloon/speech_balloons", - "parts": [ - "balloon", - "speech" + "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": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。" }, - { - "name": "ground_picture", - "path_name": "ground_pictures", - "parts": [] - }, - { - "name": "ground_color", - "path_name": "ground_colors", - "parts": [] - } - ], - "forms": { - "base": { - "scroll": { - "fields": { - "title": { - "args": { - "column": "title", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "description": { - "args": { - "column": "description", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text_area", - "args": { - "options": { - "size": "45x15" - } - } - } - } - }, - "visible": { - "args": { - "column": "visible", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "column": "author_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "title", - "description", - "visible", - "id", - "author_id" - ] - }, - "scroll_panel": { - "fields": { - "scroll_id": { - "args": { - "column": "scroll_id", - "label": {}, - "tag": { - "type": "number" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": {}, - "tag": { - "type": "number" - } - } - }, - "t": { - "args": { - "column": "t", - "label": {}, - "tag": { - "type": "number" - } - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "scroll_id", - "panel_id", - "t", - "id" - ] - }, - "comic": { - "fields": { - "title": { - "args": { - "column": "title", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "description": { - "args": { - "column": "description", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text_area", - "args": { - "options": { - "size": "45x15" - } - } - } - } - }, - "visible": { - "args": { - "column": "visible", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "column": "author_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "title", - "description", - "visible", - "id", - "author_id" - ] - }, - "story": { - "fields": { - "comic_id": { - "args": { - "column": "comic_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "title": { - "args": { - "column": "title", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "description": { - "args": { - "column": "description", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text_area", - "args": { - "options": { - "size": "45x15" - } - } - }, - "row_break": true - } - }, - "visible": { - "args": { - "column": "visible", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "t": { - "args": { - "column": "t", - "label": {}, - "tag": { - "type": "number" - } - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "column": "author_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "comic_id", - "title", - "description", - "visible", - "t", - "id", - "author_id" - ] - }, - "story_sheet": { - "fields": { - "story_id": { - "args": { - "column": "story_id", - "label": { - "type": "none" - }, - "tag": { - "type": "number" - } - } - }, - "sheet_id": { - "args": { - "column": "sheet_id", - "label": { - "type": "none" - }, - "tag": { - "type": "number" - } - } - }, - "t": { - "args": { - "column": "t", - "label": {}, - "tag": { - "type": "number" - } - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "story_id", - "sheet_id", - "t", - "id" - ] - }, - "sheet": { - "fields": { - "caption": { - "args": { - "column": "caption", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "width": { - "args": { - "column": "width", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "height": { - "args": { - "column": "height", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "visible": { - "args": { - "column": "visible", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "column": "author_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "width", - "height", - "visible", - "id", - "author_id" - ] - }, - "sheet_panel": { - "fields": { - "sheet_id": { - "args": { - "column": "sheet_id", - "label": {}, - "tag": { - "type": "number" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": {}, - "tag": { - "type": "number" - } - } - }, - "x": { - "args": { - "column": "x", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "y": { - "args": { - "column": "y", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "sheet_id", - "panel_id", - "x", - "y", - "z", - "t", - "id" - ] - }, - "panel": { - "fields": { - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "width": { - "args": { - "column": "width", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "height": { - "args": { - "column": "height", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "border": { - "args": { - "column": "border", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "publish": { - "args": { - "column": "publish", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "column": "author_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "width", - "height", - "border", - "publish", - "id", - "author_id" - ] - }, - "panel_picture": { - "fields": { - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "x": { - "args": { - "column": "x", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "y": { - "args": { - "column": "y", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "width": { - "args": { - "column": "width", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "helpers": { - "size": { - "type": "size", - "args": { - "path": "panels/size_helper", - "class": "panel_picture_width_tool" - } - } - }, - "row_break": true - } - }, - "height": { - "args": { - "column": "height", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "helpers": { - "size": { - "type": "size", - "args": { - "path": "panels/size_helper", - "class": "panel_picture_height_tool" - } - } - }, - "row_break": true - } - }, - "link": { - "args": { - "column": "link", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "picture_id": { - "args": { - "column": "picture_id", - "label": {}, - "tag": { - "type": "hidden" - }, - "helpers": { - "popup": { - "type": "size", - "args": { - "path": "panels/popup_helper", - "source": "pictures" - } - } - } - } - }, - "z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "column": "t", - "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": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.speech_balloon_template_id": { - "args": { - "column": "speech_balloon_template_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "speech_balloon.z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.classname": { - "args": { - "column": "classname", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.settings": { - "args": { - "column": "settings", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.id": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.speech_balloon_id": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "speech_balloon_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.system_picture_id": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "system_picture_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.r": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "r", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "helpers": { - "tail_angle": { - "type": "size", - "args": { - "path": "panels/tail_angle_helper" - } - } - }, - "row_break": true - } - }, - "balloon.x": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "x", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "balloon.y": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "y", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "balloon.width": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "width", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "balloon.height": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "height", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "balloon.settings": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "settings", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.id": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.speech_balloon_id": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "speech_balloon_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.x": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "x", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.y": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "y", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.width": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "width", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.height": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "height", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.writing_format_id": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "writing_format_id", - "label": {}, - "tag": { - "type": "select" - } - } - }, - "speech.font_size": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "font_size", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "speech.text_align": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "text_align", - "label": {}, - "tag": { - "type": "select" - } - } - }, - "speech.quotes": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "quotes", - "label": {}, - "tag": { - "type": "text", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "speech.content": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "content", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text_area", - "args": { - "options": { - "size": "45x5" - } - } - } - } - }, - "speech.fore_color": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "fore_color", - "label": { - "row_break": true - }, - "tag": { - "type": "hidden" - }, - "helpers": { - "color": { - "type": "size", - "args": { - "path": "panels/color_helper", - "wrapper": "speech-fore_color-wrap" - } - } - } - } - }, - "speech.settings": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "settings", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - } - }, - "ground_picture": { - "fields": { - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "picture_id": { - "args": { - "column": "picture_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "repeat": { - "args": { - "column": "repeat", - "label": {}, - "tag": { - "type": "select", - "args": { - "source": "magic_number", - "key": "ground_picture_repeat_items" - } - }, - "row_break": true - } - }, - "x": { - "args": { - "column": "x", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "y": { - "args": { - "column": "y", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "repeat", - "x", - "y", - "z", - "t", - "id", - "panel_id", - "picture_id" - ] - }, - "ground_color": { - "fields": { - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "code": { - "args": { - "column": "code", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "hidden" - }, - "helpers": { - "color": { - "type": "size", - "args": { - "path": "panels/color_helper", - "wrapper": "ground_color-code-wrap" - } - } - }, - "row_break": true - } - }, - "orientation": { - "args": { - "column": "orientation", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "xy": { - "args": { - "column": "xy", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "wh": { - "args": { - "column": "wh", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "id", - "panel_id", - "caption", - "code", - "orientation", - "xy", - "wh", - "z", - "t" - ] - }, - "author": { - "fields": { - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "name": { - "args": { - "column": "name", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text" - }, - "row_break": true - } - } - }, - "field_names": [ - "id", - "name" - ] - }, - "artist": { - "fields": { - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "name": { - "args": { - "column": "name", - "label": { - "args": { - "row_break": true - } - }, - "tag": { - "type": "text" - }, - "row_break": true - } - } - }, - "field_names": [ - "id", - "name" - ] - } + "admins": { + "caption": "site name for admin", + "url": "http://your.site.url/admins/", + "description": "admin register" }, - "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": { - "model": "balloon", - "part": "balloon", - "column": "r", - "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": { - "model": "balloon", - "part": "balloon", - "column": "r", - "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" - ] - } + "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