private UnionSchema(List<Schema> schemas) : base(Type.UNION) { if (schemas.Count == 0) { throw new ArgumentNullException("Union members cannot be null or empty"); } this.schemas = schemas; }