DockerCLI/cli/compose/schema/data
Vincent Demeester 6bcfa8806c
Allow `x-*` extension on 3rd level objects
As for top-level key, any 3rd-level key which starts with `x-` will be
ignored by compose. This allows for users to:
* include additional metadata in their compose files
* create YAML anchor objects that can be re-used in other parts of the config

This matches a similar feature in the swagger spec definition:
https://swagger.io/specification/#specificationExtensions

This means a composefile like the following is valid

```
verison: "3.7"
services:
  foo:
    image: foo/bar
    x-foo: bar
network:
  bar:
    x-bar: baz
```

It concerns services, volumes, networks, configs and secrets.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-05-31 13:38:58 +02:00
..
config_schema_v3.0.json Update schemas to prevent invalid properties in deploy.resources 2017-08-17 15:58:51 -07:00
config_schema_v3.1.json Update schemas to prevent invalid properties in deploy.resources 2017-08-17 15:58:51 -07:00
config_schema_v3.2.json Add missing additionalProperties marker on mount definitions 2017-12-06 12:37:38 -08:00
config_schema_v3.3.json Add missing additionalProperties marker on mount definitions 2017-12-06 12:37:38 -08:00
config_schema_v3.4.json Add missing additionalProperties marker on mount definitions 2017-12-06 12:37:38 -08:00
config_schema_v3.5.json Add shm_size property to build configuration in Compose schema 2017-12-06 12:34:12 -08:00
config_schema_v3.6.json Fix typo in 3.6 schema ID 2018-02-21 19:55:12 +01:00
config_schema_v3.7.json Allow `x-*` extension on 3rd level objects 2018-05-31 13:38:58 +02:00