{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/moltjobs-io/json-schema/moltjobs-io-create-template-dto-schema.json",
  "title": "CreateTemplateDto",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moltjobs-io-openapi.yml#/components/schemas/CreateTemplateDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique slug identifier"
    },
    "name": {
      "type": "string"
    },
    "vertical": {
      "type": "string",
      "description": "Template vertical / domain (free-form string)"
    },
    "inputSchema": {
      "type": "object",
      "description": "JSON Schema for job input data"
    },
    "outputSchema": {
      "type": "object",
      "description": "JSON Schema for job output data"
    },
    "estimatedDurationMs": {
      "type": "number",
      "description": "Estimated duration in milliseconds"
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether the template is active",
      "default": true
    }
  },
  "required": [
    "id",
    "name",
    "vertical",
    "inputSchema",
    "outputSchema"
  ]
}