forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog.json
More file actions
95 lines (94 loc) · 3.18 KB
/
catalog.json
File metadata and controls
95 lines (94 loc) · 3.18 KB
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Catalog",
"description": "A puppet resource catalog",
"type": "object",
"properties": {
"tags": {
"description": "Tags: regex is from http://docs.puppetlabs.com/puppet/3/reference/lang_reserved.html",
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9_][a-z0-9_:\.\-]*$"
}
},
"name": {
"type": "string"
},
"version": {
"type": "integer"
},
"environment": {
"type": "string"
},
"resources": {
"description": "The array of resources in the catalog",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"line": {
"type": "integer"
},
"file": {
"type": "string"
},
"exported": {
"type": "boolean"
},
"tags": {
"description": "Tags: regex is from http://docs.puppetlabs.com/puppet/3/reference/lang_reserved.html",
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9_][a-z0-9_:\.\-]*$"
}
},
"parameters": {
"description": "Parameters: regex is from http://docs.puppetlabs.com/puppet/3/reference/lang_reserved.html",
"type": "object",
"patternProperties": {
"^[a-z][a-z0-9_]*$": {}
},
"additionalProperties": false
}
},
"required": ["type", "title", "tags", "exported"],
"additionalProperties": false
}
},
"edges": {
"description": "An array of the containment relationships in the catalog.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"description": "Containing object",
"type": "string"
},
"target": {
"description": "Contained object",
"type": "string"
}
},
"required": ["source", "target"],
"additionalProperties": false
}
},
"classes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["tags", "name", "version", "environment", "resources", "edges", "classes"],
"additionalProperties": false
}