Skip to content

Commit

Permalink
Merge pull request #291 from wade0016/userDataFunction
Browse files Browse the repository at this point in the history
Create fabric/item/userDataFunction/definition/1.0.0/schema.json
  • Loading branch information
michaeldfaber authored Feb 19, 2025
2 parents 18d10d5 + 65ed89e commit 339807f
Showing 1 changed file with 114 additions and 0 deletions.
114 changes: 114 additions & 0 deletions fabric/item/userDataFunction/definition/1.0.0/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"$id": "https://developer.microsoft.com/json-schemas/fabric/item/userDataFunction/definition/1.0.0/schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "User data functions",
"type": "object",
"properties": {
"$schema": {
"type": [
"string",
"null"
]
},
"runtime": {
"enum": [
"NOTASSIGNED",
"DOTNET",
"PYTHON"
]
},
"connectedDataSources": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"alias": {
"type": [
"string",
"null"
]
},
"artifactId": {
"type": "string",
"format": "uuid"
},
"artifactType": {
"type": [
"string",
"null"
]
},
"dmtsConnectionId": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
}
}
}
},
"functions": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"isPublicEndpointEnabled": {
"type": [
"boolean",
"null"
]
}
}
}
},
"libraries": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"PYPI",
"WHEEL"
]
},
"version": {
"type": [
"string",
"null"
]
}
}
}
}
}
}

0 comments on commit 339807f

Please sign in to comment.