Revision 15d58dac
Added by koszko over 1 year ago
| common_definitions-1.schema.json | ||
|---|---|---|
| 80 | 80 |
"type": "string", |
| 81 | 81 |
"pattern": "^[-0-9a-z]+$" |
| 82 | 82 |
}, |
| 83 |
"item_dep_specifier": {
|
|
| 84 |
"description": "Simple reference to an item as a dependency", |
|
| 85 |
"type": "object", |
|
| 86 |
"required": ["identifier"], |
|
| 87 |
"properties": {
|
|
| 88 |
"identifier": {
|
|
| 89 |
"$ref": "#/definitions/item_identifier" |
|
| 90 |
} |
|
| 91 |
} |
|
| 92 |
}, |
|
| 83 | 93 |
"item_ref": {
|
| 84 | 94 |
"description": "An object containing a subset of fields from full item definition", |
| 85 | 95 |
"type": "object", |
| ... | ... | |
| 156 | 166 |
"description": "What scripts are included in the resource", |
| 157 | 167 |
"$ref": "#/definitions/file_ref_list", |
| 158 | 168 |
"default": [] |
| 169 |
}, |
|
| 170 |
"dependencies": {
|
|
| 171 |
"description": "Which other resources this resource depends on", |
|
| 172 |
"type": "array", |
|
| 173 |
"items": {
|
|
| 174 |
"$ref": "#/definitions/item_dep_specifier" |
|
| 175 |
}, |
|
| 176 |
"default": [] |
|
| 159 | 177 |
} |
| 160 | 178 |
} |
| 161 | 179 |
}] |
| ... | ... | |
| 175 | 193 |
"payloads": {
|
| 176 | 194 |
"description": "Which payloads are to be applied to which URLs", |
| 177 | 195 |
"additionalProperties": {
|
| 178 |
"description": "Which payload applies to URLs matching given pattern", |
|
| 179 |
"type": "object", |
|
| 180 |
"required": ["identifier"], |
|
| 181 |
"properties": {
|
|
| 182 |
"identifier": {
|
|
| 183 |
"$ref": "#/definitions/item_identifier" |
|
| 184 |
} |
|
| 185 |
} |
|
| 196 |
"$ref": "#/definitions/item_dep_specifier" |
|
| 186 | 197 |
}, |
| 187 | 198 |
"default": {},
|
| 188 | 199 |
"examples": [{
|
Also available in: Unified diff
make resource dependency specifier an object