{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/studio99-app/json-schema/studio99-app-library-download-schema.json",
  "title": "LibraryDownload",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/studio99-app-openapi.json#/components/schemas/LibraryDownload",
  "type": "object",
  "properties": {
    "downloadUrl": {
      "type": "string",
      "format": "uri"
    },
    "format": {
      "type": "string",
      "enum": [
        "PNG",
        "JPG",
        "SVG"
      ]
    },
    "pricingTier": {
      "type": "string"
    },
    "fileSize": {
      "type": [
        "integer",
        "null"
      ]
    },
    "width": {
      "type": [
        "integer",
        "null"
      ]
    },
    "height": {
      "type": [
        "integer",
        "null"
      ]
    },
    "availableFormats": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "canRenderSvg": {
      "type": "boolean"
    },
    "expiresIn": {
      "type": "integer",
      "description": "Seconds until the URL expires (300)."
    }
  },
  "required": [
    "downloadUrl",
    "format",
    "expiresIn"
  ]
}