{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bowmark-ai/json-schema/bowmark-ai-saved-script-schema.json",
  "title": "SavedScript",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bowmark-ai-openapi.json#/components/schemas/SavedScript",
  "type": "object",
  "required": [
    "id",
    "name",
    "script",
    "createdAt",
    "updatedAt",
    "run"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "script": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "run": {
      "type": "string",
      "description": "The call that runs it."
    }
  }
}