31 lines
501 B
TypeScript
31 lines
501 B
TypeScript
export const packedBlockingSchema = {
|
|
type: "object",
|
|
properties: {
|
|
id: {
|
|
type: "string",
|
|
optional: false,
|
|
nullable: false,
|
|
format: "id",
|
|
example: "xxxxxxxxxx",
|
|
},
|
|
createdAt: {
|
|
type: "string",
|
|
optional: false,
|
|
nullable: false,
|
|
format: "date-time",
|
|
},
|
|
blockeeId: {
|
|
type: "string",
|
|
optional: false,
|
|
nullable: false,
|
|
format: "id",
|
|
},
|
|
blockee: {
|
|
type: "object",
|
|
optional: false,
|
|
nullable: false,
|
|
ref: "UserDetailed",
|
|
},
|
|
},
|
|
} as const;
|