changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "description": "HITL configuration with messaging channels and timeout",
+ "properties": {
+ "channels": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "config": {
+ "additionalProperties": {},
+ "properties": {
+ "chat_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "chat_id"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "telegram",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "config"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "config": {
+ "additionalProperties": {},
+ "properties": {
+ "bsuid": {
+ "type": "string"
+ },
+ "phone_number": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "whatsapp",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "config"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "circle_id": {
+ "description": "Backing Circle for a circle-backed Approvals config (null for channel-list configs)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "environment": {
+ "type": "string"
+ },
+ "id": {
+ "description": "MongoDB ObjectId",
+ "type": "string"
+ },
+ "keypair": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "has_backup_wrapper": {
+ "type": "boolean"
+ },
+ "has_encrypted_private_key": {
+ "type": "boolean"
+ },
+ "has_wrapped_dek": {
+ "type": "boolean"
+ },
+ "kid": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kid",
+ "has_encrypted_private_key",
+ "has_wrapped_dek",
+ "has_backup_wrapper"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Encryption keypair metadata (null if not configured)"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "profile_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Status of a HITL configuration",
+ "type": "string"
+ },
+ "timeout_seconds": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "user_id": {
+ "description": "Owner user ID (useful for SDK encryption AAD)",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "user_id",
+ "channels",
+ "timeout_seconds",
+ "status",
+ "keypair",
+ "environment",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+}