exchange.recipe.recipe

recipe.exchange

Documentation

A complete recipe with all its components.

main record

A complete recipe with all its components.

Record Key tid Timestamp-based ID

Properties

cookTime string duration Optional

Time required for cooking

cookingMethod string Optional

Method of cooking (e.g., baking, grilling)

Known values: exchange.recipe.defs#cookingMethod
createdAt string datetime Required

Timestamp when this recipe was created

ingredients array of string Required

List of ingredients and their measurements

instructions array of string Required

Step by step cooking instructions

keywords array of string Optional

Tags describing the recipe

name string Required

The name of the recipe

maxLength: 255 bytes
nutrition object Optional

Nutritional information

prepTime string duration Optional

Time required for preparation

recipeCategory string Optional

Category of recipe (e.g., appetizer, main course)

Known values: exchange.recipe.defs#recipeCategory
recipeCuisine string Optional

Cuisine type (e.g., Italian, Mexican)

Known values: exchange.recipe.defs#recipeCuisine
recipeYield string Optional

Number of servings or yield

suitableForDiet array of string Optional

Dietary restrictions this recipe is suitable for

text string Required

A description of the recipe

maxLength: 3000 bytes
totalTime string duration Optional

Total time required

updatedAt string datetime Required

Timestamp when this recipe was last updated

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "text",
      "ingredients",
      "instructions",
      "createdAt",
      "updatedAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 255,
        "description": "The name of the recipe"
      },
      "text": {
        "type": "string",
        "maxLength": 3000,
        "description": "A description of the recipe"
      },
      "embed": {
        "ref": "#imagesEmbed",
        "type": "ref"
      },
      "cookTime": {
        "type": "string",
        "format": "duration",
        "description": "Time required for cooking"
      },
      "keywords": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 64
        },
        "description": "Tags describing the recipe"
      },
      "prepTime": {
        "type": "string",
        "format": "duration",
        "description": "Time required for preparation"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when this recipe was created"
      },
      "nutrition": {
        "type": "object",
        "properties": {
          "calories": {
            "type": "integer"
          },
          "fatContent": {
            "type": "number"
          },
          "proteinContent": {
            "type": "number"
          },
          "carbohydrateContent": {
            "type": "number"
          }
        },
        "description": "Nutritional information"
      },
      "totalTime": {
        "type": "string",
        "format": "duration",
        "description": "Total time required"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when this recipe was last updated"
      },
      "attribution": {
        "refs": [
          "exchange.recipe.defs#attributionOriginal",
          "exchange.recipe.defs#attributionPerson",
          "exchange.recipe.defs#attributionPublication",
          "exchange.recipe.defs#attributionWebsite",
          "exchange.recipe.defs#attributionShow",
          "exchange.recipe.defs#attributionProduct"
        ],
        "type": "union"
      },
      "ingredients": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 500
        },
        "description": "List of ingredients and their measurements"
      },
      "recipeYield": {
        "type": "string",
        "description": "Number of servings or yield"
      },
      "instructions": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 1000
        },
        "description": "Step by step cooking instructions"
      },
      "cookingMethod": {
        "type": "string",
        "description": "Method of cooking (e.g., baking, grilling)",
        "knownValues": [
          "exchange.recipe.defs#cookingMethod"
        ]
      },
      "recipeCuisine": {
        "type": "string",
        "description": "Cuisine type (e.g., Italian, Mexican)",
        "knownValues": [
          "exchange.recipe.defs#recipeCuisine"
        ]
      },
      "recipeCategory": {
        "type": "string",
        "description": "Category of recipe (e.g., appetizer, main course)",
        "knownValues": [
          "exchange.recipe.defs#recipeCategory"
        ]
      },
      "suitableForDiet": {
        "type": "array",
        "items": {
          "type": "string",
          "knownValues": [
            "exchange.recipe.defs#diet"
          ]
        },
        "description": "Dietary restrictions this recipe is suitable for"
      }
    }
  },
  "description": "A complete recipe with all its components."
}
image object

No description available.

Properties

alt string Required

Alt text description of the image, for accessibility.

image blob Required

No description available.

maxSize: 1.0 MB
View raw schema
{
  "type": "object",
  "required": [
    "image",
    "alt"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "description": "Alt text description of the image, for accessibility."
    },
    "image": {
      "type": "blob",
      "accept": [
        "image/*"
      ],
      "maxSize": 1000000
    },
    "aspectRatio": {
      "ref": "app.bsky.embed.defs#aspectRatio",
      "type": "ref"
    }
  }
}
imagesEmbed object

No description available.

Properties

images array of ref#image Required

No description available.

maxLength: 4 items
View raw schema
{
  "type": "object",
  "required": [
    "images"
  ],
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "ref": "#image",
        "type": "ref"
      },
      "maxLength": 4
    }
  }
}
view object

No description available.

Properties

images array of ref#viewImage Required

No description available.

maxLength: 4 items
View raw schema
{
  "type": "object",
  "required": [
    "images"
  ],
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "ref": "#viewImage",
        "type": "ref"
      },
      "maxLength": 4
    }
  }
}
viewImage object

No description available.

Properties

alt string Required

Alt text description of the image, for accessibility.

fullsize string uri Required

URL for full size version of the image. CDN location provided by recipe.exchange.

thumb string uri Required

URL for thumbnail version of the image. CDN location provided by recipe.exchange.

View raw schema
{
  "type": "object",
  "required": [
    "thumb",
    "fullsize",
    "alt"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "description": "Alt text description of the image, for accessibility."
    },
    "thumb": {
      "type": "string",
      "format": "uri",
      "description": "URL for thumbnail version of the image. CDN location provided by recipe.exchange."
    },
    "fullsize": {
      "type": "string",
      "format": "uri",
      "description": "URL for full size version of the image. CDN location provided by recipe.exchange."
    },
    "aspectRatio": {
      "ref": "app.bsky.embed.defs#aspectRatio",
      "type": "ref"
    }
  }
}

Lexicon Garden

@