{
  "defs": {
    "main": {
      "description": "Record declaring a subscription to a publication.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "publication": {
            "description": "AT-URI reference to the publication record being subscribed to (ex: at://did:plc:abc123/site.standard.publication/xyz789).",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": ["publication"],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "site.standard.graph.subscription",
  "lexicon": 1
}
