Schema for Stitch Shadowfax Event Properties (Stitch)

From ShadowfaxEventProperties.schema.yaml (stitch/ShadowfaxEventProperties.schema)

---
$id: https://skeleton.botmd.io/stitch/ShadowfaxEventProperties.schema
$schema: http://json-schema.org/draft-07/schema#

title: Shadowfax Event Properties (Stitch)
description: Stitch specific Shadowfax user properties.

oneOf:
  - $ref: "#/definitions/Stitch Download"

definitions:
  Stitch Download:
    type: object
    required: [event_type, link_id, provider]
    additionalProperties: true

    properties:
      event_type:
        title: Event Type
        enum: [Stitch Download]

      link_id:
        title: Link ID
        type: string
        minLength: 1

      source_url:
        title: Source URL
        type: string
        minLength: 1

      mime_type:
        title: MIME Type
        type: string
        minLength: 1

      provider:
        title: Provider Key
        description: Stitch provider key.
        type: string
        minLength: 1
    #end properties
  #end Stitch Download
#end definitions

[Main Page] [Schema Documentation] [Examples]