addedInput schema / $defs / CreateIngredientFood / properties / substitutions
Added value: +{
+ "items": {
+ "$ref": "#/$defs/CreateIngredientFoodSubstitution"
+ },
+ "type": "array"
+}
addedInput schema / $defs / CreateIngredientFoodSubstitution
Added value: +{
+ "properties": {
+ "note": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "substituteFoodId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+}
addedInput schema / $defs / IngredientFood-Input / properties / substitutions
Added value: +{
+ "items": {
+ "$ref": "#/$defs/IngredientFoodSubstitution"
+ },
+ "type": "array"
+}
addedInput schema / $defs / IngredientFoodSubstitution
Added value: +{
+ "properties": {
+ "note": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "substituteFood": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/IngredientFoodSummary"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "substituteFoodId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+}
addedInput schema / $defs / IngredientFoodSummary
Added value: +{
+ "description": "A trimmed projection of a food, with nothing on it that can recurse.\n\nSubstitutions reference this rather than the full IngredientFood, which would make\nPydantic walk food -> substitutions -> food forever and generate an equally circular\nTypeScript type.",
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "pluralName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+}
addedInput schema / $defs / NoteReference
Added value: +{
+ "properties": {
+ "referenceId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+}
addedInput schema / $defs / RecipeIngredient-Input / properties / substitutions
Added value: +{
+ "items": {
+ "$ref": "#/$defs/RecipeIngredientSubstitution"
+ },
+ "type": "array"
+}
addedInput schema / $defs / RecipeIngredientSubstitution
Added value: +{
+ "properties": {
+ "note": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "substituteFood": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/IngredientFoodSummary"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "substituteFoodId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+}
addedInput schema / $defs / RecipeNote / properties / referenceId
Added value: +{
+ "format": "uuid",
+ "type": "string"
+}
addedInput schema / $defs / RecipeStep / properties / noteReferences
Added value: +{
+ "items": {
+ "$ref": "#/$defs/NoteReference"
+ },
+ "type": "array"
+}