@forge/manifest

13.8.1-next.0-experimental-1e9569613.9.0-next.3
out/schema/manifest-schema.json
~out/schema/manifest-schema.jsonModified
+53
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -3282,8 +3282,61 @@
                                             "endpoint"
                                         ]
                                     }
                                 ]
+                            },
+                            "migration": {
+                                "type": "object",
+                                "properties": {
+                                    "from": {
+                                        "type": "array",
+                                        "minItems": 1,
+                                        "items": {
+                                            "type": "string",
+                                            "minLength": 1,
+                                            "maxLength": 255,
+                                            "pattern": "^[a-zA-Z0-9-_]+$"
+                                        }
+                                    },
+                                    "migrate": {
+                                        "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"
+                                                ]
+                                            }
+                                        ]
+                                    }
+                                },
+                                "required": [
+                                    "from",
+                                    "migrate"
+                                ]
                             }
                         },
                         "required": [
                             "title",