summaryrefslogtreecommitdiff
path: root/src/services/chart/charts/schemas/active-users.ts
blob: da8c63389c80c6d3ea602197a9bfc567ee062724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
export const logSchema = {
	/**
	 * アクティブユーザー数
	 */
	count: {
		type: 'number' as 'number',
		description: 'アクティブユーザー数',
	},
};

/**
 * アクティブユーザーに関するチャート
 */
export const schema = {
	type: 'object' as 'object',
	properties: {
		local: {
			type: 'object' as 'object',
			properties: logSchema
		},
		remote: {
			type: 'object' as 'object',
			properties: logSchema
		},
	}
};

export const name = 'activeUsers';