Railhook · Schema

TransformationResponse

A reusable transformation: one mapping, pointed at by any number of subscriptions and destinations

CompanyWebhookOpen SourceSelf-Hosted

Properties

Name Type Description
id string
projectId string
name string Unique within the project
description string What it does and when to use it
template string The transformation itself: a JSON document with ${$.jsonpath} expressions when `kind` is TEMPLATE, or a JavaScript `function handler(webhook)` when it is JAVASCRIPT
kind string The language `template` is written in. Every transformation created before JavaScript existed is TEMPLATE, and none were migrated.
version integer Incremented every time the template or the language changes. Each value is a row in the version history, and can be read back and restored.
enabled boolean A disabled transformation cannot be assigned, and a delivery already pointed at one fails rather than sending the untransformed payload
subscriptionCount integer How many subscriptions point at this transformation
destinationCount integer How many incoming destinations point at this transformation
createdAt string
updatedAt string
View JSON Schema on GitHub

JSON Schema

railhook-io-transformation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/railhook-io/json-schema/railhook-io-transformation-response-schema.json",
  "title": "TransformationResponse",
  "description": "A reusable transformation: one mapping, pointed at by any number of subscriptions and destinations",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/railhook-io-openapi.yml#/components/schemas/TransformationResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "projectId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "description": "Unique within the project"
    },
    "description": {
      "type": "string",
      "description": "What it does and when to use it"
    },
    "template": {
      "type": "string",
      "description": "The transformation itself: a JSON document with ${$.jsonpath} expressions when `kind` is TEMPLATE, or a JavaScript `function handler(webhook)` when it is JAVASCRIPT"
    },
    "kind": {
      "type": "string",
      "description": "The language `template` is written in. Every transformation created before JavaScript existed is TEMPLATE, and none were migrated.",
      "enum": [
        "TEMPLATE",
        "JAVASCRIPT"
      ]
    },
    "version": {
      "type": "integer",
      "format": "int32",
      "description": "Incremented every time the template or the language changes. Each value is a row in the version history, and can be read back and restored."
    },
    "enabled": {
      "type": "boolean",
      "description": "A disabled transformation cannot be assigned, and a delivery already pointed at one fails rather than sending the untransformed payload"
    },
    "subscriptionCount": {
      "type": "integer",
      "format": "int64",
      "description": "How many subscriptions point at this transformation"
    },
    "destinationCount": {
      "type": "integer",
      "format": "int64",
      "description": "How many incoming destinations point at this transformation"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/railhook-io-transformation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.