{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/viridi-parente/main/json-schema/viridi-parente-user-dashboards-info-schema.json",
  "title": "UserDashboardsInfo",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/viridi-parente-user-controller-api-openapi.yml#/components/schemas/UserDashboardsInfo",
  "properties": {
    "last": {
      "type": "array",
      "description": "List of last visited dashboards.",
      "items": {
        "$ref": "#/$defs/LastVisitedDashboardInfo"
      },
      "readOnly": true
    },
    "starred": {
      "type": "array",
      "description": "List of starred dashboards.",
      "items": {
        "$ref": "#/$defs/StarredDashboardInfo"
      },
      "readOnly": true
    }
  },
  "$defs": {
    "LastVisitedDashboardInfo": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "JSON object with Dashboard id.",
          "readOnly": true
        },
        "title": {
          "type": "string",
          "description": "Title of the dashboard."
        },
        "starred": {
          "type": "boolean",
          "description": "Starred flag"
        },
        "lastVisited": {
          "type": "integer",
          "format": "int64",
          "description": "Last visit timestamp"
        }
      }
    },
    "StarredDashboardInfo": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "JSON object with Dashboard id.",
          "readOnly": true
        },
        "title": {
          "type": "string",
          "description": "Title of the dashboard."
        },
        "starredAt": {
          "type": "integer",
          "format": "int64",
          "description": "Starred timestamp"
        }
      }
    }
  }
}