garden.lexicon.dazzling-boarfish.rating.rate

tynanpurdy.com

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Optional

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "tid",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "prompt": {
        "description": "Pointer to a community.lexicon.rating.prompt record.",
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "scale": {
        "description": "Pointer to a canonical community.lexicon.rating.scale record.",
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "subject": {
        "description": "The thing being rated: either an ATProto record (via strongRef) or an external URI (website, document, etc).",
        "refs": [
          "com.atproto.repo.strongRef",
          "#subjectUri"
        ],
        "type": "union"
      },
      "value": {
        "description": "The chosen value, typed to match the referenced scale's code.",
        "refs": [
          "garden.lexicon.dazzling-boarfish.rating.scale#nominalValue",
          "garden.lexicon.dazzling-boarfish.rating.scale#ordinalValue",
          "garden.lexicon.dazzling-boarfish.rating.scale#intervalValue",
          "garden.lexicon.dazzling-boarfish.rating.scale#ratioValue"
        ],
        "type": "union"
      }
    },
    "required": [
      "subject",
      "scale",
      "prompt",
      "value"
    ],
    "type": "object"
  },
  "type": "record"
}
subjectUri object

No description available.

Properties

uri string uri Required

A URI pointing to an external resource (website, document, etc).

maxLength: 2048 bytes
View raw schema
{
  "properties": {
    "uri": {
      "description": "A URI pointing to an external resource (website, document, etc).",
      "format": "uri",
      "maxLength": 2048,
      "type": "string"
    }
  },
  "required": [
    "uri"
  ],
  "type": "object"
}

Lexicon Garden

@