From acfe800169bc9be49eeb54fc404397ceb96ff173 Mon Sep 17 00:00:00 2001 From: Laurent Christophe Date: Tue, 6 Jul 2021 16:57:07 +0200 Subject: [PATCH] add config schema based on https://appland.com/docs/reference/appmap-python.html#configuration --- config-schema.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 config-schema.yml diff --git a/config-schema.yml b/config-schema.yml new file mode 100644 index 00000000..e42758e9 --- /dev/null +++ b/config-schema.yml @@ -0,0 +1,37 @@ +type: object +additionalProperties: false +required: + - name +properties: + name: + type: string + packages: + type: array + items: + anyOf: + - type: object + additionalProperties: false + required: + - path + properties: + path: + type: string + shallow: + type: boolean + exclude: + type: array + items: + type: string + - type: object + additionalProperties: false + required: + - dist + properties: + dist: + type: string + shallow: + type: boolean + exclude: + type: array + items: + type: string