changedInput schema / properties / change / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "profile_update",
- "type": "string"
- },
- "changes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "clear": {
- "description": "Required to clear a field (value null).",
- "type": "boolean"
- },
- "field": {
- "enum": [
- "title",
- "description",
- "phone",
- "website",
- "address",
- "regularHours",
- "specialHours",
- "primaryCategory",
- "serviceItems",
- "openStatus"
- ],
- "type": "string"
- },
- "value": {
- "description": "The exact value to publish. Hours: [{day:\"MONDAY\",open:\"09:00\",close:\"17:00\"}]. Address: {regionCode:\"IN\",addressLines:[...],locality,administrativeArea,postalCode}. Category: {name:\"categories/gcid:...\"} from the category search. null clears (needs clear:true)."
- }
- },
- "required": [
- "field"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "action",
- "changes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "attributes_update",
- "type": "string"
- },
- "changes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "description": "attributes/{id} as get_google_industry_details lists it",
- "type": "string"
- },
- "setValues": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "unsetValues": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "uris": {
- "items": {
- "format": "uri",
- "type": "string"
- },
- "type": "array"
- },
- "values": {
- "items": {},
- "type": "array"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "action",
- "changes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "place_action_create",
- "type": "string"
- },
- "isPreferred": {
- "type": "boolean"
- },
- "placeActionType": {
- "description": "One of the types the location offers (get_google_industry_details).",
- "type": "string"
- },
- "uri": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "action",
- "uri",
- "placeActionType"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "place_action_delete",
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "action",
- "name"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "food_menus_update",
- "type": "string"
- },
- "menus": {
- "description": "Google FoodMenus.menus, complete (replaces the menu).",
- "items": {},
- "type": "array"
- }
- },
- "required": [
- "action",
- "menus"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "lodging_update",
- "type": "string"
- },
- "values": {
- "additionalProperties": {},
- "description": "Top-level lodging groups to replace, e.g. {policies:{...}}.",
- "type": "object"
- }
- },
- "required": [
- "action",
- "values"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "review_reply",
- "type": "string"
- },
- "reviewId": {
- "description": "The Google review id (review_id from list_google_reviews).",
- "type": "string"
- },
- "text": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "reviewId",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "review_reply_delete",
- "type": "string"
- },
- "reviewId": {
- "type": "string"
- }
- },
- "required": [
- "action",
- "reviewId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "photo_upload",
- "type": "string"
- },
- "category": {
- "enum": [
- "COVER",
- "PROFILE",
- "LOGO",
- "EXTERIOR",
- "INTERIOR",
- "PRODUCT",
- "AT_WORK",
- "FOOD_AND_DRINK",
- "MENU",
- "COMMON_AREA",
- "ROOMS",
- "TEAMS",
- "ADDITIONAL"
- ],
- "type": "string"
- },
- "sourceUrl": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "action",
- "sourceUrl"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "photo_delete",
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "action",
- "name"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "profile_update",
+ "type": "string"
+ },
+ "changes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "clear": {
+ "description": "Required to clear a field (value null).",
+ "type": "boolean"
+ },
+ "field": {
+ "enum": [
+ "title",
+ "description",
+ "phone",
+ "website",
+ "address",
+ "regularHours",
+ "specialHours",
+ "primaryCategory",
+ "serviceItems",
+ "openStatus"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "The exact value to publish. Hours: [{day:\"MONDAY\",open:\"09:00\",close:\"17:00\"}]. Address: {regionCode:\"IN\",addressLines:[...],locality,administrativeArea,postalCode}. Category: {name:\"categories/gcid:...\"} from the category search. null clears (needs clear:true)."
+ }
+ },
+ "required": [
+ "field"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "attributes_update",
+ "type": "string"
+ },
+ "changes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "description": "attributes/{id} as get_google_industry_details lists it",
+ "type": "string"
+ },
+ "setValues": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "unsetValues": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "uris": {
+ "items": {
+ "format": "uri",
+ "pattern": "^https:\\/\\/",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "values": {
+ "items": {},
+ "type": "array"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "place_action_create",
+ "type": "string"
+ },
+ "isPreferred": {
+ "type": "boolean"
+ },
+ "placeActionType": {
+ "description": "One of the types the location offers (get_google_industry_details).",
+ "type": "string"
+ },
+ "uri": {
+ "$ref": "#/properties/change/anyOf/1/properties/changes/items/properties/uris/items"
+ }
+ },
+ "required": [
+ "action",
+ "uri",
+ "placeActionType"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "place_action_update",
+ "type": "string"
+ },
+ "isPreferred": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "placeActionType": {
+ "type": "string"
+ },
+ "uri": {
+ "$ref": "#/properties/change/anyOf/1/properties/changes/items/properties/uris/items"
+ }
+ },
+ "required": [
+ "action",
+ "name",
+ "uri",
+ "placeActionType"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "place_action_delete",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "food_menus_update",
+ "type": "string"
+ },
+ "menus": {
+ "description": "Google FoodMenus.menus, complete (replaces the menu).",
+ "items": {},
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "menus"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "lodging_update",
+ "type": "string"
+ },
+ "values": {
+ "additionalProperties": {},
+ "description": "Top-level lodging groups to replace, e.g. {policies:{...}}.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "action",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "review_reply",
+ "type": "string"
+ },
+ "reviewId": {
+ "description": "The Google review id (review_id from list_google_reviews).",
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "reviewId",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "review_reply_delete",
+ "type": "string"
+ },
+ "reviewId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "reviewId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "photo_upload",
+ "type": "string"
+ },
+ "category": {
+ "enum": [
+ "COVER",
+ "PROFILE",
+ "LOGO",
+ "EXTERIOR",
+ "INTERIOR",
+ "PRODUCT",
+ "AT_WORK",
+ "FOOD_AND_DRINK",
+ "MENU",
+ "COMMON_AREA",
+ "ROOMS",
+ "TEAMS",
+ "ADDITIONAL"
+ ],
+ "type": "string"
+ },
+ "sourceUrl": {
+ "$ref": "#/properties/change/anyOf/1/properties/changes/items/properties/uris/items"
+ }
+ },
+ "required": [
+ "action",
+ "sourceUrl"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "photo_delete",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "video_upload",
+ "type": "string"
+ },
+ "sourceUrl": {
+ "description": "Public HTTPS video URL from the owner’s library or upload. Adds a listing-gallery video, not a local post.",
+ "format": "uri",
+ "pattern": "^https:\\/\\/",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "sourceUrl"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "media_delete",
+ "type": "string"
+ },
+ "name": {
+ "description": "Owner media resource from get_google_media, never customer media.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "name"
+ ],
+ "type": "object"
+ }
+]