{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/visio/json-schema/visio-comment-collection-schema.json",
  "title": "CommentCollection",
  "description": "Collection of comments on a shape",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/visio-comments-api-openapi.yml#/components/schemas/CommentCollection",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Comment"
      }
    }
  },
  "$defs": {
    "Comment": {
      "type": "object",
      "description": "A comment associated with a Visio shape",
      "properties": {
        "author": {
          "type": "string",
          "description": "Name of the comment author"
        },
        "date": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the comment was created"
        },
        "text": {
          "type": "string",
          "description": "Content of the comment"
        }
      }
    }
  }
}