Skip to content

Instantly share code, notes, and snippets.

@cdcarter
Created September 21, 2018 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdcarter/d3a10e03f12265f1f49af2aa3d9c8c40 to your computer and use it in GitHub Desktop.
Save cdcarter/d3a10e03f12265f1f49af2aa3d9c8c40 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"flows": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"steps": {
"type": "object",
"patternProperties": {
"^(\\d+)((\\.)(\\d+)((\\.)(\\d+))?)?": {
"type": "object",
"properties": {
"task": {
"type": "string"
},
"flow": {
"type": "string"
},
"ignore_failure": {
"type": "boolean"
},
"options": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "any"
}
}
}
},
"allOf": [
{
"not": {
"required": [
"task"
]
}
},
{
"not": {
"required": [
"fkiw"
]
}
}
],
"additionalProperties": false
}
}
}
},
"additionalProperties": false,
"required": [
"description",
"steps"
]
}
},
"additionalProperties": false
},
"services": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"attributes": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "any"
}
}
}
}
}
}
},
"cumulusci": {
"type": "object",
"properties": {
"keychain": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"keychain"
]
},
"tasks": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"class_path": {
"type": "string"
},
"options": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "any"
}
}
}
},
"required": [
"description",
"class_path"
]
}
}
},
"project": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"package": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"name_managed": {
"type": "string"
},
"namespace": {
"type": "string"
},
"install_class": {
"type": "string"
},
"uninstall_class": {
"type": "string"
},
"api_version": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"name"
]
},
"git": {
"type": "object",
"properties": {
"default_branch": {
"type": "string"
},
"prefix_feature": {
"type": "string"
},
"prefix_beta": {
"type": "string"
},
"prefix_release": {
"type": "string"
},
"push_prefix_sandbox": {
"type": "string"
},
"push_prefix_production": {
"type": "string"
},
"release_notes": {
"type": "object",
"properties": {
"parsers": {
"type": "object",
"patternProperties": {
"^d+": {
"type": "object",
"properties": {
"class_path": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"class_path",
"title"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"parsers"
]
}
},
"additionalProperties": false,
"required": [
"default_branch",
"prefix_feature",
"prefix_beta",
"prefix_release"
]
},
"test": {
"type": "object",
"properties": {
"name_match": {
"type": "string"
}
},
"additionalProperties": false
},
"dependencies": {
"type": "object"
}
},
"additionalProperties": false,
"required": [
"name",
"package"
]
}
},
"orgs": {
"type": "object",
"properties": {
"scratch": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "object",
"properties": {
"config_file": {
"type": "string"
},
"days": {
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"config_file"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"scratch"
]
},
"required": [
"project"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment