{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sewerai/main/json-schema/sewerai-comment-schema.json",
  "title": "Comment",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sewerai-comment-api-openapi.yml#/components/schemas/Comment",
  "required": [
    "note_sid"
  ],
  "type": "object",
  "properties": {
    "sid": {
      "title": "Sid",
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "created": {
      "title": "Created",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by_username": {
      "title": "Created by username",
      "type": "string",
      "readOnly": true,
      "minLength": 1
    },
    "deleted": {
      "title": "Archived",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true
    },
    "picture": {
      "title": "Picture",
      "type": "string",
      "readOnly": true
    },
    "text": {
      "title": "Text",
      "type": [
        "string",
        "null"
      ]
    },
    "note_sid": {
      "title": "Note sid",
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "url": {
      "title": "Url",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "tagged_users": {
      "title": "Tagged users",
      "type": "string",
      "readOnly": true
    },
    "is_editable": {
      "title": "Is editable",
      "type": "string",
      "readOnly": true
    }
  }
}