doc update
This commit is contained in:
@ -240,6 +240,7 @@ For example, given a general `attachment` table containing a `kind` column (e.g.
|
|||||||
"type": "attachment",
|
"type": "attachment",
|
||||||
"properties": {
|
"properties": {
|
||||||
"kind": {
|
"kind": {
|
||||||
|
"type": "string",
|
||||||
"const": "cover"
|
"const": "cover"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -252,10 +253,7 @@ A parent entity can then define a relationship using this constrained schema und
|
|||||||
"cover_attachment": {
|
"cover_attachment": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"cover_attachment": {
|
"cover_attachment": {
|
||||||
"type": [
|
"type": "cover.attachment"
|
||||||
"cover.attachment",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user