bootstrap-vz/bootstrapvz/providers/docker/manifest-schema.yml

47 lines
1 KiB
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: Docker manifest
type: object
properties:
provider:
type: object
properties:
repository:
type: string
tag:
type: string
labels:
type: object
properties:
# https://github.com/projectatomic/ContainerApplicationGenericLabels
distribution-scope:
type: string
enum:
- private
- authoritative-source-only
- restricted
- public
patternProperties:
^.+$: {type: string}
dockerfile:
type: string
required: [repository, tag]
system:
type: object
properties:
bootloader:
type: string
enum: [none]
volume:
type: object
properties:
backing:
type: string
enum: [folder]
partitions:
type: object
properties:
type:
type: string
enum: [none]
required: [backing]