{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-comment-schema.json",
  "title": "Comment",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-comments-api-openapi.yml#/components/schemas/Comment",
  "type": "object",
  "required": [
    "id",
    "body",
    "authorId",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "authorId": {
      "type": "string",
      "description": "The author's user id."
    },
    "authorEmail": {
      "type": "string",
      "description": "For display. Absent when the author's token carried no email."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}