Update Microsoft FeatureManagement schema (#895)
* Update Microsoft FeatureManagement schema Update the feature flag schema reference to v2 * add missed required property * add FM v2 schema * enabled not required
This commit is contained in:
Родитель
82054b1a47
Коммит
9c40d2a48d
|
@ -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://raw.githubusercontent.com/Azure/AppConfiguration/main/docs/FeatureManagement/FeatureFlag.v2.0.0.schema.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче