dt-app
Version:
The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.
320 lines • 8.18 kB
JSON
{
"type": "object",
"required": [
"root",
"environmentUrl",
"distDir",
"injectSdk",
"dryRun",
"app",
"server",
"build",
"plugins"
],
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"errorMessage": {
"required": {
"environmentUrl": "must contain a valid 'environmentUrl'. Please specify one in your 'app.config.(json|js|ts|cts)' file"
}
},
"properties": {
"$schema": {
"type": "string",
"description": "JSON Schema reference for IDE support"
},
"appFunctionsBuildPlatform": {
"type": "string"
},
"root": {
"type": "string",
"format": "absolute-path",
"errorMessage": "must be an absolute path"
},
"environmentUrl": {
"type": "string"
},
"oauthScopes": {
"type": "array",
"items": {
"type": "string"
}
},
"distDir": {
"type": "string",
"format": "relative-path",
"errorMessage": "must be a relative path"
},
"oauth2File": {
"type": "string"
},
"icon": {
"nullable": true,
"type": "string",
"format": "relative-path",
"errorMessage": "must be a relative path"
},
"injectSdk": {
"type": "boolean"
},
"dryRun": {
"type": "boolean"
},
"noLiveReload": {
"type": "boolean"
},
"server": {
"type": "object",
"required": [
"port",
"host"
],
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"properties": {
"open": {
"type": "boolean"
},
"port": {
"type": "number"
},
"host": {
"type": "string"
},
"showWarnings": {
"type": "boolean"
},
"enableCSP": {
"type": "boolean"
},
"https": {
"nullable": true,
"type": "object",
"required": [
"key",
"cert"
],
"properties": {
"key": {
"type": "string"
},
"cert": {
"type": "string"
}
}
}
}
},
"app": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9]+(\\.[a-z0-9]+)*$",
"maxLength": 50
},
"name": {
"type": "string",
"maxLength": 40
},
"selfMonitoringAgent": {
"description": "Agentless real user monitoring url",
"type": "string"
},
"description": {
"type": "string"
},
"version": {
"type": "string"
},
"icon": {
"nullable": true,
"type": "string",
"format": "relative-path",
"errorMessage": "must be a relative path"
}
},
"additionalProperties": true,
"required": [
"id",
"name",
"version",
"description"
]
},
"build": {
"type": "object",
"required": [
"index",
"mode",
"baseHref",
"ui"
],
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"properties": {
"index": {
"type": "string",
"format": "relative-path",
"errorMessage": "must be a relative path"
},
"sourceRoot": {
"type": "string"
},
"sourceMaps": {
"enum": [
true,
false,
"all"
],
"errorMessage": "must be a boolean value or 'all'"
},
"ui": {
"type": "object",
"required": [
"assets"
],
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"properties": {
"plugins": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"properties": {
"name": {
"type": "string"
},
"setup": {}
}
}
},
"assets": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"properties": {
"glob": {
"type": "string",
"format": "valid-glob",
"errorMessage": "has to be a glob pattern"
},
"ignore": {
"type": "array",
"items": {
"type": "string",
"format": "valid-glob",
"errorMessage": "has to be a glob pattern"
}
},
"input": {
"type": "string"
},
"output": {
"type": "string",
"format": "relative-path",
"errorMessage": "must be a relative path"
}
},
"required": [
"glob",
"ignore",
"input",
"output"
],
"errorMessage": {
"required": {
"glob": "must contain property 'glob'",
"ignore": "must contain property 'ignore'",
"input": "must contain property 'input'",
"output": "must contain property 'output'"
}
}
}
}
}
},
"mode": {
"type": "string"
},
"baseHref": {
"type": "string"
},
"typeCheck": {
"type": "boolean"
},
"api": {
"type": "object",
"plugins": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"properties": {
"name": {
"type": "string"
},
"setup": {}
}
}
}
},
"selfMonitoringAgent": {
"type": "string"
},
"dynatraceDependencies": {
"type": "object",
"required": [],
"additionalProperties": {
"not": true,
"errorMessage": "contains unknown property ${0#}. Please check if there is a typo or remove it"
},
"properties": {
"addOrOverride": {
"type": "object",
"required": [],
"nullable": true,
"additionalProperties": {
"type": "string"
}
},
"ignore": {
"nullable": true,
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"plugins": {
"type": "array",
"items": {
"type": "string"
}
}
}
}