{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seekrit-dev/json-schema/seekrit-dev-post-v1-agents-automations-request-schema.json",
  "title": "PostV1AgentsAutomationsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/seekrit-dev-docs-openapi-generated.yml#/components/schemas/PostV1AgentsAutomationsRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "expression": {
      "type": "string"
    },
    "timezone": {
      "type": "string"
    },
    "target": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "agent_id": {
          "type": "string"
        },
        "environment": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            }
          }
        },
        "input": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string"
              },
              "content": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}