{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tinysend-com/json-schema/tinysend-com-automation-schema.json",
  "title": "Automation",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/tinysend-com-v1-openapi.json#/components/schemas/Automation",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "project_id": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "entity_type": {
      "type": "string"
    },
    "entity_id": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "system_prompt": {
      "type": [
        "string",
        "null"
      ]
    },
    "tool_permissions": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "schedule": {
      "type": [
        "string",
        "null"
      ]
    },
    "skills": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "config": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "nullable": true
      }
    },
    "allowed_domains": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "project_id",
    "type",
    "entity_type",
    "entity_id",
    "enabled",
    "name",
    "model",
    "system_prompt",
    "tool_permissions",
    "schedule",
    "skills",
    "config",
    "allowed_domains",
    "created_at",
    "updated_at"
  ]
}