From 1c3e51f62bf8ba57a7a4c18a3e9b1f8e68b4fd9e Mon Sep 17 00:00:00 2001 From: Ivan Chvets Date: Wed, 10 Dec 2025 11:48:03 -0500 Subject: [PATCH] fix: Updated schema to fix issue with fingerprinting raw mode. https://telecominfraproject.atlassian.net/browse/WIFI-15031 Signed-off-by: Ivan Chvets --- schema/service.fingerprint.yml | 2 +- schemareader.uc | 4 ++-- ucentral.schema.full.json | 2 +- ucentral.schema.json | 2 +- ucentral.schema.pretty.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schema/service.fingerprint.yml b/schema/service.fingerprint.yml index e47552d..e8d5885 100644 --- a/schema/service.fingerprint.yml +++ b/schema/service.fingerprint.yml @@ -9,7 +9,7 @@ properties: enum: - polled - final - - raw-data + - raw default: final minimum-age: description: diff --git a/schemareader.uc b/schemareader.uc index b087794..30d6728 100644 --- a/schemareader.uc +++ b/schemareader.uc @@ -9561,8 +9561,8 @@ function instantiateServiceFingerprint(location, value, errors) { if (type(value) != "string") push(errors, [ location, "must be of type string" ]); - if (!(value in [ "polled", "final", "raw-data" ])) - push(errors, [ location, "must be one of \"polled\", \"final\" or \"raw-data\"" ]); + if (!(value in [ "polled", "final", "raw" ])) + push(errors, [ location, "must be one of \"polled\", \"final\" or \"raw\"" ]); return value; } diff --git a/ucentral.schema.full.json b/ucentral.schema.full.json index 6913078..dbe21c3 100644 --- a/ucentral.schema.full.json +++ b/ucentral.schema.full.json @@ -4442,7 +4442,7 @@ "enum": [ "polled", "final", - "raw-data" + "raw" ], "default": "final" }, diff --git a/ucentral.schema.json b/ucentral.schema.json index 1861342..5fb75f8 100644 --- a/ucentral.schema.json +++ b/ucentral.schema.json @@ -3384,7 +3384,7 @@ "enum": [ "polled", "final", - "raw-data" + "raw" ], "default": "final" }, diff --git a/ucentral.schema.pretty.json b/ucentral.schema.pretty.json index 9e5e61e..b62987e 100644 --- a/ucentral.schema.pretty.json +++ b/ucentral.schema.pretty.json @@ -3885,7 +3885,7 @@ "enum": [ "polled", "final", - "raw-data" + "raw" ], "default": "final" },