{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-activity-entry-schema-schema.json",
  "title": "ActivityEntrySchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-activity-api-openapi.yml#/components/schemas/ActivityEntrySchema",
  "properties": {
    "user_id": {
      "type": "integer",
      "title": "User Id"
    },
    "username": {
      "type": "string",
      "title": "Username"
    },
    "avatar_path": {
      "type": "string",
      "title": "Avatar Path"
    },
    "rom_id": {
      "type": "integer",
      "title": "Rom Id"
    },
    "rom_name": {
      "type": "string",
      "title": "Rom Name"
    },
    "rom_cover_path": {
      "type": "string",
      "title": "Rom Cover Path",
      "default": ""
    },
    "screenshot_path": {
      "type": "string",
      "title": "Screenshot Path",
      "default": ""
    },
    "platform_slug": {
      "type": "string",
      "title": "Platform Slug"
    },
    "platform_name": {
      "type": "string",
      "title": "Platform Name"
    },
    "device_id": {
      "type": "string",
      "title": "Device Id"
    },
    "device_type": {
      "type": "string",
      "title": "Device Type"
    },
    "started_at": {
      "type": "string",
      "title": "Started At"
    }
  },
  "type": "object",
  "required": [
    "user_id",
    "username",
    "avatar_path",
    "rom_id",
    "rom_name",
    "platform_slug",
    "platform_name",
    "device_id",
    "device_type",
    "started_at"
  ]
}