changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "changes": {
- "additionalProperties": false,
- "properties": {
- "active_element": {
- "anyOf": [
- {
- "additionalProperties": true,
- "properties": {
- "selector": {
- "type": "string"
- },
- "tag": {
- "type": "string"
- },
- "text": {
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "appeared_texts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "console_errors_added": {
- "type": "integer"
- },
- "console_warnings_added": {
- "type": "integer"
- },
- "counts_after": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "counts_before": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "counts_delta": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "new_console_messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "column": {
- "type": "integer"
- },
- "index": {
- "type": "integer"
- },
- "level": {
- "type": "string"
- },
- "line": {
- "type": "integer"
- },
- "source": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "index",
- "level",
- "text",
- "url",
- "line",
- "column",
- "source"
- ],
- "title": "ConsoleLog",
- "type": "object"
- },
- "type": "array"
- },
- "ready_state": {
- "type": "string"
- },
- "removed_texts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "title_after": {
- "type": "string"
- },
- "title_before": {
- "type": "string"
- },
- "title_changed": {
- "type": "boolean"
- },
- "url_after": {
- "type": "string"
- },
- "url_before": {
- "type": "string"
- },
- "url_changed": {
- "type": "boolean"
- }
- },
- "required": [
- "url_before",
- "url_after",
- "url_changed",
- "title_before",
- "title_after",
- "title_changed",
- "ready_state",
- "counts_before",
- "counts_after",
- "counts_delta",
- "appeared_texts",
- "removed_texts",
- "active_element",
- "console_errors_added",
- "console_warnings_added",
- "new_console_messages"
- ],
- "title": "PageObservationChanges",
- "type": "object"
- },
- "locator": {
- "type": "string"
- },
- "selector": {
- "type": "string"
- },
- "selector_normalized": {
- "type": "boolean"
- },
- "selector_strategy": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "selector",
- "locator",
- "selector_strategy",
- "selector_normalized",
- "url"
- ],
- "title": "ElementClickData",
- "type": "object"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "const": true
- }
- },
- "required": [
- "ok",
- "message",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": true,
- "type": "object"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "details": {
- "additionalProperties": true,
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "const": false
- }
- },
- "required": [
- "ok",
- "message",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "button": {
+ "enum": [
+ "left",
+ "right",
+ "middle"
+ ],
+ "title": "Button",
+ "type": "string"
+ },
+ "changes": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Changes"
+ },
+ "click_count": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "title": "Click Count",
+ "type": "integer"
+ },
+ "locator": {
+ "title": "Locator",
+ "type": "string"
+ },
+ "selector": {
+ "title": "Selector",
+ "type": "string"
+ },
+ "selector_normalized": {
+ "title": "Selector Normalized",
+ "type": "boolean"
+ },
+ "selector_strategy": {
+ "title": "Selector Strategy",
+ "type": "string"
+ },
+ "url": {
+ "title": "Url",
+ "type": "string"
+ }
+ },
+ "required": [
+ "selector",
+ "locator",
+ "selector_strategy",
+ "selector_normalized",
+ "url",
+ "button",
+ "click_count"
+ ],
+ "title": "ElementClickData",
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "const": true
+ }
+ },
+ "required": [
+ "ok",
+ "message",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "details": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "message",
+ "error"
+ ],
+ "type": "object"
+ }
+]