at.functions.recipe

A recipe — invented on the spot to prove AT Search can index a lexicon it has never seen.

Details · record, key any
Kindrecord
Record keyany
Authorityfunctions.at
Indexed
cid bafyreidv3uaoe6gf4bhxreax5lrklgdvy5aybehr2wn5llh7vzjark3mby

Checks

Valid
  • unlimited-string defs.main.record.properties.ingredients.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.tags.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A recipe — invented on the spot to prove AT Search can index a lexicon it has never seen.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "ingredients": {
            "description": "Ingredient list",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sourceUrl": {
            "format": "uri",
            "type": "string"
          },
          "steps": {
            "description": "How to make it",
            "maxLength": 20000,
            "type": "string"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "description": "Name of the dish",
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "title",
          "steps"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.functions.recipe",
  "lexicon": 1
}