@forge/manifest

12.5.012.6.0-next.0
out/schema/manifest-schema.json
~out/schema/manifest-schema.jsonModified
+28−35
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -5188,13 +5188,8 @@
                                         "minLength": 1,
                                         "maxLength": 255,
                                         "pattern": "^[a-z0-9\\-]+$"
                                     },
-                                    "icon": {
-                                        "type": "string",
-                                        "minLength": 1,
-                                        "maxLength": 255
-                                    },
                                     "resource": {
                                         "type": "string",
                                         "minLength": 1,
                                         "maxLength": 23,
@@ -5250,8 +5245,13 @@
                                         }
                                     },
                                     "key": {
                                         "$ref": "#/definitions/ModuleKeySchema"
+                                    },
+                                    "icon": {
+                                        "type": "string",
+                                        "minLength": 1,
+                                        "maxLength": 255
                                     }
                                 },
                                 "required": [
                                     "resource",
@@ -5351,13 +5351,8 @@
                                         "minLength": 1,
                                         "maxLength": 255,
                                         "pattern": "^[a-z0-9\\-]+$"
                                     },
-                                    "icon": {
-                                        "type": "string",
-                                        "minLength": 1,
-                                        "maxLength": 255
-                                    },
                                     "unlicensedAccess": {
                                         "type": "array",
                                         "items": {
                                             "type": "string",
@@ -5368,8 +5363,13 @@
                                         }
                                     },
                                     "key": {
                                         "$ref": "#/definitions/ModuleKeySchema"
+                                    },
+                                    "icon": {
+                                        "type": "string",
+                                        "minLength": 1,
+                                        "maxLength": 255
                                     }
                                 },
                                 "required": [
                                     "resource",
@@ -11858,15 +11858,15 @@
                                         "minLength": 1,
                                         "maxLength": 255,
                                         "pattern": "^[a-z0-9\\-]+$"
                                     },
+                                    "key": {
+                                        "$ref": "#/definitions/ModuleKeySchema"
+                                    },
                                     "icon": {
                                         "type": "string",
                                         "minLength": 1,
                                         "maxLength": 255
-                                    },
-                                    "key": {
-                                        "$ref": "#/definitions/ModuleKeySchema"
                                     }
                                 },
                                 "required": [
                                     "resource",
@@ -11971,15 +11971,15 @@
                                         "minLength": 1,
                                         "maxLength": 255,
                                         "pattern": "^[a-z0-9\\-]+$"
                                     },
+                                    "key": {
+                                        "$ref": "#/definitions/ModuleKeySchema"
+                                    },
                                     "icon": {
                                         "type": "string",
                                         "minLength": 1,
                                         "maxLength": 255
-                                    },
-                                    "key": {
-                                        "$ref": "#/definitions/ModuleKeySchema"
                                     }
                                 },
                                 "required": [
                                     "resource",
@@ -29761,14 +29761,8 @@
                                         "minLength": 1,
                                         "maxLength": 300,
                                         "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
                                     },
-                                    "routePrefix": {
-                                        "type": "string",
-                                        "minLength": 1,
-                                        "maxLength": 255,
-                                        "pattern": "^[a-z0-9\\-]+$"
-                                    },
                                     "icon": {
                                         "type": "string",
                                         "minLength": 1,
                                         "maxLength": 255
@@ -29819,14 +29813,21 @@
                                         ]
                                     },
                                     "key": {
                                         "$ref": "#/definitions/ModuleKeySchema"
+                                    },
+                                    "render": {
+                                        "enum": [
+                                            "native"
+                                        ],
+                                        "type": "string",
+                                        "default": "native"
                                     }
                                 },
                                 "required": [
                                     "resource",
-                                    "routePrefix",
-                                    "key"
+                                    "key",
+                                    "render"
                                 ]
                             },
                             {
                                 "type": "object",
@@ -29908,20 +29909,13 @@
                                         "maxLength": 255
                                     },
                                     "render": {
                                         "enum": [
-                                            "native",
-                                            "default"
+                                            "native"
                                         ],
                                         "type": "string",
-                                        "default": "default"
+                                        "default": "native"
                                     },
-                                    "routePrefix": {
-                                        "type": "string",
-                                        "minLength": 1,
-                                        "maxLength": 255,
-                                        "pattern": "^[a-z0-9\\-]+$"
-                                    },
                                     "icon": {
                                         "type": "string",
                                         "minLength": 1,
                                         "maxLength": 255
@@ -29931,9 +29925,8 @@
                                     }
                                 },
                                 "required": [
                                     "resource",
-                                    "routePrefix",
                                     "render",
                                     "key"
                                 ]
                             }
@@ -33142,9 +33135,9 @@
             ],
             "shortClassName": "customContentAPISupportBean",
             "type": "object",
             "title": "Custom Content API Support",
