Input schema
{
"type": "object",
"properties": {
"age": {
"type": "integer",
"minimum": 1,
"maximum": 14,
"description": "The birthday child's age in years (barnets alder)."
},
"guests": {
"type": "integer",
"minimum": 1,
"maximum": 40,
"description": "Number of child guests attending (antall barn)."
},
"adults": {
"type": "integer",
"minimum": 0,
"maximum": 20,
"description": "Accompanying adults who stay and also eat (voksne). Defaults to the current value."
},
"type": {
"type": "string",
"enum": [
"hjemme",
"barnehage"
],
"description": "Where the party is held: 'hjemme' (at home) or 'barnehage' (kindergarten). Defaults to the current value."
},
"duration": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Party length in hours (varighet). Defaults to the current value."
},
"mainDish": {
"type": "string",
"enum": [
"polser",
"pizza"
],
"description": "Main dish: 'polser' (hot dogs) or 'pizza'. Defaults to the current value."
},
"breadRatio": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Percent of the bread that is soft potato lompe; the rest is hot-dog buns. Only relevant when mainDish is polser. Defaults to the current value."
},
"allergies": {
"type": "object",
"description": "Number of child guests with each dietary restriction. Omit a key when no guest has that restriction.",
"properties": {
"gluten": {
"type": "integer",
"minimum": 0,
"description": "Child guests with gluten allergy."
},
"melk": {
"type": "integer",
"minimum": 0,
"description": "Child guests with milk allergy."
},
"egg": {
"type": "integer",
"minimum": 0,
"description": "Child guests with egg allergy."
},
"nott": {
"type": "integer",
"minimum": 0,
"description": "Child guests with nut allergy."
},
"svin": {
"type": "integer",
"minimum": 0,
"description": "Child guests who do not eat pork."
}
},
"additionalProperties": false
}
},
"required": [
"age",
"guests"
],
"additionalProperties": false
}