keitaro-api-skill/references/schemas/Stream.yaml

59 lines
962 B
YAML

type: object
properties:
id:
type: integer
type:
type: string
name:
type: string
campaign_id:
type: integer
format: int32
position:
type: integer
format: int32
weight:
type: number
action_options:
type: object
comments:
type: string
state:
type: string
updated_at:
type: string
action_type:
type: string
action_payload:
oneOf:
- type: string
- type: object
schema:
type: string
collect_clicks:
type: boolean
filter_or:
type: boolean
filters:
type: array
items:
$ref: ../schemas/Filter.yaml
triggers:
type: array
items:
$ref: ../schemas/Trigger.yaml
landings:
type: array
items:
$ref: ../schemas/LandingStream.yaml
offers:
type: array
items:
$ref: ../schemas/OfferStream.yaml
offer_selection:
type: string
enum:
- before_click
- after_click
default: before_click