{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revyl/json-schema/revyl-shareable-report-by-session-model-schema.json",
  "title": "ShareableReportBySessionModel",
  "description": "Request model for generating a shareable report link by session_id.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revyl-async-test-report-api-openapi.yml#/components/schemas/ShareableReportBySessionModel",
  "properties": {
    "expiration_hours": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Hours until the link expires. None means never (100 years).",
      "title": "Expiration Hours"
    },
    "origin": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": "https://app.revyl.ai",
      "description": "Origin URL for constructing the shareable link",
      "title": "Origin"
    },
    "session_id": {
      "description": "Device session UUID",
      "format": "uuid",
      "title": "Session Id",
      "type": "string"
    }
  },
  "required": [
    "session_id"
  ],
  "type": "object"
}