bootstrap-vz/bootstrapvz/plugins/chef/manifest-schema.yml
Anders Ingemann a7f2327e42 Litter the manifest schemas with additionalProperties:false
This pretty much eliminates the possiblity of undiscovered typos in the manifest
2015-05-02 13:04:30 +02:00

19 lines
402 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: Chef plugin manifest
type: object
properties:
plugins:
type: object
properties:
chef:
type: object
properties:
assets:
$ref: '#/definitions/absolute_path'
required: [assets]
additionalProperties: false
definitions:
absolute_path:
pattern: ^/[^\0]+$
type: string