mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00

The paths are relative to the manifest. Also, the file validation happens during the validation phase.
20 lines
457 B
YAML
20 lines
457 B
YAML
---
|
|
$schema: http://json-schema.org/draft-04/schema#
|
|
title: Admin user plugin manifest
|
|
type: object
|
|
properties:
|
|
plugins:
|
|
type: object
|
|
properties:
|
|
admin_user:
|
|
type: object
|
|
properties:
|
|
username: {type: string}
|
|
password: {type: string}
|
|
pubkey: {$ref: '#/definitions/path'}
|
|
required: [username]
|
|
additionalProperties: false
|
|
definitions:
|
|
path:
|
|
pattern: ^[^\0]+$
|
|
type: string
|