Last active
July 26, 2022 07:01
-
-
Save splintor/15aaa7028792ee2932503fdf9f14c555 to your computer and use it in GitHub Desktop.
APES - Action Recommendations Schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "initiator": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "initiatorType", | |
| "triggerSchemaParamMapping" | |
| ], | |
| "properties": { | |
| "initiatorType": { | |
| "type": "string", | |
| "enum": [ | |
| "wixApp", | |
| "contact", | |
| "siteMember" | |
| ] | |
| }, | |
| "triggerSchemaParamMapping": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "groupBy": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "groupByFieldKey" | |
| ], | |
| "properties": { | |
| "groupByFieldKey": { | |
| "type": "string" | |
| }, | |
| "mobileSubGroupFieldKey": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "kafkaTopic": { | |
| "type": "string" | |
| }, | |
| "streamBy": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "streamByFieldKey" | |
| ], | |
| "properties": { | |
| "streamByFieldKey": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "singleDeeplink": { | |
| "oneOf": [ | |
| { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "liveSitelink": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "appPageId" | |
| ], | |
| "properties": { | |
| "appPageId": { | |
| "type": "string" | |
| }, | |
| "path": { | |
| "type": "string" | |
| }, | |
| "language": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "value": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "const", | |
| "dynamic" | |
| ] | |
| } | |
| } | |
| }, | |
| "hashFragment": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "value": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "const", | |
| "dynamic" | |
| ] | |
| } | |
| } | |
| }, | |
| "queryParams": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "key", | |
| "value", | |
| "paramType" | |
| ], | |
| "properties": { | |
| "key": { | |
| "type": "string" | |
| }, | |
| "value": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "const", | |
| "dynamic" | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "groupedDeeplink": { | |
| "oneOf": [ | |
| { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "liveSitelink": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "appPageId" | |
| ], | |
| "properties": { | |
| "appPageId": { | |
| "type": "string" | |
| }, | |
| "path": { | |
| "type": "string" | |
| }, | |
| "language": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "value": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "const", | |
| "dynamic" | |
| ] | |
| } | |
| } | |
| }, | |
| "hashFragment": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "value": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "const", | |
| "dynamic" | |
| ] | |
| } | |
| } | |
| }, | |
| "queryParams": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "key", | |
| "value", | |
| "paramType" | |
| ], | |
| "properties": { | |
| "key": { | |
| "type": "string" | |
| }, | |
| "value": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "const", | |
| "dynamic" | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "recipients": { | |
| "oneOf": [ | |
| { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "contacts": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "mappedTriggerParamName", | |
| "paramType" | |
| ], | |
| "properties": { | |
| "mappedTriggerParamName": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "STRING", | |
| "ARRAY" | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "broadcastListsSubscribers": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "audiences" | |
| ], | |
| "properties": { | |
| "execludeRecipientsId": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "mappedTriggerParamName", | |
| "paramType" | |
| ], | |
| "properties": { | |
| "mappedTriggerParamName": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "STRING", | |
| "ARRAY" | |
| ] | |
| } | |
| } | |
| }, | |
| "membersGroups": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "mappedTriggerParamName", | |
| "paramType" | |
| ], | |
| "properties": { | |
| "mappedTriggerParamName": { | |
| "type": "string" | |
| }, | |
| "paramType": { | |
| "type": "string", | |
| "enum": [ | |
| "STRING", | |
| "ARRAY" | |
| ] | |
| } | |
| } | |
| }, | |
| "audiences": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ | |
| "key", | |
| "displayNameTranslationKey", | |
| "descriptionTranslationKey", | |
| "broadcastList" | |
| ], | |
| "properties": { | |
| "key": { | |
| "type": "string" | |
| }, | |
| "displayNameTranslationKey": { | |
| "type": "string" | |
| }, | |
| "descriptionTranslationKey": { | |
| "type": "string" | |
| }, | |
| "broadcastList": { | |
| "type": "string" | |
| }, | |
| "languageMappedTriggerParamName": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment