Files
deb-python-dcos/cli/dcoscli/data/config-schema/core.json

42 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"email": {
"type": "string",
"title": "Your email address",
"description": "Your email address"
},
"dcos_url": {
"type": "string",
"pattern": "^(?:(?:https?)://)(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.?)+(?:[a-zA-Z]{2,6}\\.?|[a-zA-Z0-9-]{2,}\\.?)?|\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})(?::\\d+)?(?:/?|[/?]\\S+)$",
"title": "DCOS URL",
"description": "The URL to the location of the DCOS"
},
"refresh_token": {
"type": "string",
"title": "Your OAuth refresh token",
"description": "Your OAuth refresh token"
},
"reporting": {
"type": "boolean",
"title": "Usage Reporting",
"description": "Whether to report usage events to Mesosphere",
"default": true
},
"token": {
"type": "string",
"title": "Your OAuth access token",
"description": "Your OAuth access token"
},
"mesos_master_url": {
"type": "string",
"pattern": "^(?:(?:https?)://)(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.?)+(?:[a-zA-Z]{2,6}\\.?|[a-zA-Z0-9-]{2,}\\.?)?|\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})(?::\\d+)?(?:/?|[/?]\\S+)$",
"title": "Mesos Master URL",
"description":
"Mesos Master URL. Must be of the format: \"http://host:port\""
}
},
"additionalProperties": false
}