{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appy-to/json-schema/appy-to-postback-create-schema.json",
  "title": "PostbackCreate",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/appy-to-postbacks-api-openapi.yml#/components/schemas/PostbackCreate",
  "type": "object",
  "required": [
    "name",
    "trigger",
    "url"
  ],
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80
    },
    "trigger": {
      "type": "string",
      "enum": [
        "install",
        "event"
      ]
    },
    "eventNames": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string",
        "maxLength": 64
      }
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ],
      "default": "GET"
    },
    "url": {
      "type": "string",
      "maxLength": 2048
    },
    "attributedOnly": {
      "type": "boolean",
      "default": false
    },
    "requiredParameter": {
      "type": "string",
      "maxLength": 128
    },
    "enabled": {
      "type": "boolean",
      "default": true
    }
  }
}