io.kich.recipe.review

Record key is the recipe's rkey for one-review-per-user-per-recipe; pass recipeId as rkey

Repository @kich.io did:plc:uxjwdy4wvuridijisalvxlxe namespace authority
Details · record, key any
Kindrecord
Record keyany
Authorityrecipe.kich.io
Indexed
cid bafyreigmos3rs2xtk6fvptazpkovoq4vdly7vb6q522c7yvcrk4luxvv4q

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record key is the recipe's rkey for one-review-per-user-per-recipe; pass recipeId as rkey",
      "key": "any",
      "record": {
        "properties": {
          "comment": {
            "description": "Optional review comment in GitHub-flavored markdown",
            "maxLength": 10000,
            "type": "string"
          },
          "createdAt": {
            "description": "When this review was created",
            "format": "datetime",
            "type": "string"
          },
          "rating": {
            "description": "Star rating as integer 1-5 (1=1 star, 5=5 stars)",
            "maximum": 5,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "description": "Reference to the recipe being reviewed",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "updatedAt": {
            "description": "When this review was last updated",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "rating",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Record declaring a review (rating and optional comment) of a recipe. One review per user per recipe.",
  "id": "io.kich.recipe.review",
  "lexicon": 1
}