2023-07-27 07:31:52 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-01-18 14:27:10 +01:00
|
|
|
export const packedUserListSchema = {
|
|
|
|
type: 'object',
|
|
|
|
properties: {
|
|
|
|
id: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: false,
|
|
|
|
format: 'id',
|
|
|
|
example: 'xxxxxxxxxx',
|
|
|
|
},
|
|
|
|
createdAt: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: false,
|
|
|
|
format: 'date-time',
|
|
|
|
},
|
|
|
|
name: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: false,
|
|
|
|
},
|
|
|
|
userIds: {
|
|
|
|
type: 'array',
|
|
|
|
nullable: false, optional: true,
|
|
|
|
items: {
|
|
|
|
type: 'string',
|
|
|
|
nullable: false, optional: false,
|
|
|
|
format: 'id',
|
|
|
|
},
|
|
|
|
},
|
2023-05-19 03:06:12 +02:00
|
|
|
isPublic: {
|
|
|
|
type: 'boolean',
|
|
|
|
nullable: false,
|
|
|
|
optional: false,
|
|
|
|
},
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
} as const;
|