Add requirement type to schema and bumps version from 1.0.0 to 1.1.0 (#758)

Adds requirement type and bumps version from 1.0.0 to 1.1.0
This commit is contained in:
Ross Grambo 2023-05-17 11:49:53 -07:00 коммит произвёл GitHub
Родитель 702119b476
Коммит 0a5a0807e1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 12 добавлений и 1 удалений

Просмотреть файл

@ -1,7 +1,7 @@
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://azconfig.io/schemas/FeatureManagement/v1.0.0/FeatureFlag.json",
"$id": "http://azconfig.io/schemas/FeatureManagement/v1.1.0/FeatureFlag.json",
"type": "object",
"title": "An Azure App Configuration Feature Declaration",
"required": [
@ -56,6 +56,17 @@
"description": "The declaration of conditions used to dynamically enable features.",
"required": [],
"properties": {
"requirement_type": {
"$id": "#/properties/conditions/properties/requirement_type",
"type": "string",
"title": "Requirement Type",
"description": "Determines whether any or all registered client filters must be enabled for the feature to be considered enabled.",
"enum": [
"Any",
"All"
],
"default": "Any"
},
"client_filters": {
"$id": "#/properties/conditions/properties/client_filters",
"type": "array",