{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rendry-io/json-schema/rendry-io-cutout-schema.json",
  "title": "Cutout",
  "description": "A cutout saved to the account's files (asset_type image, created_via derived).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rendry-io-images-api-openapi.yml#/components/schemas/Cutout",
  "type": "object",
  "required": [
    "url",
    "storage_key",
    "file_name"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "Absolute URL of the PNG; served to the owner only, like every user asset"
    },
    "storage_key": {
      "type": "string"
    },
    "file_name": {
      "type": "string"
    },
    "hint": {
      "type": "string"
    },
    "evicted_note": {
      "type": "string",
      "description": "Sent when the asset slots were full and the OLDEST previous cutout was removed to make room"
    },
    "image_base64": {
      "type": "string",
      "description": "A JPEG preview of the cutout"
    },
    "mime_type": {
      "type": "string"
    }
  }
}