{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aisle-wedding/json-schema/aisle-wedding-guest-access-patch-schema.json",
  "title": "GuestAccessPatch",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aisle-wedding-guest-access-api-openapi.yml#/components/schemas/GuestAccessPatch",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120
    },
    "guest_ids": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GuestId"
      },
      "minItems": 1,
      "maxItems": 200,
      "uniqueItems": true
    },
    "expires_at": {
      "oneOf": [
        {
          "$ref": "#/$defs/Timestamp"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [],
  "minProperties": 1,
  "$defs": {
    "GuestId": {
      "type": "string",
      "pattern": "^gst_.+$"
    },
    "Timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "An RFC 3339 UTC timestamp with milliseconds."
    }
  }
}