{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rendobar-com/json-schema/rendobar-com-gen-model-schema.json",
  "title": "GenModel",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rendobar-com-openapi.json#/components/schemas/GenModel",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Model identifier — pass as params.model"
    },
    "jobs": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Job types this model supports"
    },
    "tier": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "economy",
        "standard",
        "premium",
        null
      ],
      "description": "Pricing/quality tier alias, or null for a model with no tier alias"
    },
    "underReview": {
      "type": "boolean",
      "description": "True while this model is pulled from tier resolution pending a cost/quality re-evaluation. Still listed for transparency, but submitting it (even by exact id) is rejected."
    },
    "priceTier": {
      "type": "string",
      "enum": [
        "$",
        "$$",
        "$$$",
        "$$$$"
      ],
      "description": "Relative price, cheapest ($) to priciest ($$$$). Not a dollar estimate."
    },
    "maxRefImages": {
      "type": "integer",
      "description": "Max reference images accepted (0 for generate-only models)"
    },
    "steps": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "default": {
          "type": "integer"
        },
        "min": {
          "type": "integer"
        },
        "max": {
          "type": "integer"
        }
      },
      "required": [
        "default",
        "min",
        "max"
      ],
      "description": "Denoising step range, or null when the model has a fixed step count"
    },
    "supports": {
      "type": "object",
      "properties": {
        "negativePrompt": {
          "type": "boolean"
        },
        "guidance": {
          "type": "boolean"
        }
      },
      "required": [
        "negativePrompt",
        "guidance"
      ]
    },
    "enhanceDefault": {
      "type": "boolean",
      "description": "Whether prompt enhancement defaults to on for this model"
    },
    "status": {
      "type": "string",
      "enum": [
        "active"
      ],
      "description": "Model availability status"
    }
  },
  "required": [
    "id",
    "jobs",
    "tier",
    "underReview",
    "priceTier",
    "maxRefImages",
    "steps",
    "supports",
    "enhanceDefault",
    "status"
  ]
}