From 062070861b54ba3813de00eada3fa1717dbe6000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirko=20M=C3=A4licke?= Date: Tue, 12 Dec 2023 13:55:57 +0100 Subject: [PATCH] add the extension field --- docs/input.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/input.md b/docs/input.md index 58623d4..df416c9 100644 --- a/docs/input.md +++ b/docs/input.md @@ -216,6 +216,26 @@ At runtime, as the client application mounts data and parameterizations into the container at `/in/`, the examples are non-existent in the container and cannot accidentally pollute the runtime container. + +#### `extension` + +The `extension` field is optional and can be used to limit the permitted file +extensions for a data input. Allowed is a single string input or a list of strings. +By convention, the point `.` should be included into the `extension` as well. + +```yaml +extension: .csv +``` + +```yaml +extension: + - .dat + - .txt + - .DAT + - .TXT +``` + + ## Example ```yaml