Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://azconfig.io/schemas/FeatureManagement/v1.0.0/AppConfigurationFeatureEvaluationEvent.json",
"type": "object",
"title": "A Feature Evaluation Event with App Configuration Data",
"allOf": [
{
"$ref": "FeatureEvaluationEvent.v1.0.0.schema.json"
}
],
"required": [
"AllocationId",
"ETag",
"FeatureFlagReference"
],
"properties": {
"AllocationId": {
"$id": "#/properties/AllocationId",
"type": "string",
"title": "Allocation Id",
"description": "A unique identifier for the allocation of the feature flag. The value changes when any allocation of the flag changes.",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"maxLength": 20
},
"ETag": {
"$id": "#/properties/ETag",
"type": "string",
"title": "ETag",
"description": "The ETag of the feature flag.",
"pattern": "^(.*)$"
},
"FeatureFlagReference": {
"$id": "#/properties/FeatureFlagReference",
"type": "string",
"format": "uri",
"title": "Feature Flag Reference",
"description": "The reference to the feature flag being evaluated. Example: https://{host}/kv/{feature_flag_key}."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,28 +77,6 @@
"description": "The percentage of users assigned to the variant that was assigned. This field is optional and only emitted when the assignment reason is DefaultWhenEnabled or Percentile.",
"minimum": 0,
"maximum": 100
},
"AllocationId": {
"$id": "#/properties/AllocationId",
"type": "string",
"title": "Allocation Id",
"description": "A unique identifier for the allocation of the feature flag. The value changes when any allocation of the flag changes.",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"maxLength": 20
},
"ETag": {
"$id": "#/properties/ETag",
"type": "string",
"title": "ETag",
"description": "The ETag of the feature flag.",
"pattern": "^(.*)$"
},
"FeatureFlagReference": {
"$id": "#/properties/FeatureFlagReference",
"type": "string",
"format": "uri",
"title": "Feature Flag Reference",
"description": "The reference to the feature flag being evaluated. Example: https://{host}/kv/{feature_flag_key}."
}
}
}
Expand Down