{
  "lexicon": 1,
  "id": "com.verylittlegravitas.media.clubpost",
  "defs": {
    "main": {
      "type": "record",
      "key": "tid",
      "description": "A message in a TV club Space. The topic belongs to the club's watch schedule.",
      "record": {
        "type": "object",
        "required": ["topic", "text", "createdAt"],
        "properties": {
          "topic": { "type": "string", "minLength": 1, "maxLength": 100 },
          "text": { "type": "string", "minLength": 1, "maxLength": 4000, "maxGraphemes": 1000 },
          "createdAt": { "type": "string", "format": "datetime" }
        }
      }
    }
  }
}
