Skip to content
Merged
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
Expand Up @@ -56,6 +56,49 @@
"title": "Targeting Id",
"description": "The targeting id used for the feature evaluation.",
"pattern": "^(.*)$"
},
"DefaultWhenEnabled": {
"$id": "#/properties/DefaultWhenEnabled",
"type": "string",
"title": "Default When Enabled",
"description": "The default variant when the feature is enabled."
},
"Version": {
"$id": "#/properties/Version",
"type": "string",
"title": "Version",
"description": "The version of the feature evaluation event schema.",
"default": "1.0.0"
},
"VariantAssignmentPercentage": {
"$id": "#/properties/VariantAssignmentPercentage",
"type": "number",
"title": "Variant Assignment Percentage",
"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