{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/portant-co/json-schema/portant-co-post-v0-workflows-response-schema.json",
  "title": "PostV0WorkflowsResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/portant-co-openapi-generated.yml#/components/schemas/PostV0WorkflowsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "icon": {
      "type": "string"
    },
    "color": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "autoCreate": {
      "type": "boolean"
    },
    "owner": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "team": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "sourceType": {
          "type": "string"
        },
        "sourceFields": {
          "type": "array",
          "items": {}
        },
        "webhookUrl": {
          "type": "string"
        }
      }
    },
    "documents": {
      "type": "array",
      "items": {}
    },
    "outgoingWebhook": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdByApi": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}