{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/goodeye-dev/json-schema/goodeye-dev-run-verifier-body-schema.json",
  "title": "_RunVerifierBody",
  "description": "Request body for ``POST /verifiers/{verifier_id}/runs``.\n\n``inputs`` keys must match the version's ``input_fields`` exactly.\n``media_url`` is required for ``text_image`` and ``image`` contracts, and\nrejected for ``text``. Caller-shape errors return 400 with no run row\nwritten; judge runtime errors return 201 with ``status=\"error\"``.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/goodeye-dev-openapi.json#/components/schemas/_RunVerifierBody",
  "properties": {
    "version": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Version",
      "description": "Pin to a specific verifier version; defaults to the current version."
    },
    "inputs": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Inputs",
      "description": "Map keyed by the version's ``input_fields``. Keys must match the deployed list exactly; values must be non-empty strings."
    },
    "media_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Media Url",
      "description": "Public HTTPS image URL. Required for ``text_image`` and ``image`` contracts, rejected for ``text``."
    },
    "skill_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Skill Id",
      "description": "Optional skill UUID for provenance. Access-checked: a skill the caller cannot see surfaces as 404."
    },
    "skill_version": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Skill Version",
      "description": "Skill version invoking this run, paired with ``skill_id``."
    },
    "skill_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Skill Ref",
      "description": "Free-form skill label (slug, name) for human-readable provenance."
    },
    "run_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Run Id",
      "description": "Optional caller-supplied correlation ID stamped onto the run row."
    }
  },
  "type": "object"
}