Skip to content
Open
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
1,306 changes: 1,306 additions & 0 deletions copilot/declarative-agent/v1.8/schema.json

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions fabric/item/graphIndex/definition/dataSources/1.0.0/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/definition/dataSources/1.0.0/schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Defines the schema for the dataSources part of the GraphIndex item definition.",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri",
"const": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/definition/dataSources/1.0.0/schema.json"
},
"dataSources": {
"description": "The data sources in the graph index definition.",
"type": "array",
"items": {
"$ref": "#/definitions/DataSource"
},
"maxItems": 1000
}
},
"required": [
"$schema",
"dataSources"
],
"definitions": {
"DataSource": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "The unique name of this data source within the definition part.",
"type": "string",
"minLength": 1
},
"type": {
"description": "The data source type.",
"type": "string",
"const": "DeltaTable"
},
"properties": {
"$ref": "#/definitions/DataSourceProperties"
}
},
"required": [
"name",
"type",
"properties"
]
},
"DataSourceProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"description": "The delta table path.",
"type": "string",
"minLength": 1
}
},
"required": [
"path"
]
}
}
}
97 changes: 97 additions & 0 deletions fabric/item/graphIndex/definition/dataSources/1.1.0/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/definition/dataSources/1.1.0/schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Defines the schema for the dataSources part of the GraphIndex item definition.",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri",
"const": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/definition/dataSources/1.1.0/schema.json"
},
"itemReferences": {
"description": "Named item references that data sources can bind to by referenceName.",
"type": "array",
"items": {
"$ref": "#/definitions/GraphDataSourceItemReference"
},
"maxItems": 1000
},
"dataSources": {
"description": "The data sources in the graph index definition.",
"type": "array",
"items": {
"$ref": "#/definitions/DataSource"
},
"maxItems": 1000
}
},
"required": [
"$schema",
"dataSources"
],
"definitions": {
"GraphDataSourceItemReference": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "The logical name used by dataSources[].properties.referenceName.",
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/Name"
},
"item": {
"description": "An inline Fabric item reference or a variable reference whose type is ItemReference.",
"$ref": "https://developer.microsoft.com/json-schemas/fabric/common/itemReference/1.0.0/schema.json#/definitions/ItemReferenceOrVar"
}
},
"required": [
"name",
"item"
]
},
"DataSource": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "The unique name of this data source within the definition part.",
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/Name"
},
"type": {
"description": "The data source type.",
"type": "string",
"const": "DeltaTable"
},
"properties": {
"$ref": "#/definitions/DeltaTableProperties"
}
},
"required": [
"name",
"type",
"properties"
]
},
"DeltaTableProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"referenceName": {
"description": "The name of the item reference that supplies the parent item identity for this delta table.",
"type": "string",
"minLength": 1
},
"path": {
"description": "The delta table path relative to the referenced item.",
"type": "string",
"minLength": 1
}
},
"required": [
"referenceName",
"path"
]
}
}
}
158 changes: 158 additions & 0 deletions fabric/item/graphIndex/definition/graphDefinition/1.0.0/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/definition/graphDefinition/1.0.0/schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Defines the schema for the graphDefinition part of the GraphIndex item definition.",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri",
"const": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/definition/graphDefinition/1.0.0/schema.json"
},
"nodeTables": {
"description": "The node table definitions in the graph definition.",
"type": "array",
"items": {
"$ref": "#/definitions/NodeTable"
},
"maxItems": 1000
},
"edgeTables": {
"description": "The edge table definitions in the graph definition.",
"type": "array",
"items": {
"$ref": "#/definitions/EdgeTable"
},
"maxItems": 1000
}
},
"required": [
"$schema",
"nodeTables",
"edgeTables"
],
"definitions": {
"PropertyMapping": {
"type": "object",
"additionalProperties": false,
"properties": {
"propertyName": {
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/Name"
},
"sourceColumn": {
"type": "string",
"minLength": 1
}
},
"required": [
"propertyName",
"sourceColumn"
]
},
"GraphElementDefinitionBase": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/InternalIdentifier"
},
"dataSourceName": {
"type": "string",
"minLength": 1
},
"propertyMappings": {
"type": "array",
"items": {
"$ref": "#/definitions/PropertyMapping"
},
"maxItems": 1000
}
},
"required": [
"id",
"dataSourceName"
]
},
"NodeTable": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/InternalIdentifier"
},
"nodeTypeAlias": {
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/InternalIdentifier"
},
"dataSourceName": {
"type": "string",
"minLength": 1
},
"propertyMappings": {
"type": "array",
"items": {
"$ref": "#/definitions/PropertyMapping"
},
"maxItems": 1000
}
},
"required": [
"id",
"nodeTypeAlias",
"dataSourceName"
]
},
"EdgeTable": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/InternalIdentifier"
},
"edgeTypeAlias": {
"$ref": "https://developer.microsoft.com/json-schemas/fabric/item/graphIndex/common/identifiers/1.0.0/schema.json#/definitions/InternalIdentifier"
},
"dataSourceName": {
"type": "string",
"minLength": 1
},
"propertyMappings": {
"type": "array",
"items": {
"$ref": "#/definitions/PropertyMapping"
},
"maxItems": 1000
},
"edgeIdMapping": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 1000
},
"sourceNodeKeyColumns": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 1000
},
"destinationNodeKeyColumns": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 1000
}
},
"required": [
"id",
"edgeTypeAlias",
"dataSourceName"
]
}
}
}
Loading
Loading