36 lines
647 B
TypeScript
36 lines
647 B
TypeScript
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,
|
|
},
|
|
url: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
},
|
|
},
|
|
} as const;
|