From 4411edb809840c41b030846f8b5ca6805141b180 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Tue, 14 Jan 2025 15:36:57 +0800 Subject: [PATCH] update enabled property to string --- .../FeatureEvaluationEvent.v1.0.0.schema.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Schema/FeatureEvaluationEvent/FeatureEvaluationEvent.v1.0.0.schema.json b/Schema/FeatureEvaluationEvent/FeatureEvaluationEvent.v1.0.0.schema.json index 6ccabea..71c0140 100644 --- a/Schema/FeatureEvaluationEvent/FeatureEvaluationEvent.v1.0.0.schema.json +++ b/Schema/FeatureEvaluationEvent/FeatureEvaluationEvent.v1.0.0.schema.json @@ -21,9 +21,13 @@ }, "Enabled": { "$id": "#/properties/Enabled", - "type": "boolean", + "type": "string", "title": "Feature Enabled", - "description": "Whether the feature flag is evaluated as enabled." + "description": "Whether the feature flag is evaluated as enabled.", + "enum": [ + "True", + "False" + ] }, "Variant": { "$id": "#/properties/Variant",