-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpsproject.schema.json
115 lines (115 loc) · 4.01 KB
/
psproject.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/jdhitsolutions/PSProjectStatus/main/psproject.schema.json",
"title": "PSProject Status Schema",
"description": "Schema for the PSProjectStatus configuration file. Version 1.2.0 last updated 17 April 2024.",
"type": "object",
"properties": {
"Name": {
"description": "Specify the project name. In PowerShell, this will typically be the module name.",
"type": "string"
},
"Path": {
"description": "Specify the full project path. It should be the directory containing this file.",
"type": "string"
},
"LastUpdate": {
"description": "Specify the last update time of the project. This value will be formatted by ConvertTo-JSON.",
"type": "string"
},
"ProjectVersion": {
"description": "Specify the project version. You might use the PowerShell module version.",
"type": "string"
},
"Computername": {
"description": "Specify the computer name where this project was last updated.",
"type": "string"
},
"Author": {
"description": "Specify the project author. It could be the module author.",
"type": "string"
},
"UpdateUser": {
"description": "Specify the user who last updated the project.",
"type": "string"
},
"GitBranch": {
"description": "Specify the current git branch of the project.",
"type": "string"
},
"Comment": {
"description": "Add additional comments about the project.",
"type": "string",
"default": "none"
},
"Tasks": {
"description": "Specify a list of pending tasks for the project.",
"type": "array",
"default": "none"
},
"Tags" : {
"description" : "Specify a set of user-defined tags for this project.",
"type" : "array",
"default" : "none"
},
"Status": {
"description": "Specify the project status.",
"type": "string",
"enum": [
"Development",
"Updating",
"Stable",
"AlphaTesting",
"BetaTesting",
"ReleaseCandidate",
"Patching",
"UnitTesting",
"AcceptanceTesting",
"Archive",
"Other"
]
},
"RemoteRepository": {
"description": "Enter information about remote git repositories.",
"type": "array",
"items": {
"type": "object",
"properties": {
"Name": {
"description": "Specify the name of the remote repository.",
"default": "origin",
"type": "string"
},
"Url": {
"description": "Specify the url of the remote repository.",
"type": "string"
},
"Mode": {
"description": "Specify the git mode for the remote branch.",
"type": "integer",
"oneOf": [
{
"const": 0,
"description": "fetch"
},
{
"const": 1,
"description": "push"
}
]
}
},
"required": [
"Name",
"Url",
"Mode"
]
}
}
},
"required": [
"Name",
"Path",
"LastUpdate"
]
}