dev.herisson.test.trust.grade

herisson.dev

Documentation

Record declaring a 'grade of trust' a user has for a given identity

main record

Record declaring a 'grade of trust' a user has for a given identity

Record Key any Any valid record key

Properties

comment string Optional

Optional context for the trust grade.

maxLength: 1000 bytes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

grade integer Required

The reputation the account is give. 0 means no trust at all, 100 means complete trust.

minimum: 0maximum: 100
subject string did Required

The account that is being graded.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "createdAt",
      "grade"
    ],
    "properties": {
      "grade": {
        "type": "integer",
        "maximum": 100,
        "minimum": 0,
        "description": "The reputation the account is give. 0 means no trust at all, 100 means complete trust."
      },
      "comment": {
        "type": "string",
        "maxLength": 1000,
        "description": "Optional context for the trust grade."
      },
      "subject": {
        "type": "string",
        "format": "did",
        "description": "The account that is being graded."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "Record declaring a 'grade of trust' a user has for a given identity"
}

Lexicon Garden

@