{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buildworkpro-com/json-schema/buildworkpro-com-comment-schema.json",
  "title": "Comment",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/buildworkpro-com-comments-api-openapi.yml#/components/schemas/Comment",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "entityType": {
      "type": "string"
    },
    "entityId": {
      "type": "integer"
    },
    "userId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "content": {
      "type": "string"
    },
    "parentId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "createdAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updatedAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "entityType",
    "entityId",
    "userId",
    "content",
    "parentId",
    "createdAt",
    "updatedAt"
  ]
}