2022-01-18 14:27:10 +01:00
|
|
|
export const packedEmojiSchema = {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "object",
|
2022-01-18 14:27:10 +01:00
|
|
|
properties: {
|
|
|
|
id: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
|
|
|
format: "id",
|
|
|
|
example: "xxxxxxxxxx",
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
aliases: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "array",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
items: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
|
|
|
format: "id",
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
name: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
category: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: true,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
host: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: true,
|
|
|
|
description: "The local host is represented with `null`.",
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
url: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
2023-03-19 08:22:28 +01:00
|
|
|
license: {
|
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: true,
|
|
|
|
},
|
2023-05-20 04:26:13 +02:00
|
|
|
width: {
|
|
|
|
type: "number",
|
|
|
|
optional: false,
|
|
|
|
nullable: true,
|
|
|
|
},
|
|
|
|
height: {
|
|
|
|
type: "number",
|
|
|
|
optional: false,
|
|
|
|
nullable: true,
|
|
|
|
},
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
} as const;
|