Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
export const packedBiteSchema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
id: {
|
||||
type: "string",
|
||||
format: "id",
|
||||
optional: false,
|
||||
nullable: false
|
||||
},
|
||||
user: {
|
||||
type: "object",
|
||||
ref: "UserLite"
|
||||
},
|
||||
targetType: {
|
||||
type: "string",
|
||||
enum: [
|
||||
"user",
|
||||
"bite",
|
||||
"note"
|
||||
]
|
||||
},
|
||||
target: {
|
||||
oneOf: [
|
||||
{
|
||||
type: "object",
|
||||
ref: "UserLite"
|
||||
},
|
||||
{
|
||||
type: "object",
|
||||
ref: "Bite"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user