diff --git a/onyxia-api/src/main/resources/schemas/ide/extraenv.json b/onyxia-api/src/main/resources/schemas/ide/extraenv.json new file mode 100644 index 00000000..03c6c9dd --- /dev/null +++ b/onyxia-api/src/main/resources/schemas/ide/extraenv.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "description": "environment variables available within your service", + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "default": "CHANGE_ME", + "pattern": "^[^ ]+$" + }, + "value": { + "type": "string", + "default": "" + } + } + } + } \ No newline at end of file