{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/govir-app/json-schema/govir-app-get-api-v1-media-from-url-response-schema.json",
  "title": "GetApiV1MediaFromUrlResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/govir-app-openapi-generated.yml#/components/schemas/GetApiV1MediaFromUrlResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Media identifier."
    },
    "kind": {
      "type": "string",
      "description": "Type of media (e.g., \"image\")."
    },
    "status": {
      "type": "string",
      "description": "Current status (e.g., \"ready\")."
    },
    "error_code": {
      "type": "string",
      "description": "Error code if processing failed."
    },
    "url": {
      "type": "string",
      "description": "URL to access the media."
    },
    "mime": {
      "type": "string",
      "description": "MIME type of the media."
    },
    "size": {
      "type": "integer",
      "description": "Size in bytes."
    },
    "width": {
      "type": "integer",
      "description": "Width in pixels (for images)."
    },
    "height": {
      "type": "integer",
      "description": "Height in pixels (for images)."
    },
    "duration_ms": {
      "type": "integer",
      "description": "Duration in milliseconds (for videos)."
    }
  }
}