From 932357d1d709efda64fdf8c8b7ae2662628aa3e8 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 6 Sep 2019 16:31:34 +0200 Subject: [PATCH] Add allowed terms for scope. --- json-schema/job-metric-data.schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/json-schema/job-metric-data.schema.json b/json-schema/job-metric-data.schema.json index 96017b1..06dac01 100644 --- a/json-schema/job-metric-data.schema.json +++ b/json-schema/job-metric-data.schema.json @@ -11,7 +11,8 @@ }, "scope": { "description": "", - "type": "string" + "type": "string", + "enum": [ "node", "cpu", "socket" ] }, "timestep": { "description": "",