diff options
Diffstat (limited to 'cloudinit/config/schemas/versions.schema.cloud-config.json')
-rw-r--r-- | cloudinit/config/schemas/versions.schema.cloud-config.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cloudinit/config/schemas/versions.schema.cloud-config.json b/cloudinit/config/schemas/versions.schema.cloud-config.json new file mode 100644 index 00000000..4ff3b4d1 --- /dev/null +++ b/cloudinit/config/schemas/versions.schema.cloud-config.json @@ -0,0 +1,18 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$id": "https://raw.githubusercontent.com/canonical/cloud-init/main/cloudinit/config/schemas/versions.schema.cloud-config.json", + "oneOf": [ + { + "allOf": [ + { + "properties": { + "version": { + "enum": ["22.2", "v1"] + } + } + }, + {"$ref": "./schema-cloud-config-v1.json"} + ] + } + ] +} |