beauty.cybernetic.trustcow.review

trustcow.cybernetic.beauty

Documentation

A review connected to a verified transaction, can only be created by one of the transaction parties

main record

A review connected to a verified transaction, can only be created by one of the transaction parties

Properties

createdAt string datetime Required

When the review was created

description string Optional

The detailed review text

maxLength: 1000 bytes
rating integer Required

Rating score from 1 to 5

minimum: 1maximum: 5
reviewerRole string Optional

Whether this review is from the service provider or consumer

Known values: serviceProvider, serviceConsumer
title string Optional

The title of the review

maxLength: 100 bytes
transaction string Required

AT URI reference to the transaction record (at://did/beauty.cybernetic.trustcow.transaction/rkey)

View raw schema
{
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "transaction",
      "rating",
      "createdAt"
    ],
    "properties": {
      "title": {
        "type": "string",
        "maxLength": 100,
        "description": "The title of the review"
      },
      "rating": {
        "type": "integer",
        "maximum": 5,
        "minimum": 1,
        "description": "Rating score from 1 to 5"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the review was created"
      },
      "description": {
        "type": "string",
        "maxLength": 1000,
        "description": "The detailed review text"
      },
      "transaction": {
        "type": "string",
        "description": "AT URI reference to the transaction record (at://did/beauty.cybernetic.trustcow.transaction/rkey)"
      },
      "reviewerRole": {
        "type": "string",
        "description": "Whether this review is from the service provider or consumer",
        "knownValues": [
          "serviceProvider",
          "serviceConsumer"
        ]
      }
    }
  },
  "description": "A review connected to a verified transaction, can only be created by one of the transaction parties"
}

Lexicon Garden

@