{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aisle-wedding/json-schema/aisle-wedding-guestbook-entry-result-schema.json",
  "title": "GuestbookEntryResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aisle-wedding-guest-content-api-openapi.yml#/components/schemas/GuestbookEntryResult",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "$ref": "#/$defs/PublicGuestbookEntry"
    }
  },
  "$defs": {
    "PublicGuestbookEntry": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "id",
        "guest_id",
        "message",
        "approved",
        "created_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^gbk_.+$"
        },
        "guest_id": {
          "type": "string",
          "pattern": "^gst_.+$"
        },
        "message": {
          "type": "string"
        },
        "approved": {
          "type": "boolean"
        },
        "created_at": {
          "$ref": "#/$defs/Timestamp"
        }
      }
    },
    "Timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "An RFC 3339 UTC timestamp with milliseconds."
    }
  }
}