PowerPlatformConnectors/schemas/paconn-settings.schema.json

82 строки
2.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"id": "https://raw.githubusercontent.com/microsoft/PowerPlatformConnectors/master/schemas/paconn-settings.schema.json#",
"title": "The JSON schema for the settings.json files managed by the paconn tool.",
"type": "object",
"required": [],
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"examples": [
"https://raw.githubusercontent.com/microsoft/PowerPlatformConnectors/master/schemas/paconn-settings.schema.json#"
]
},
"connectorId": {
"type": "string"
},
"environment": {
"title": "The GUID for the Power Apps environment",
"description": "Format: '00000000-0000-0000-0000-000000000000'.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"apiProperties": {
"type": "string",
"default": "apiProperties.json"
},
"apiDefinition": {
"type": "string",
"default": "apiDefinition.swagger.json"
},
"icon": {
"type": "string",
"default": "icon.png"
},
"powerAppsUrl": {
"type": "string",
"format": "uri",
"default": "https://api.powerapps.com",
"defaultSnippets": [
{
"label": "PROD",
"body": "https://api.powerapps.com"
},
{
"label": "TIP1",
"body": "https://tip1.api.powerapps.com"
}
]
},
"powerAppsApiVersion": {
"type": "string",
"default": "2016-11-01",
"enum": [
"2016-11-01"
]
},
"flowUrl": {
"type": "string",
"format": "uri",
"default": "https://api.flow.microsoft.com",
"defaultSnippets": [
{
"label": "PROD",
"body": "https://api.flow.microsoft.com"
},
{
"label": "TIP1",
"body": "https://tip1.api.flow.microsoft.com"
}
]
},
"flowApiVersion": {
"type": "string",
"default": "2016-11-01",
"enum": [
"2016-11-01"
]
}
},
"definitions": {}
}