syntax = "proto3"; import "google/protobuf/struct.proto"; import "google/protobuf/wrappers.proto"; import "context.proto"; option csharp_namespace = "SquaredUp.Dashboard.Schema"; package squaredup; //------------------------------------------------------------------------------------- // // Image and diagram tiles // //------------------------------------------------------------------------------------- // tile/image message ImageTileConfig { CommonContext context = 1; ImageTileConfig_Display display = 2; // Generally empty (source: {}) // // Unlike other tiles, the scope ends up in context for this tile google.protobuf.Value source = 3; } message ImageTileConfig_Display { double size = 1; // Relative URL of the image (relative to the host) string src = 2; // e.g. circle string shape = 3; // Can be name, path, custom string label = 4; // Custom label template, if supplied string custom_label = 5; // e.g. 'column' string zoom = 6; } message ImageTileConfig_Scope { // Group ID of the scope string group_id = 1; // Multiple specific object IDs repeated string object_ids = 2; // A specific class ID string classId = 3; // Criteria (such as severity) string criteria = 4; }