-
Notifications
You must be signed in to change notification settings - Fork 23
/
project.schema.json
48 lines (48 loc) · 1.01 KB
/
project.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"required": ["name", "tree"],
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Project name",
"examples": [
"your-project-name"
]
},
"servePort": {
"type": "integer",
"title": "Serve port",
"description": "The port number Rojo will use to communicate with Roblox Studio. This must be unique if you're running more than one instance of Rojo."
},
"tree": {
"$id": "/properties/tree",
"type": "object",
"properties": {
"$className": {
"type": "string"
},
"$ignoreUnknownInstances": {
"type": "boolean"
},
"$path": {
"type": "string"
},
"$properties": {
"type": "object",
"properties": {
"Name": false,
"Parent": false
}
}
},
"anyOf": [
{ "required": [ "$className" ] },
{ "required": [ "$path" ] }
],
"patternProperties": {
"^[^\\$].*$": { "$ref": "#/properties/tree" }
}
}
}
}