From c32e98dde2dc0cc0d7521edd65780f0265e39807 Mon Sep 17 00:00:00 2001 From: Tianshu Chu Date: Mon, 10 Jun 2024 13:30:19 -0700 Subject: [PATCH 1/3] Modify scopes under requirementsExtensionElement --- teams/v1.17/MicrosoftTeams.schema.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/teams/v1.17/MicrosoftTeams.schema.json b/teams/v1.17/MicrosoftTeams.schema.json index cd89d2e..16816be 100644 --- a/teams/v1.17/MicrosoftTeams.schema.json +++ b/teams/v1.17/MicrosoftTeams.schema.json @@ -1210,11 +1210,15 @@ "scopes": { "type": "array", "description": "Identifies the scopes in which the add-in can run.", - "maxItems": 1, + "minItems": 1, + "maxItems": 4, "items": { "type": "string", "enum": [ - "mail" + "mail", + "workbook", + "document", + "presentation" ] } }, From a45cebe16ae08bce16994632329ef66a557ab1a7 Mon Sep 17 00:00:00 2001 From: "Michael Faber (HE/HIM)" Date: Mon, 10 Jun 2024 16:33:32 -0500 Subject: [PATCH 2/3] add title & description to report definition schemas --- fabric/item/report/definition/bookmark/1.0.0/schema.json | 2 ++ .../item/report/definition/bookmarksMetadata/1.0.0/schema.json | 2 ++ .../definition/formattingObjectDefinitions/1.0.0/schema.json | 2 ++ fabric/item/report/definition/page/1.0.0/schema.json | 2 ++ fabric/item/report/definition/pagesMetadata/1.0.0/schema.json | 2 ++ fabric/item/report/definition/report/1.0.0/schema.json | 2 ++ fabric/item/report/definition/reportExtension/1.0.0/schema.json | 2 ++ fabric/item/report/definition/semanticQuery/1.0.0/schema.json | 2 ++ fabric/item/report/definition/versionMetadata/1.0.0/schema.json | 2 ++ fabric/item/report/definition/visualContainer/1.0.0/schema.json | 2 ++ .../definition/visualContainerMobileState/1.0.0/schema.json | 2 ++ 11 files changed, 22 insertions(+) diff --git a/fabric/item/report/definition/bookmark/1.0.0/schema.json b/fabric/item/report/definition/bookmark/1.0.0/schema.json index e20c6ec..e2dcb02 100644 --- a/fabric/item/report/definition/bookmark/1.0.0/schema.json +++ b/fabric/item/report/definition/bookmark/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/bookmark/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Bookmark", + "description": "Defines a bookmark that captures the state of a report.", "type": "object", "properties": { "displayName": { diff --git a/fabric/item/report/definition/bookmarksMetadata/1.0.0/schema.json b/fabric/item/report/definition/bookmarksMetadata/1.0.0/schema.json index a22857d..744d122 100644 --- a/fabric/item/report/definition/bookmarksMetadata/1.0.0/schema.json +++ b/fabric/item/report/definition/bookmarksMetadata/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/bookmarksMetadata/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Bookmarks metadata", + "description": "Defines additional information about standalone bookmarks or groups of related bookmarks.", "type": "object", "properties": { "items": { diff --git a/fabric/item/report/definition/formattingObjectDefinitions/1.0.0/schema.json b/fabric/item/report/definition/formattingObjectDefinitions/1.0.0/schema.json index f8accec..baef990 100644 --- a/fabric/item/report/definition/formattingObjectDefinitions/1.0.0/schema.json +++ b/fabric/item/report/definition/formattingObjectDefinitions/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/formattingObjectDefinitions/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Formatting Object Definitions", + "description": "Defines shared definitions for report object formatting.", "definitions": { "DataViewObjectDefinitions": { "type": "object", diff --git a/fabric/item/report/definition/page/1.0.0/schema.json b/fabric/item/report/definition/page/1.0.0/schema.json index 3271386..a3c760c 100644 --- a/fabric/item/report/definition/page/1.0.0/schema.json +++ b/fabric/item/report/definition/page/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Page", + "description": "Defines a single report page.", "type": "object", "properties": { "name": { diff --git a/fabric/item/report/definition/pagesMetadata/1.0.0/schema.json b/fabric/item/report/definition/pagesMetadata/1.0.0/schema.json index a968c01..b83aba2 100644 --- a/fabric/item/report/definition/pagesMetadata/1.0.0/schema.json +++ b/fabric/item/report/definition/pagesMetadata/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/pagesMetadata/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Pages metadata", + "description": "Defines additional information about the report's pages.", "type": "object", "properties": { "pageOrder": { diff --git a/fabric/item/report/definition/report/1.0.0/schema.json b/fabric/item/report/definition/report/1.0.0/schema.json index 1e6397f..f62696e 100644 --- a/fabric/item/report/definition/report/1.0.0/schema.json +++ b/fabric/item/report/definition/report/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/report/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Report", + "description": "Defines a report and its pages, visuals, settings, and additional information.", "type": "object", "properties": { "themeCollection": { diff --git a/fabric/item/report/definition/reportExtension/1.0.0/schema.json b/fabric/item/report/definition/reportExtension/1.0.0/schema.json index f2eaaa1..f8a454b 100644 --- a/fabric/item/report/definition/reportExtension/1.0.0/schema.json +++ b/fabric/item/report/definition/reportExtension/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/reportExtension/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Report extension", + "description": "Defines a report extension and its references.", "type": "object", "properties": { "name": { diff --git a/fabric/item/report/definition/semanticQuery/1.0.0/schema.json b/fabric/item/report/definition/semanticQuery/1.0.0/schema.json index 67686d7..e195b0e 100644 --- a/fabric/item/report/definition/semanticQuery/1.0.0/schema.json +++ b/fabric/item/report/definition/semanticQuery/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/semanticQuery/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Semantic Query", + "description": "Defines shared definitions for queries and filters.", "definitions": { "FilterDefinition": { "description": "Defines a filter element as a partial query structure", diff --git a/fabric/item/report/definition/versionMetadata/1.0.0/schema.json b/fabric/item/report/definition/versionMetadata/1.0.0/schema.json index 7b84b7a..d815e92 100644 --- a/fabric/item/report/definition/versionMetadata/1.0.0/schema.json +++ b/fabric/item/report/definition/versionMetadata/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/versionMetadata/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Version metadata", + "description": "Defines version information about the report definition.", "type": "object", "properties": { "$schema": { diff --git a/fabric/item/report/definition/visualContainer/1.0.0/schema.json b/fabric/item/report/definition/visualContainer/1.0.0/schema.json index 8814527..96142d2 100644 --- a/fabric/item/report/definition/visualContainer/1.0.0/schema.json +++ b/fabric/item/report/definition/visualContainer/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Visual container", + "description": "Defines a single visual or visual group on a report page.", "type": "object", "properties": { "name": { diff --git a/fabric/item/report/definition/visualContainerMobileState/1.0.0/schema.json b/fabric/item/report/definition/visualContainerMobileState/1.0.0/schema.json index c4a0082..f5d6d1c 100644 --- a/fabric/item/report/definition/visualContainerMobileState/1.0.0/schema.json +++ b/fabric/item/report/definition/visualContainerMobileState/1.0.0/schema.json @@ -1,6 +1,8 @@ { "$id": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainerMobileState/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Visual container mobile state", + "description": "Defines information about a visual container's mobile layout.", "type": "object", "properties": { "objects": { From 22cf2fc1ad00112955f7a63a6a513fe0f3c610d6 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Mon, 24 Jun 2024 22:16:39 -0700 Subject: [PATCH 3/3] Add lockfile-lint.schema.json --- lockfile-explorer/lockfile-lint.schema.json | 45 +++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 lockfile-explorer/lockfile-lint.schema.json diff --git a/lockfile-explorer/lockfile-lint.schema.json b/lockfile-explorer/lockfile-lint.schema.json new file mode 100644 index 0000000..0e383a9 --- /dev/null +++ b/lockfile-explorer/lockfile-lint.schema.json @@ -0,0 +1,45 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Lockfile Lint Configuration", + "description": "The lockfile-explorer.json configuration file for lockfile-lint tool.", + "type": "object", + "additionalProperties": false, + "properties": { + "$schema": { + "description": "Part of the JSON Schema standard, this optional keyword declares the URL of the schema that the file conforms to. Editors may download the schema and use it to perform syntax highlighting.", + "type": "string" + }, + "rules": { + "description": "The rules adopted by Monorepo and the lockfile-lint will help to check.", + "type": "array", + "items": { + "type": "object", + "oneOf": [ + { + "type": "object", + "required": ["rule", "project", "requiredVersions"], + "properties": { + "rule": { + "description": "Rule name applied to the project.", + "const": "restrict-versions" + }, + "project": { + "description": "Project name.", + "type": "string" + }, + "requiredVersions": { + "description": "List of restrict dependency version.", + "type": "object", + "patternProperties": { + ".*": { + "type": "string" + } + } + } + } + } + ] + } + } + } +}