addedInput schema / properties / people
Added value: +{
+ "description": "people at the table with a role and what applies to them alone: 'Sam, our kid, can't have berries' is people=[{name:'Sam', role:'kid', add_allergens:['berries']}]; what everyone avoids goes on the household lists instead. Each entry changes only that person and only the fields passed",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "add_allergens": {
+ "description": "ingredients this person cannot eat; excluded whenever they are eating",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "add_dislikes": {
+ "description": "ingredients this person avoids by taste; excluded whenever they are eating",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "add_likes": {
+ "description": "what this person loves; read, never filtered",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "name": {
+ "description": "the person's name as the user says it, e.g. 'Sam' or 'Dad'; matched case-insensitively, created on first use",
+ "type": "string"
+ },
+ "remove_allergens": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "remove_dislikes": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "remove_likes": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "role": {
+ "description": "one word for who they are at the table, e.g. 'kid', 'adult', 'parent', 'guest'; who on a search accepts a role as well as a name, so 'the kids are out' is who=['adults']; empty string clears it",
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+}
addedInput schema / properties / remove_people
Added value: +{
+ "description": "names to take off the profile",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+}
addedOutput schema / properties / people
Added value: +{
+ "items": {
+ "properties": {
+ "allergens": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "dislikes": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "likes": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "role",
+ "allergens",
+ "dislikes",
+ "likes"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+}
changedOutput schema / required
Previous value: -[
- "set",
- "diets",
- "allergens",
- "dislikes",
- "likes",
- "cuisines"
-]New value: +[
+ "set",
+ "diets",
+ "allergens",
+ "dislikes",
+ "likes",
+ "cuisines",
+ "people"
+]