Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spfx/adaptive-card-extension-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "adaptive-card-extension-manifest.schema.json",
"$id": "adaptive-card-extension-manifest.schema.json",
"title": "Adaptive Card Extension manifest",
"description": "All Adaptive Card Extension built on the SharePoint framework need a valid component manifest. This interface represents properties that are required by all types of BaseAdaptiveCardExtension. Adaptive Card Extension specific manifests will extend this interface to add properties required by that component type.",
"definitions": {
Expand Down
2 changes: 1 addition & 1 deletion spfx/any-value.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "any-value.schema.json",
"$id": "any-value.schema.json",

"type": ["array", "boolean", "integer", "number", "object", "string"],
"items": {
Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-application-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-application-manifest.schema.json",
"$id": "client-side-application-manifest.schema.json",
"title": "Client-side application manifest",
"description": "A client-side application is the architectural component that manages the appearance and behavior of an entire web page.",

Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-assembly-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-assembly-manifest.schema.json",
"$id": "client-side-assembly-manifest.schema.json",
"title": "Client-side assembly manifest",
"description": "A client-side assembly is a standalone-executable bundle containing a component, the loader, and all of their dependencies.",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-component-loader-configuration.schema.json",
"$id": "client-side-component-loader-configuration.schema.json",
"title": "Client-side component manifest",
"description": "All client side components built on the SharePoint framework need a valid component manifest. This interface represents properties that are required by all types of client side components like Applications and Web Parts. Component specific manifests will extend this interface to add properties required by that component type.",

Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-component-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-component-manifest.schema.json",
"$id": "client-side-component-manifest.schema.json",
"title": "Client-side component manifest",
"description": "All client side components built on the SharePoint framework need a valid component manifest. This interface represents properties that are required by all types of client side components like Applications and Web Parts. Component specific manifests will extend this interface to add properties required by that component type.",
"definitions": {
Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-extension-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-extension-manifest.schema.json",
"$id": "client-side-extension-manifest.schema.json",
"title": "Client-side extension manifest",
"description": "A client-side extension is a plug-in component that customizes or augments the functionality of a client-side application.",

Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-library-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-library-manifest.schema.json",
"$id": "client-side-library-manifest.schema.json",
"title": "Client-side library manifest",
"description": "A client-side library is a library containing reusable JavaScript code and/or resources.",

Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-manifest-base.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-manifest-base.schema.json",
"$id": "client-side-manifest-base.schema.json",
"title": "Client-side component manifest base",
"description": "Properties common to all deployable manifests.",

Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-multi-version-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-multi-version-manifest.schema.json",
"$id": "client-side-multi-version-manifest.schema.json",
"title": "Client-side multi-version manifest",
"description": "Multi-version manifests are defined by this schema.",

Expand Down
2 changes: 1 addition & 1 deletion spfx/client-side-web-part-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "client-side-web-part-manifest.schema.json",
"$id": "client-side-web-part-manifest.schema.json",
"title": "Client-side webpart manifest",
"description": "A client-side webpart is a control that is part of the end user page authoring experience or exposed in Teams as an app.",

Expand Down
18 changes: 14 additions & 4 deletions spfx/command-set-extension-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "command-set-extension-manifest.schema.json",
"$id": "command-set-extension-manifest.schema.json",
"title": "Command set extension manifest",
"description": "A client-side extension that defines a set of custom commands that can be shown in a menu, tool bar, etc.",

Expand All @@ -8,7 +8,10 @@
{
"type": "object",
"properties": {
"$schema": { "type": "string" },
"$schema": {
"type": "string",
"minLength": 1
},

"manifestVersion": { "$ref": "any-value.schema.json" },
"id": { "$ref": "any-value.schema.json" },
Expand Down Expand Up @@ -55,9 +58,9 @@
},
"type": {
"type": "string",
"enum": ["command"],
"enum": ["command", "group"],
"title": "Type",
"description": "Type of the item. Currently only \"command\" is allowed."
"description": "Type of the item. Use 'command' for executable commands, or 'group' for containers that organize commands into submenus."
},
"ariaLabel": {
"title": "ARIA Label",
Expand All @@ -66,8 +69,15 @@
},
"iconImageUrl": {
"type": "string",
"minLength": 1,
"title": "Icon Image URL",
"description": "An optional URL for an image to be displayed next to the item. The requirements for this image are defined by the type of extension; some extension types may not display the image at all."
},
"group": {
"type": "string",
"pattern": "^[A-Z0-9_]+$",
"title": "Group",
"description": "Optional ID of a parent group item this command/group belongs to. The parent must be defined in the same manifest with type 'group'. Maximum nesting depth is 2 levels."
}
},
"additionalProperties": false
Expand Down
2 changes: 1 addition & 1 deletion spfx/guid.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "guid.schema.json",
"$id": "guid.schema.json",

"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
Expand Down
2 changes: 1 addition & 1 deletion spfx/localized-string.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "localized-string.schema.json",
"$id": "localized-string.schema.json",

"type": "object",
"oneOf": [
Expand Down
2 changes: 1 addition & 1 deletion spfx/prefab-app-manifest.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "prefab-app-manifest.schema.json",
"$id": "prefab-app-manifest.schema.json",
"title": "PREFAB application manifest",
"description": "A PREFAB application is the architectural component that allows developers to declaratively specify behavior of a full page application.",

Expand Down
2 changes: 1 addition & 1 deletion spfx/semver.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "semver.schema.json",
"$id": "semver.schema.json",

"type": "string",
"minLength": 5,
Expand Down