Formasty · Schema

DraftMutationResponse

Updated draft fragment with draft_revision and draft_updated_at.

Lead QualificationFormsArtificial IntelligenceAutomationSoftware-as-a-Service

Properties

Name Type Description
ok boolean
step object
steps array
field object
fields array
logic object
rule object
quiz object
screen object
theme object
asset object
attached boolean
deleted_step_id string
deleted_field_id string
deleted_screen_id string
draft_revision integer
draft_updated_at integer
View JSON Schema on GitHub

JSON Schema

formasty-com-draft-mutation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/formasty-com/json-schema/formasty-com-draft-mutation-response-schema.json",
  "title": "DraftMutationResponse",
  "description": "Updated draft fragment with draft_revision and draft_updated_at.",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/formasty-com-openapi.json#/components/schemas/DraftMutationResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "draft_revision",
    "draft_updated_at"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "step": {
      "type": "object",
      "additionalProperties": true
    },
    "steps": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OrderedItem"
      }
    },
    "field": {
      "type": "object",
      "additionalProperties": true
    },
    "fields": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OrderedItem"
      }
    },
    "logic": {
      "type": "object",
      "additionalProperties": true
    },
    "rule": {
      "oneOf": [
        {
          "$ref": "#/$defs/WorkflowRule"
        },
        {
          "type": "null"
        }
      ]
    },
    "quiz": {
      "oneOf": [
        {
          "$ref": "#/$defs/QuizConfig"
        },
        {
          "type": "null"
        }
      ]
    },
    "screen": {
      "$ref": "#/$defs/ThankYouScreen"
    },
    "theme": {
      "type": "object",
      "additionalProperties": true
    },
    "asset": {
      "$ref": "#/$defs/GeneratedImageAsset"
    },
    "attached": {
      "type": "boolean"
    },
    "deleted_step_id": {
      "type": "string"
    },
    "deleted_field_id": {
      "type": "string"
    },
    "deleted_screen_id": {
      "type": "string"
    },
    "draft_revision": {
      "type": "integer",
      "minimum": 0
    },
    "draft_updated_at": {
      "type": "integer"
    }
  },
  "$defs": {
    "GeneratedImageAsset": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "id",
        "url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "contentType": {
          "type": "string"
        },
        "size": {
          "type": "integer"
        }
      }
    },
    "OrderedItem": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "id",
        "position"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "position": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "QuizConfig": {
      "type": "object",
      "additionalProperties": true,
      "description": "Builder-compatible quiz config. Supports match/personality quizzes and score quizzes.",
      "required": [
        "type",
        "enabled"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "match",
            "score"
          ]
        },
        "mode": {
          "type": "string",
          "enum": [
            "match",
            "personality"
          ]
        },
        "enabled": {
          "type": "boolean"
        },
        "endings": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "mappings": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "qualification": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    "ThankYouScreen": {
      "type": "object",
      "additionalProperties": true,
      "description": "Builder-compatible additional ending screen presentation payload.",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "buttonLabel": {
          "type": "string"
        },
        "buttonUrl": {
          "type": "string"
        },
        "mediaUrl": {
          "type": "string"
        },
        "backgroundImageUrl": {
          "type": "string"
        }
      }
    },
    "WorkflowRule": {
      "type": "object",
      "additionalProperties": true,
      "description": "Builder-compatible workflow rule. Supports step routes, thank-you routes, and workflow variable actions.",
      "required": [
        "id",
        "source"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "source": {
          "type": "object",
          "additionalProperties": true,
          "required": [
            "stepId"
          ],
          "properties": {
            "stepId": {
              "type": "string"
            }
          }
        },
        "conditions": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "thenAction": {
          "type": "object",
          "additionalProperties": true
        },
        "enabled": {
          "type": "boolean"
        },
        "priority": {
          "type": "integer"
        }
      }
    }
  }
}

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/formasty-com-draft-mutation-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. See our Privacy Policy and Terms.

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