{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/treg-to/json-schema/treg-to-run-in-schema.json",
  "title": "RunIn",
  "description": "A dry run of a folder: the four files plus the inputs. Nothing is stored; every step is\nreal and charged to the maker (`treg hub run .`).",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/treg-to-openapi.json#/components/schemas/RunIn",
  "properties": {
    "manifest": {
      "additionalProperties": true,
      "type": "object",
      "title": "Manifest"
    },
    "script": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200000
        },
        {
          "type": "null"
        }
      ],
      "title": "Script"
    },
    "check": {
      "additionalProperties": true,
      "type": "object",
      "title": "Check"
    },
    "readme": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 1,
      "title": "Readme"
    },
    "data": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50000000
        },
        {
          "type": "null"
        }
      ],
      "title": "Data"
    },
    "inputs": {
      "additionalProperties": true,
      "type": "object",
      "title": "Inputs"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "manifest",
    "check",
    "readme"
  ]
}