npm package diff
Package: @forge/cli
Versions: 12.8.0-next.18-experimental-003d118 - 12.8.0-next.24
File: package/out/custom-scopes/validation/schema.json
Index: package/out/custom-scopes/validation/schema.json
===================================================================
--- package/out/custom-scopes/validation/schema.json
+++ package/out/custom-scopes/validation/schema.json
@@ -0,0 +1,48 @@
+{
+ "title": "Custom Scopes Data",
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$comment": "Note: schema.json is generated from schema.yaml",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "version": {
+ "type": "number",
+ "exclusiveMinimum": 0,
+ "enum": [
+ 1
+ ]
+ },
+ "scopes": {
+ "type": "object",
+ "minProperties": 1,
+ "maxProperties": 20,
+ "additionalProperties": false,
+ "patternProperties": {
+ "^[-.:_a-zA-Z0-9]{1,93}:custom$": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 2048
+ },
+ "displayName": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 100,
+ "$comment": "Scope name suitable for displaying to end users."
+ }
+ },
+ "required": [
+ "description"
+ ]
+ }
+ }
+ }
+ },
+ "required": [
+ "version",
+ "scopes"
+ ]
+}