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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/connectedPlanning/infobridge/1.0.0/schema.json",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/ConnectedPlanning/Infobridge/1.0.0/schema.json",
"description": "InfoBridge configuration defining data sources, queries, transformation steps, and writeback destinations for connected planning.",
"type": "object",
"required": [
Expand All @@ -11,7 +11,7 @@
"$schema": {
"type": "string",
"format": "uri",
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/connectedPlanning/infobridge/1.0.0/schema.json"
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/ConnectedPlanning/Infobridge/1.0.0/schema.json"
},
"sources": {
"title": "Sources",
Expand All @@ -29,9 +29,22 @@
"items": {
"$ref": "#/definitions/QueryGroup"
}
},
"linkedQueries": {
"title": "LinkedQueries",
"description": "Optional linked query references.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"version": {
"description": "Schema version.",
"type": ["integer", "string"]
}
},
"additionalProperties": false,
"additionalProperties": true,
"definitions": {
"Source": {
"title": "Source",
Expand Down Expand Up @@ -86,13 +99,9 @@
"visualId": {
"description": "The visual identifier this source is associated with. Can be numeric internal ID or UUID in external definitions.",
"oneOf": [
{
"type": "integer"
},
{
"type": "string",
"format": "uuid"
}
{ "type": "integer" },
{ "type": "string", "format": "uuid" },
{ "type": "null" }
]
},
"meta": {
Expand Down Expand Up @@ -130,7 +139,7 @@
"includeMeasures": {
"type": "array",
"items": {
"type": "string"
"type": ["string", "object"]
}
},
"includeScenarios": {
Expand All @@ -143,7 +152,9 @@
"description": "Join query references (for join sources).",
"type": "array",
"items": {
"$ref": "#/definitions/JoinQueryReference"
"type": ["object", "string"],
"if": { "type": "object" },
"then": { "$ref": "#/definitions/JoinQueryReference" }
}
},
"joinType": {
Expand Down Expand Up @@ -215,8 +226,7 @@
"description": "An InfoBridge query definition.",
"type": "object",
"required": [
"name",
"queryId"
"name"
],
"properties": {
"name": {
Expand All @@ -237,13 +247,9 @@
"visualId": {
"description": "The visual identifier (numeric internal ID or UUID in external definitions).",
"oneOf": [
{
"type": "integer"
},
{
"type": "string",
"format": "uuid"
}
{ "type": "integer" },
{ "type": "string", "format": "uuid" },
{ "type": "null" }
]
},
"meta": {
Expand All @@ -263,7 +269,10 @@
},
"writebackSettings": {
"description": "Writeback settings for this query.",
"$ref": "#/definitions/WritebackSettings"
"oneOf": [
{ "$ref": "#/definitions/WritebackSettings" },
{ "type": "null" }
]
},
"writebackDestinations": {
"description": "List of writeback destinations.",
Expand Down
35 changes: 30 additions & 5 deletions fabric/item/plan/definition/Definition/1.0.0/schema.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/definition/1.0.0/schema.json",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/Definition/1.0.0/schema.json",
"description": "Root definition for a Plan artifact containing semantic model references and sheet declarations.",
"type": "object",
"required": [
"$schema",
"workloadItemName",
"semanticModelReference",
"sheets"
],
"properties": {
"$schema": {
"type": "string",
"format": "uri",
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/definition/1.0.0/schema.json"
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/Definition/1.0.0/schema.json"
},
"workloadItemName": {
"type": "string",
Expand All @@ -28,6 +27,15 @@
"items": {
"$ref": "#/definitions/SheetReference"
}
},
"cube": {
"type": "object",
"description": "Cube partition references for the plan.",
"additionalProperties": true
},
"appDBconnection": {
"type": "string",
"description": "App database connection identifier."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -89,9 +97,22 @@
"sourceType": {
"type": "string",
"enum": ["POWERTABLE", "INFOBRIDGE", "WORKLOAD"]
},
"artifactId": {
"type": ["string", "integer", "null"]
},
"datasetRelations": {
"type": "array",
"items": {}
},
"recordGuid": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": false
"additionalProperties": true
},
"SheetReference": {
"type": "object",
Expand Down Expand Up @@ -148,9 +169,13 @@
"type": "string",
"format": "uuid",
"description": "Unique identifier for the visual."
},
"isEmbedded": {
"type": "boolean",
"description": "Whether the visual is embedded."
}
},
"additionalProperties": false
"additionalProperties": true
}
}
},
Expand Down
16 changes: 11 additions & 5 deletions fabric/item/plan/definition/PlanProperties/1.0.0/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/planProperties/1.0.0/schema.json",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/PlanProperties/1.0.0/schema.json",
"description": "Plan-level UI and behavior properties for a Planning workload item.",
"type": "object",
"required": [
Expand All @@ -11,7 +11,7 @@
"$schema": {
"type": "string",
"format": "uri",
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/planProperties/1.0.0/schema.json"
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/PlanProperties/1.0.0/schema.json"
},
"properties": {
"$ref": "#/definitions/PlanProperties"
Expand Down Expand Up @@ -93,7 +93,7 @@
"$ref": "#/definitions/PageGroupingMeta"
}
},
"additionalProperties": { "type": "string" }
"additionalProperties": true
},
"WorkloadModeConfig": {
"type": "object",
Expand Down Expand Up @@ -147,9 +147,12 @@
},
"showVariablesPane": {
"type": "boolean"
},
"showLumelAIPane": {
"type": "boolean"
}
},
"additionalProperties": false
"additionalProperties": true
},
"ReadModeConfig": {
"type": "object",
Expand Down Expand Up @@ -179,9 +182,12 @@
},
"showCommentsPane": {
"type": "boolean"
},
"showLumelAIPane": {
"type": "boolean"
}
},
"additionalProperties": false
"additionalProperties": true
},
"PageGroupingMeta": {
"type": "object",
Expand Down
69 changes: 47 additions & 22 deletions fabric/item/plan/definition/Planning/DataInput/1.0.0/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/planning/dataInput/1.0.0/schema.json",
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/Planning/DataInput/1.0.0/schema.json",
"title": "Data Input Columns",
"description": "Array of data input column definitions for a Planning visual, including forecasts, text inputs, number inputs, and native measures.",
"type": "object",
Expand All @@ -12,7 +12,7 @@
"$schema": {
"type": "string",
"format": "uri",
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/planning/dataInput/1.0.0/schema.json"
"const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/Planning/DataInput/1.0.0/schema.json"
},
"columns": {
"type": "array",
Expand Down Expand Up @@ -66,9 +66,25 @@
"forecastAllowedUserPermissions": {
"type": "boolean",
"description": "Whether user permissions are allowed for forecast."
},
"boundToFilterContext": {
"type": ["boolean", "integer"],
"description": "Whether bound to filter context."
},
"status": {
"type": ["string", "integer"],
"description": "Status of the column."
},
"sidecarHydrationLeaseAt": {
"type": ["string", "null"],
"description": "Sidecar hydration lease time."
},
"sidecarHydrationStatus": {
"type": ["string", "integer"],
"description": "Sidecar hydration status."
}
},
"additionalProperties": false
"additionalProperties": true
},
"ColumnMeta": {
"type": "object",
Expand All @@ -95,17 +111,23 @@
"description": "Data type of the column.",
"enum": [
"Number",
"Text"
"Text",
"DateTime",
"Date"
]
},
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string",
"description": "Name of the column."
}
},
"additionalProperties": false
"additionalProperties": true
},
"MeasureType": {
"type": "object",
Expand All @@ -131,9 +153,10 @@
{ "required": [ "Forecast" ] },
{ "required": [ "DataInput" ] },
{ "required": [ "VisualColumn" ] },
{ "required": [ "Native" ] }
{ "required": [ "Native" ] },
{ "required": [ "Formula" ] }
],
"additionalProperties": false
"additionalProperties": true
},
"ForecastMeasure": {
"type": "object",
Expand Down Expand Up @@ -255,9 +278,21 @@
},
"ShortText": {
"$ref": "#/definitions/ShortTextColumnType"
},
"SingleSelect": {
"type": "object",
"additionalProperties": true
},
"Date": {
"type": "object",
"additionalProperties": true
},
"DateTime": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
"additionalProperties": true
},
"title": {
"type": "string"
Expand All @@ -269,14 +304,10 @@
"type": "string"
},
"allow_input": {
"type": "string",
"enum": [
"ReadAndEdit",
"ReadOnly"
]
"type": ["string", "object", "null"]
}
},
"additionalProperties": false
"additionalProperties": true
},
"VisualColumnMeasure": {
"type": "object",
Expand Down Expand Up @@ -361,10 +392,7 @@
"type": "boolean"
},
"default_value": {
"type": [
"number",
"null"
]
"type": ["number", "null", "object"]
}
},
"additionalProperties": false
Expand All @@ -373,10 +401,7 @@
"type": "object",
"properties": {
"default_value": {
"type": [
"string",
"null"
]
"type": ["string", "null", "object"]
},
"allow_entry_on_totals_or_subtotals": {
"type": "boolean"
Expand Down
Loading
Loading