Files
codex/codex-rs/app-server-protocol/schema/json/v2/TrackProductAnalyticsEventParams.json
T

57 lines
1.3 KiB
JSON
Generated

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ProductAnalyticsEvent": {
"oneOf": [
{
"properties": {
"action": {
"$ref": "#/definitions/UsageLimitBannerAction"
},
"bannerType": {
"$ref": "#/definitions/UsageLimitBannerType"
},
"type": {
"enum": [
"usageLimitBanner"
],
"title": "UsageLimitBannerProductAnalyticsEventType",
"type": "string"
}
},
"required": [
"action",
"bannerType",
"type"
],
"title": "UsageLimitBannerProductAnalyticsEvent",
"type": "object"
}
]
},
"UsageLimitBannerAction": {
"enum": [
"shown",
"cta_clicked"
],
"type": "string"
},
"UsageLimitBannerType": {
"enum": [
"workspace_member_credits_depleted",
"workspace_member_usage_limit_reached"
],
"type": "string"
}
},
"properties": {
"event": {
"$ref": "#/definitions/ProductAnalyticsEvent"
}
},
"required": [
"event"
],
"title": "TrackProductAnalyticsEventParams",
"type": "object"
}