-            "description": "\n\nThis property allows you to specify the container types your custom content can appear in, and its supported child content types.\n It also allows you to enable indexing of your custom content.\n\n\n\n\n\n    {\n      \"bodyType\": \"storage\",\n      \"supportedContainerTypes\": [\n        \"space\",\n        \"page\"\n      ],\n      \"supportedChildTypes\": [\n        \"attachment\",\n        \"comment\"\n      ],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n <p>In the above example, you'll see we specify content type keys in the <code>supportedContainerTypes</code> and <code>supportedChildTypes</code> fields.\n There are 2 categories of content type you can reference – built-in content and custom content.</p>\n\n <h3>Built-in content types example</h3>\n The following snippet shows the content type we're defining can:\n <ul>\n     <li>Be contained in a <code>space</code> or a <code>page</code></li>\n     <li>Have a child <code>comment</code> or a child <code>attachment</code></li>\n </ul>\n\n\n\n\n\n    {\n      \"bodyType\": \"storage\",\n      \"supportedContainerTypes\": [\n        \"space\",\n        \"page\"\n      ],\n      \"supportedChildTypes\": [\n        \"attachment\",\n        \"comment\"\n      ],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n\n <h3>Custom content example</h3>\n The following snippet shows the content type we're defining can:\n <ul>\n     <li>Be contained in a content with type <code>type1</code> or <code>type2</code>, defined in an add-on with the key <code>my-first-addon</code></li>\n     <li>Have a child of a content with type <code>type1</code> or <code>type2</code>, defined in an add-on with the key <code>my-second-addon</code></li>\n </ul>\n\n\n\n\n\n    {\n      \"bodyType\": \"storage\",\n      \"supportedContainerTypes\": [\n        \"ac:my-first-addon:type2\",\n        \"ac:my-first-addon:type1\"\n      ],\n      \"supportedChildTypes\": [\n        \"ac:my-second-addon:type1\",\n        \"ac:my-second-addon:type2\"\n      ],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n <h3>Raw body type custom content example</h3>\n You can define custom content to support a content body with a type of <code>raw</code>.<br>\n This is useful when you want to store, for example, stringified JSON to the content.\n\n\n\n\n\n    {\n      \"bodyType\": \"raw\",\n      \"supportedContainerTypes\": [\n        \"space\"\n      ],\n      \"supportedChildTypes\": [],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n Content with a raw body looks like this:\n <pre><code>\n {\n     \"title\": \"My title\",\n     \"space\": {\"key\": \"DS\"},\n     \"type\": \"ac:add-on-key:module-key\",\n     \"body\": {\n         \"raw\": {\n             \"value\": \"{\\\"field\\\": \\\"value\\\"}\",\n             \"representation\": \"raw\"\n         }\n     }\n }\n </code></pre>\n\n"
+            "description": "\n\nThis property allows you to specify the container types your custom content can appear in, and its supported child content types.\n It also allows you to enable indexing of your custom content.\n\n\n\n\n\n    {\n      \"bodyType\": \"storage\",\n      \"supportedContainerTypes\": [\n        \"space\",\n        \"page\"\n      ],\n      \"supportedChildTypes\": [\n        \"attachment\",\n        \"comment\"\n      ],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n <p>In the above example, you'll see we specify content type keys in the <code>supportedContainerTypes</code> and <code>supportedChildTypes</code> fields.\n There are 2 categories of content type you can reference \u2013 built-in content and custom content.</p>\n\n <h3>Built-in content types example</h3>\n The following snippet shows the content type we're defining can:\n <ul>\n     <li>Be contained in a <code>space</code> or a <code>page</code></li>\n     <li>Have a child <code>comment</code> or a child <code>attachment</code></li>\n </ul>\n\n\n\n\n\n    {\n      \"bodyType\": \"storage\",\n      \"supportedContainerTypes\": [\n        \"space\",\n        \"page\"\n      ],\n      \"supportedChildTypes\": [\n        \"attachment\",\n        \"comment\"\n      ],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n\n <h3>Custom content example</h3>\n The following snippet shows the content type we're defining can:\n <ul>\n     <li>Be contained in a content with type <code>type1</code> or <code>type2</code>, defined in an add-on with the key <code>my-first-addon</code></li>\n     <li>Have a child of a content with type <code>type1</code> or <code>type2</code>, defined in an add-on with the key <code>my-second-addon</code></li>\n </ul>\n\n\n\n\n\n    {\n      \"bodyType\": \"storage\",\n      \"supportedContainerTypes\": [\n        \"ac:my-first-addon:type2\",\n        \"ac:my-first-addon:type1\"\n      ],\n      \"supportedChildTypes\": [\n        \"ac:my-second-addon:type1\",\n        \"ac:my-second-addon:type2\"\n      ],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n <h3>Raw body type custom content example</h3>\n You can define custom content to support a content body with a type of <code>raw</code>.<br>\n This is useful when you want to store, for example, stringified JSON to the content.\n\n\n\n\n\n    {\n      \"bodyType\": \"raw\",\n      \"supportedContainerTypes\": [\n        \"space\"\n      ],\n      \"supportedChildTypes\": [],\n      \"supportedSpacePermissions\": [],\n      \"preventDuplicateTitle\": false,\n      \"indexing\": {\n        \"enabled\": true\n      }\n    }\n\n\n\n\n Content with a raw body looks like this:\n <pre><code>\n {\n     \"title\": \"My title\",\n     \"space\": {\"key\": \"DS\"},\n     \"type\": \"ac:add-on-key:module-key\",\n     \"body\": {\n         \"raw\": {\n             \"value\": \"{\\\"field\\\": \\\"value\\\"}\",\n             \"representation\": \"raw\"\n         }\n     }\n }\n </code></pre>\n\n"
         },
         "indexing": {
             "properties": {
                 "enabled": {