npm package diff

Package: @forge/manifest

Versions: 7.9.0-next.1 - 7.9.0-next.2

File: package/out/schema/manifest-schema.json

Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -748,13 +748,45 @@
                 "remote": {
                     "type": "array",
                     "items": {
                         "$schema": "http://json-schema.org/draft-07/schema#",
-                        "additionalProperties": true,
+                        "additionalProperties": false,
                         "description": "A Forge Remote definition.",
                         "properties": {
                             "baseUrl": {
-                                "type": "string"
+                                "oneOf": [
+                                    {
+                                        "type": "string"
+                                    },
+                                    {
+                                        "type": "object",
+                                        "propertyNames": {
+                                            "enum": [
+                                                "EU",
+                                                "US",
+                                                "AU",
+                                                "DE",
+                                                "SG",
+                                                "CA",
+                                                "IN",
+                                                "KR",
+                                                "JP",
+                                                "GB",
+                                                "CH",
+                                                "default"
+                                            ]
+                                        },
+                                        "patternProperties": {
+                                            ".+": {
+                                                "type": "string",
+                                                "minLength": 1
+                                            }
+                                        },
+                                        "required": [
+                                            "default"
+                                        ]
+                                    }
+                                ]
                             },
                             "operations": {
                                 "type": "array",
                                 "items": {
@@ -1407,24 +1439,116 @@
                                                 "description": "Enable config for UI Kit 2"
                                             },
                                             {
                                                 "type": "object",
+                                                "additionalProperties": false,
                                                 "properties": {
                                                     "function": {
                                                         "type": "string",
                                                         "minLength": 1,
                                                         "maxLength": 255,
                                                         "pattern": "^[a-zA-Z0-9-_]+$"
+                                                    }
+                                                }
+                                            },
+                                            {
+                                                "type": "object",
+                                                "additionalProperties": false,
+                                                "properties": {
+                                                    "title": {
+                                                        "oneOf": [
+                                                            {
+                                                                "type": "object",
+                                                                "additionalProperties": false,
+                                                                "properties": {
+                                                                    "i18n": {
+                                                                        "type": "string",
+                                                                        "minLength": 1,
+                                                                        "maxLength": 300,
+                                                                        "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
+                                                                    }
+                                                                },
+                                                                "required": [
+                                                                    "i18n"
+                                                                ]
+                                                            },
+                                                            {
+                                                                "type": "string",
+                                                                "minLength": 1,
+                                                                "maxLength": 255
+                                                            }
+                                                        ]
                                                     },
+                                                    "title__i18n": {
+                                                        "type": "string",
+                                                        "minLength": 1,
+                                                        "maxLength": 300,
+                                                        "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
+                                                    },
+                                                    "resource": {
+                                                        "type": "string",
+                                                        "minLength": 1,
+                                                        "maxLength": 23,
+                                                        "pattern": "^[a-zA-Z0-9_\\-]+$"
+                                                    },
                                                     "render": {
                                                         "enum": [
                                                             "native",
                                                             "default"
                                                         ],
                                                         "type": "string",
                                                         "default": "default"
+                                                    },
+                                                    "resolver": {
+                                                        "anyOf": [
+                                                            {
+                                                                "additionalProperties": false,
+                                                                "type": "object",
+                                                                "properties": {
+                                                                    "function": {
+                                                                        "type": "string",
+                                                                        "minLength": 1,
+                                                                        "maxLength": 255,
+                                                                        "pattern": "^[a-zA-Z0-9-_]+$"
+                                                                    }
+                                                                },
+                                                                "required": [
+                                                                    "function"
+                                                                ]
+                                                            },
+                                                            {
+                                                                "additionalProperties": false,
+                                                                "type": "object",
+                                                                "properties": {
+                                                                    "endpoint": {
+                                                                        "type": "string",
+                                                                        "minLength": 1,
+                                                                        "maxLength": 255,
+                                                                        "pattern": "^[a-zA-Z0-9-_]+$"
+                                                                    }
+                                                                },
+                                                                "required": [
+                                                                    "endpoint"
+                                                                ]
+                                                            }
+                                                        ]
+                                                    },
+                                                    "viewportSize": {
+                                                        "type": "string",
+                                                        "minLength": 1,
+                                                        "maxLength": 255,
+                                                        "enum": [
+                                                            "small",
+                                                            "medium",
+                                                            "large",
+                                                            "xlarge",
+                                                            "max"
+                                                        ]
                                                     }
-                                                }
+                                                },
+                                                "required": [
+                                                    "resource"
+                                                ]
                                             }
                                         ]
                                     },
                                     "data": {