2020-07-02 01:08:06 +08:00
|
|
|
{
|
2020-09-30 07:49:49 +08:00
|
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
2020-07-02 01:08:06 +08:00
|
|
|
"type": "object",
|
|
|
|
"definitions": {
|
|
|
|
"sha256": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "[A-Z0-9]{64}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"Applications",
|
2020-09-30 07:49:49 +08:00
|
|
|
"Brew",
|
2021-04-29 22:39:04 +08:00
|
|
|
"VagrantPlugins"
|
2020-07-02 01:08:06 +08:00
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"Applications": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"Name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-04-29 22:39:04 +08:00
|
|
|
"VersionCommand": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"minItems": 1
|
|
|
|
},
|
|
|
|
"VersionRegex": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "regex"
|
|
|
|
},
|
|
|
|
"Version": {
|
2020-07-02 01:08:06 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"DmgUrl": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "uri"
|
|
|
|
},
|
|
|
|
"Sha256": {
|
|
|
|
"$ref": "#/definitions/sha256"
|
|
|
|
},
|
|
|
|
"InstallerPath": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-09-30 07:49:49 +08:00
|
|
|
"Brew": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"required": [ "Name" ],
|
|
|
|
"properties": {
|
|
|
|
"Name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"Kind": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [ "cask" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-04-29 22:39:04 +08:00
|
|
|
"VagrantPlugins": {
|
2020-07-02 01:08:06 +08:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
2021-04-29 22:39:04 +08:00
|
|
|
"required": [ "Name", "Version" ],
|
2020-07-02 01:08:06 +08:00
|
|
|
"properties": {
|
|
|
|
"Name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-04-29 22:39:04 +08:00
|
|
|
"Version": {
|
2020-07-02 01:08:06 +08:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|