addedOutput schema / oneOf
Added value: +[
+ {
+ "additionalProperties": true,
+ "allOf": [
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_create"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_delete"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_get"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_list"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_preview"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_publish"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_unpublish"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "pages_update"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_check"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_create"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_delete"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_list"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_owner_code"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_transfer_accept"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_transfer_cancel"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_transfer_reject"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "operation": {
+ "const": "subdomains_transfer"
+ }
+ },
+ "required": [
+ "operation"
+ ]
+ },
+ "then": {
+ "additionalProperties": true,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown",
+ "failed",
+ "preview",
+ "confirmation_required"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ }
+ ],
+ "properties": {
+ "operation": {
+ "enum": [
+ "pages_create",
+ "pages_delete",
+ "pages_get",
+ "pages_list",
+ "pages_preview",
+ "pages_publish",
+ "pages_unpublish",
+ "pages_update",
+ "subdomains_check",
+ "subdomains_create",
+ "subdomains_delete",
+ "subdomains_list",
+ "subdomains_owner_code",
+ "subdomains_transfer_accept",
+ "subdomains_transfer_cancel",
+ "subdomains_transfer_reject",
+ "subdomains_transfer"
+ ],
+ "type": "string"
+ },
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "empty",
+ "pending",
+ "unknown"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "presentation"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "operation": {
+ "enum": [
+ "pages_create",
+ "pages_delete",
+ "pages_get",
+ "pages_list",
+ "pages_preview",
+ "pages_publish",
+ "pages_unpublish",
+ "pages_update",
+ "subdomains_check",
+ "subdomains_create",
+ "subdomains_delete",
+ "subdomains_list",
+ "subdomains_owner_code",
+ "subdomains_transfer_accept",
+ "subdomains_transfer_cancel",
+ "subdomains_transfer_reject",
+ "subdomains_transfer"
+ ],
+ "type": "string"
+ },
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "participantCount": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "phone": {
+ "type": "string"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "page": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "preview",
+ "confirmation_required",
+ "failed"
+ ]
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "status",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "presentation"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "error": {
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "error"
+ ],
+ "type": "object"
+ }
+]