-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundryvtt_template_schema.json
57 lines (57 loc) · 2.05 KB
/
foundryvtt_template_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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON schema for Foundry VTT template.json files.",
"type": "object",
"definitions": {
"entity": {
"type": "object",
"properties": {
"types": {
"type": "array",
"description": "Array of strings defining the entity subtypes defined by the schema.",
"items": {
"type": "string"
}
},
"templates": {
"type": "object",
"description": "Template schemas that can be reused by entity subtypes.",
"additionalProperties": {
"type": "object",
"description": "Definition of a template schema.",
"additionalProperties": {
"description": "Custom property defined for this schema."
}
}
}
},
"additionalProperties": {
"type": "object",
"description": "Definition of an entity subtype.",
"properties": {
"templates": {
"type": "array",
"description": "Array of strings specifying which template schemas to apply to this type.",
"items": {
"type": "string"
}
}
},
"additionalProperties": {
"description": "Custom property defined for this schema."
}
}
}
},
"properties": {
"Actor": {
"$ref": "#definitions/entity",
"description": "The top level data schema for Actor types."
},
"Item": {
"$ref": "#definitions/entity",
"description": "The top level data schema for Item types."
}
},
"additionalProperties": false
}