{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/novu/main/json-schema/novu-topic-response-dto-schema.json",
  "title": "TopicResponseDto",
  "description": "JSON Schema for Novu TopicResponseDto.",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "The identifier of the topic",
      "example": "64da692e9a94fb2e6449ad06"
    },
    "key": {
      "type": "string",
      "description": "The unique key of the topic",
      "example": "product-updates"
    },
    "name": {
      "type": "string",
      "description": "The name of the topic",
      "example": "Product Updates"
    },
    "createdAt": {
      "type": "string",
      "description": "The date the topic was created",
      "example": "2023-08-15T00:00:00.000Z"
    },
    "updatedAt": {
      "type": "string",
      "description": "The date the topic was last updated",
      "example": "2023-08-15T00:00:00.000Z"
    }
  },
  "required": [
    "_id",
    "key"
  ]
}