-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
90 lines (90 loc) · 4.11 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"$id": "http://example.com/example.json",
"type": "object",
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"projects": {
"$id": "/properties/projects",
"type": "array",
"items": {
"$id": "/properties/projects/items",
"type": "object",
"required": ["name", "url", "dst"],
"properties": {
"name": {
"$id": "/properties/projects/items/properties/name",
"type": "string",
"title": "PROJECT NAME",
"description": "An 2explanation about the purpose of this instance.",
"default": ""
},
"url": {
"$id": "/properties/projects/items/properties/url",
"type": "string",
"title": "The Url Schema ",
"description": "An explanation about the purpose of this instance.",
"default": ""
},
"sha": {
"$id": "/properties/projects/items/properties/sha",
"type": "string",
"title": "The SHA Schema",
"description": "This property is obsolete and should not be used.",
"default": "",
"deprecated": true
},
"dst": {
"$id": "/properties/projects/items/properties/dst",
"type": "array",
"minItems": 1,
"items": {
"$id": "/properties/projects/items/properties/dst/items",
"type": "object",
"required": ["name", "url"],
"properties": {
"name": {
"$id": "/properties/projects/items/properties/dst/items/properties/name",
"type": "string",
"title": "The Name Schema ",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"vs"
]
},
"url": {
"$id": "/properties/projects/items/properties/dst/items/properties/url",
"type": "string",
"title": "The Url Schema ",
"description": "An explanation about the purpose of this instance.",
"default": ""
}
},
"defaultSnippets": [{
"label": "New backup repository",
"description": "Creates a project configuration",
"body": {
"name": "${1:backup}",
"url": "${2:git@bitbucket.org:[USER_NAME]/[REPO_NAME].git}"
}
}]
}
}
},
"defaultSnippets": [{
"label": "New project",
"description": "Creates a project configuration",
"body": {
"name": "${1:MyProject}",
"url": "${2:git@github.com:[USER_NAME]/[REPO_NAME].git}",
"dst": [{
"name": "${3:backup}",
"url": "${4:git@bitbucket.org:[USER_NAME]/[REPO_NAME].git}"
}]
}
}]
}
}
}
}