garden.lexicon.avid-antelope-359377.rate
A rating of a subject in response to a prompt, answered on the scale the prompt is bound to.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | avid-antelope-359377.lexicon.garden |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A rating of a subject in response to a prompt, answered on the scale the prompt is bound to.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"prompt": {
"description": "Pointer to a community.lexicon.rating.prompt record. The prompt's scale defines the valid values for this rating.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"subject": {
"description": "The thing being rated: an ATProto record (via strongRef), an ATProto identity (via DID), or an external URI (website, document, etc).",
"refs": [
"com.atproto.repo.strongRef",
"#subjectDid",
"#subjectUri"
],
"type": "union"
},
"value": {
"description": "The chosen value, typed to match the code of the scale referenced by the prompt.",
"refs": [
"garden.lexicon.avid-antelope-359377.scale#nominalValue",
"garden.lexicon.avid-antelope-359377.scale#ordinalValue",
"garden.lexicon.avid-antelope-359377.scale#intervalValue",
"garden.lexicon.avid-antelope-359377.scale#ratioValue"
],
"type": "union"
}
},
"required": [
"subject",
"prompt",
"value",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"subjectDid": {
"description": "An ATProto identity as a whole (account, labeler, feed generator service, etc.), not any particular public or permissioned repo belonging to it.",
"properties": {
"did": {
"description": "The DID of the identity being rated.",
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
},
"subjectUri": {
"properties": {
"uri": {
"description": "A URI pointing to an external resource (website, document, etc).",
"format": "uri",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"id": "garden.lexicon.avid-antelope-359377.rate",
"lexicon": 1
}