-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Feature Management schema (#871)
* 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
1 parent
b787c72
commit 5818eea
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
docs/FeatureManagement/FeatureManagement.v1.0.0.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |