PostHog · Schema
ApprovalPolicy
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| action_key | string | |
| conditions | object | |
| approver_config | object | |
| allow_self_approve | boolean | |
| bypass_org_membership_levels | object | |
| bypass_roles | array | |
| expires_after | string | Auto-expire change requests after this duration |
| enabled | boolean | |
| created_by | object | |
| created_at | string | |
| updated_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ApprovalPolicy",
"title": "ApprovalPolicy",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"action_key": {
"type": "string",
"maxLength": 128
},
"conditions": {},
"approver_config": {},
"allow_self_approve": {
"type": "boolean"
},
"bypass_org_membership_levels": {},
"bypass_roles": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"expires_after": {
"type": "string",
"description": "Auto-expire change requests after this duration"
},
"enabled": {
"type": "boolean"
},
"created_by": {
"allOf": [
{
"$ref": "#/components/schemas/UserBasic"
}
],
"readOnly": true
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"updated_at": {
"type": "string",
"format": "date-time",
"readOnly": true,
"nullable": true
}
},
"required": [
"action_key",
"approver_config",
"created_at",
"created_by",
"id",
"updated_at"
]
}