Skip to content

Commit

Permalink
Add Feature Management schema (#871)
Browse files Browse the repository at this point in the history
* add feature management schema

* add id

* move the FeatureManagement folder

* rename to Microsoft & update ref

* use snake case

* add description for feature_management

* update
  • Loading branch information
zhiyuanliang-ms authored Feb 21, 2024
1 parent b787c72 commit 5818eea
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/FeatureManagement/FeatureManagement.v1.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/v1.0.0/FeatureManagement.json",
"type": "object",
"title": "The Microsoft Feature Management Schema",
"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://github.com/Azure/AppConfiguration/blob/main/docs/FeatureManagement/FeatureFlag.v1.1.0.schema.json"
}
}
}
}
}
}

0 comments on commit 5818eea

Please sign in to comment.