{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/made-app/json-schema/made-app-model-schema.json",
  "title": "Model",
  "description": "A catalog entry. Besides the fields below it carries the options the model takes: `durations`, `aspectRatios`, `resolutions` (or `costPerSecondByResolution`), `qualities`, `imageSizes`, `mediaRoles`, `requiredMedia`, `allowedParams` and `audioPricing`, where they apply.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/made-app-openapi.json#/components/schemas/Model",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "id",
    "name",
    "kind",
    "pricing"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "image",
        "video",
        "audio"
      ]
    },
    "pricingModel": {
      "type": "string"
    },
    "pricing": {
      "type": "object",
      "additionalProperties": true,
      "description": "`display` is the price in words. Numeric fields here whose names contain `credits` count cents (100 per dollar, so 50 is 5 credits); POST /v1/cost gives the exact price of a request.",
      "properties": {
        "display": {
          "type": "string"
        }
      }
    }
  }
}