{
  "lexicon": 1,
  "id": "net.bisks.hyperobject.cast",
  "defs": {
    "main": {
      "type": "record",
      "description": "A direct cast into the pit, written only by isolyth.dev to her own repo — casting is instant and permanent, no review needed. src/index.ts's /api/cast reads this record back off isolyth.dev's own PDS (rejecting any other author) before applying it to the shared, KV-backed pit that every visitor sees. Read by hyperobject (https://hyperobject.bisks.net).",
      "key": "tid",
      "record": {
        "type": "object",
        "required": ["subject", "createdAt"],
        "properties": {
          "subject": {
            "type": "string",
            "format": "did",
            "description": "DID of the account cast into the pit."
          },
          "note": {
            "type": "string",
            "maxLength": 1000,
            "maxGraphemes": 300,
            "description": "Optional free-text note entered alongside the cast."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the cast happened, as an ISO 8601 datetime."
          }
        }
      }
    }
  }
}
