34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:RsvpAction",
|
|
"title": "RsvpAction",
|
|
"description": "The act of notifying an event organizer as to whether you expect to attend the event.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "The act of notifying someone of information pertinent to them, with no expectation of a response.",
|
|
"$ref": "schema:InformAction"
|
|
}
|
|
],
|
|
"properties": {
|
|
"additionalNumberOfGuests": {
|
|
"description": "If responding yes, the number of guests who will attend in addition to the invitee.",
|
|
"oneOf": [
|
|
{ "type": "number" },
|
|
{ "type": "array", "items": { "type": "number" } }
|
|
]
|
|
},
|
|
"comment": {
|
|
"description": "Comments, typically from users.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:Comment" },
|
|
{ "type": "array", "items": { "$ref": "schema:Comment" } }
|
|
]
|
|
},
|
|
"rsvpResponse": {
|
|
"description": "The response (yes, no, maybe) to the RSVP.",
|
|
"$ref": "schema:RsvpResponseType"
|
|
}
|
|
}
|
|
}
|