2022-01-18 22:27:10 +09:00
|
|
|
export const packedEmojiSchema = {
|
|
|
|
type: 'object',
|
|
|
|
properties: {
|
|
|
|
id: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: false,
|
|
|
|
format: 'id',
|
|
|
|
example: 'xxxxxxxxxx',
|
|
|
|
},
|
|
|
|
aliases: {
|
|
|
|
type: 'array',
|
|
|
|
optional: false, nullable: false,
|
|
|
|
items: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: false,
|
|
|
|
format: 'id',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
name: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: false,
|
|
|
|
},
|
|
|
|
category: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: true,
|
|
|
|
},
|
|
|
|
host: {
|
|
|
|
type: 'string',
|
|
|
|
optional: false, nullable: true,
|
2022-04-03 13:57:26 +09:00
|
|
|
description: 'The local host is represented with `null`.',
|
2022-01-18 22:27:10 +09:00
|
|
|
},
|
|
|
|
url: {
|
|
|
|
type: 'string',
|
2022-12-29 10:14:44 +09:00
|
|
|
optional: true, nullable: false,
|
2022-01-18 22:27:10 +09:00
|
|
|
},
|
|
|
|
},
|
|
|
|
} as const;
|