{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aisle-wedding/json-schema/aisle-wedding-registry-summary-result-schema.json",
  "title": "RegistrySummaryResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aisle-wedding-registry-api-openapi.yml#/components/schemas/RegistrySummaryResult",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "$ref": "#/$defs/PublicRegistrySummary"
    }
  },
  "$defs": {
    "PublicRegistrySummary": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "goal_amount",
        "received_amount",
        "gift_count",
        "unattributed_amount",
        "unattributed_gift_count"
      ],
      "properties": {
        "goal_amount": {
          "type": "string",
          "pattern": "^\\d+(?:\\.\\d{1,2})?$",
          "description": "A decimal currency amount. It is serialized as a string."
        },
        "received_amount": {
          "type": "string",
          "pattern": "^\\d+(?:\\.\\d{1,2})?$",
          "description": "A decimal currency amount. It is serialized as a string."
        },
        "gift_count": {
          "type": "integer"
        },
        "unattributed_amount": {
          "type": "string",
          "pattern": "^\\d+(?:\\.\\d{1,2})?$",
          "description": "A decimal currency amount. It is serialized as a string."
        },
        "unattributed_gift_count": {
          "type": "integer"
        }
      }
    }
  }
}